About uniapp-cloud
A uniCloud skill for uni-app developers, covering project setup and cloud database, function, and storage workflows. It also includes datacom guidance and security practices.
Key features
- 01uniCloud project setup guidance
- 02Cloud database CRUD and queries
- 03Create, deploy, and call cloud functions
- 04Cloud storage file management
- 05datacom components and data binding
- 06Permission rules and security guidance
Use cases
- 01Configure uniCloud for a uni-app project
- 02Perform database CRUD and configure indexes
- 03Deploy cloud functions and call them from an app
- 04Implement file transfers and permission controls
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ full-stack-skills/ uniapp-skills --skill uniapp-cloudAfter installing, type/uniapp-cloudin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
LICENSE.txtagents/openai.yamlapi/cloud-api.mdexamples/database/crud.mdindexes.mdpermissions.mdquery.mdexamples/datacom/intro.mdexamples/functions/call-function.mdcreate-function.mdexamples/guide/cloud-space.mdintro.mdproject-setup.mdexamples/security/rules.mdexamples/storage/delete.mddownload.mdupload.mdDetails
From the project READMEWhen 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, 云开发, 云数据库, 云函数, 云存储
Comments
Markdown supported