uniapp-cloud
When to use this skill
Use this skill whenever the user wants to:
- Use uniCloud cloud development services
- Work with cloud databases (add, query, update, delete data)
- Create and deploy cloud functions
- Use cloud storage for file uploads and management
- Implement datacom components for data binding
- Integrate backend services with uni-app
- Set up uniCloud project and configuration
- Handle cloud database permissions and security
How to use this skill
This skill is organized to match the official uniCloud documentation:
-
Start with setup and project configuration:
examples/guide/intro.mdexamples/guide/project-setup.mdexamples/guide/cloud-space.md
-
Choose the cloud capability:
- Database →
examples/database/ - Cloud functions →
examples/functions/ - Storage →
examples/storage/ - Datacom →
examples/datacom/ - Security/permission →
examples/security/
- Database →
-
Open the API reference:
api/cloud-api.md
Important Notes:
- This skill focuses on uniCloud integration and usage, not general backend frameworks
- Each example includes official documentation URL
- Follow official permission and security guidance for production
Examples and Templates
Examples
Located in examples/:
- guide/ - Intro, project setup, cloud space creation
- database/ - CRUD, query, index, permissions
- functions/ - Function structure, deploy, call
- storage/ - Upload, download, delete
- datacom/ - datacom components and binding
- security/ - permissions and security rules
Best Practices
- Security: Always set proper database permissions and rules
- Performance: Use indexes for frequently queried fields
- Cost: Optimize cloud function execution time
- Error handling: Implement proper error handling for all cloud operations
- Data validation: Validate data before saving to database
Resources
- Official Documentation: https://doc.dcloud.net.cn/uniCloud/
- Cloud Database: https://doc.dcloud.net.cn/uniCloud/database.html
- Cloud Functions: https://doc.dcloud.net.cn/uniCloud/cf-functions.html
- Cloud Storage: https://doc.dcloud.net.cn/uniCloud/storage.html
Keywords
unicloud, uniCloud, cloud development, cloud database, cloud functions, cloud storage, datacom, 云开发, 云数据库, 云函数, 云存储
More from teachingai/agent-skills
element-plus-vue3
Provides comprehensive guidance for Element Plus Vue 3 component library including installation, components, themes, internationalization, and API reference. Use when the user asks about Element Plus for Vue 3, needs to build Vue 3 applications with Element Plus, or customize component styles.
9vue2
Provides comprehensive guidance for Vue 2.x development including Options API, components, directives, lifecycle hooks, computed properties, watchers, Vuex state management, and Vue Router. Use when the user asks about Vue 2, needs to create Vue 2 components, implement reactive data binding, handle component communication, or work with Vue 2 ecosystem tools.
8cypress
Provides comprehensive guidance for Cypress end-to-end testing including commands, assertions, component testing, CI/CD integration, and best practices. Use when the user asks about Cypress, needs to write E2E tests, component tests, or configure Cypress for testing.
8cocos2d-x
Provides comprehensive guidance for Cocos2d-x v4 game engine including scene graph, nodes, sprites, actions, animations, physics, rendering, shaders, and platform deployment. Use when the user asks about Cocos2d-x, needs to create games, implement game features, set up development environments, or deploy games to multiple platforms.
7dalle
Provides comprehensive guidance for DALL-E AI image generation including prompt creation, image generation, variations, and editing. Use when the user asks about DALL-E, needs to generate AI images, create image variations, or work with DALL-E API.
6uniapp-mini-guide
A comprehensive skill for uni-app mini program development. Use when building uni-app mini programs, configuring mini program settings, or working with mini program components and APIs based on the official native support docs.
6