home / skills / partme-ai / full-stack-skills / uniapp-mini
This skill helps you build uni-app mini programs and configure settings by guiding component usage, API references, and platform compatibility.
npx playbooks add skill partme-ai/full-stack-skills --skill uniapp-miniReview the files below or copy the command above to add this skill to your agents.
---
name: uniapp-mini-guide
description: 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.
license: Complete terms in LICENSE.txt
---
## When to use this skill
Use this skill whenever the user wants to:
- Build uni-app mini programs
- Configure mini program settings and capabilities
- Use mini program components and APIs within uni-app
- Understand native mini program limitations and compatibility
## How to use this skill
1. **Start with the overview**:
- `examples/guide/intro.md`
2. **Configure mini program settings**:
- `examples/guide/config.md`
3. **Check component and API references**:
- `examples/components/overview.md`
- `examples/api/overview.md`
## Examples and Templates
- `examples/guide/intro.md` - Mini program overview
- `examples/guide/config.md` - Configuration and capability setup
- `examples/components/overview.md` - Component references and usage
- `examples/api/overview.md` - API references and usage
## Best Practices
1. Follow mini program platform requirements and audits
2. Keep package size small and optimize assets
3. Validate API compatibility per platform
4. Use conditional compilation for platform-specific code
## Resources
- https://nativesupport.dcloud.net.cn/
## Keywords
uniapp, uni-app, mini program, 小程序, native support, components, api, 平台兼容
This skill provides a comprehensive guide for building uni-app mini programs, covering configuration, components, and platform API compatibility. It is designed to speed up development and reduce platform-specific issues by consolidating official native support guidance into practical recommendations. Use it to make reliable, small, and audit-ready mini programs across multiple platforms.
The skill inspects common mini program development areas: project configuration, capability declarations, component usage, and API compatibility across target platforms. It maps recommended settings and conditional compilation strategies to minimize platform-specific bugs and package size. The output includes concise configuration steps, component usage patterns, and API checks to validate native support and limitations.
Does this skill cover platform-specific API differences?
Yes. It highlights native API limitations per platform and recommends compatibility checks and fallbacks.
Can I use one codebase for multiple mini program platforms?
Yes. The skill promotes conditional compilation and platform-aware configuration so a single uni-app codebase can target multiple mini program platforms.