home / skills / partme-ai / full-stack-skills / uniapp-plugin

uniapp-plugin skill

/skills/uniapp-plugin

This skill helps you discover, install, configure, and manage uni-app plugins from the official market, auto-integrating third-party plugins into projects.

npx playbooks add skill partme-ai/full-stack-skills --skill uniapp-plugin

Review the files below or copy the command above to add this skill to your agents.

Files (9)
SKILL.md
2.3 KB
---
name: uniapp-plugin
description: A comprehensive skill for the uni-app plugin market and automatic plugin installation. Use this skill to browse plugins, auto-install plugins, configure plugin settings, and integrate third-party plugins based on the official plugin market docs.
license: Complete terms in LICENSE.txt
---

## When to use this skill

Use this skill whenever the user wants to:
- Use plugins from the uni-app plugin market
- Automatically install plugins into projects
- Configure plugin settings
- Integrate third-party plugins
- Handle plugin dependencies
- Update and manage plugins
- Work with different plugin types (components, APIs, templates, etc.)

## How to use this skill

To use plugins:

1. **Identify the plugin type** from the user's request:
   - Component plugins → Use component plugin examples
   - API plugins → Use API plugin examples
   - Template plugins → Use template plugin examples

2. **Load the appropriate example file** from the `examples/` directory:
   - `examples/guide/` - Plugin usage guide
   - `examples/plugin-types/` - Different plugin type examples
   - `examples/installation/` - Plugin installation methods

3. **Load the appropriate template** from the `templates/` directory:
   - `templates/plugin-usage.md` - Plugin usage templates

4. **Follow the specific instructions** in those files for plugin integration

## Examples and Templates

### Examples

Located in `examples/`:

- **guide/** - Plugin usage guide and best practices
- **plugin-types/** - Different plugin type examples
- **installation/** - Plugin installation methods and examples

### Templates

Located in `templates/`:

- **plugin-usage.md** - Plugin usage templates and examples

## Best Practices

1. **Choose reliable plugins**: Use plugins from trusted sources
2. **Check compatibility**: Ensure plugin compatibility with your uni-app version
3. **Read documentation**: Always read plugin documentation before use
4. **Update regularly**: Keep plugins updated to latest versions
5. **Handle dependencies**: Manage plugin dependencies properly

## Resources

- **Plugin Market**: https://ext.dcloud.net.cn/
- **Official Documentation**: https://uniapp.dcloud.net.cn/plugin/

## Keywords

plugin market, 插件市场, uni-app plugin, 插件安装, plugin integration, 插件使用

Overview

This skill provides a complete interface to the uni-app plugin market and automates plugin installation and configuration. It helps you discover, install, update, and integrate plugins (components, APIs, templates) into uni-app projects. Use it to manage dependencies and apply best-practice settings for stable integration.

How this skill works

The skill inspects user requests to determine plugin type and intent, then locates relevant plugin entries in the uni-app plugin market. It can automatically install selected plugins into a project, adjust configuration files, and wire up example usage based on available templates. The skill also validates compatibility with the project's uni-app version and flags dependency issues.

When to use it

  • Browse or search the uni-app plugin market for capabilities you need
  • Automatically install plugins into an existing uni-app project
  • Configure plugin settings and integrate usage examples into your codebase
  • Resolve and manage plugin dependencies and version conflicts
  • Update installed plugins and review compatibility notes
  • Integrate third-party plugins following official market guidance

Best practices

  • Prefer plugins from trusted or well-documented sources
  • Verify plugin compatibility with your uni-app SDK and target platforms before install
  • Read and follow plugin documentation and example usage patterns
  • Pin plugin versions and test updates in a staging branch before production
  • Manage plugin dependencies explicitly to avoid conflicts during builds

Example use cases

  • Install a UI component plugin and inject example markup and styling into a project
  • Add an API plugin and scaffold authentication and request usage according to the plugin guide
  • Integrate a template plugin to bootstrap a new page or feature with example files
  • Automatically detect incompatible plugin versions and suggest upgrade or rollback steps
  • Batch-install multiple plugins and update project config to register them

FAQ

Can the skill automatically resolve dependency conflicts?

It detects and reports dependency conflicts and will suggest compatible versions or rollback options, but manual review is recommended for complex conflicts.

Does it support all plugin types from the uni-app market?

Yes. It handles components, APIs, templates and other common plugin types, and applies type-specific integration steps.

Will it modify my project files automatically?

Yes, it can modify configuration and scaffold example usage. It is best to run changes in a branch or with version control so you can review modifications.