uniapp-native-plugin

A comprehensive skill for developing native plugins for uni-app. Use this skill when building Android/iOS native plugins, integrating native capabilities, or publishing plugins based on official native plugin docs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uniapp-native-plugin" with this command: npx skills add teachingai/full-stack-skills/teachingai-full-stack-skills-uniapp-native-plugin

When to use this skill

Use this skill whenever the user wants to:

  • Develop native Android plugins
  • Develop native iOS plugins
  • Integrate native functionality into uni-app
  • Create custom native modules
  • Extend uni-app with native capabilities
  • Handle native plugin communication
  • Package and distribute native plugins

How to use this skill

To develop native plugins:

  1. Identify the platform from the user's request:

    • Android → Use Android plugin examples
    • iOS → Use iOS plugin examples
  2. Load the appropriate example file from the examples/ directory:

    • examples/guide/ - Native plugin development guide
    • examples/android-plugin/ - Android plugin examples
    • examples/ios-plugin/ - iOS plugin examples
  3. Load the appropriate template from the templates/ directory:

    • templates/plugin-template.md - Plugin development templates
  4. Follow the specific instructions in those files for development

Examples and Templates

Examples

Located in examples/:

  • guide/ - Native plugin development guide
  • android-plugin/ - Android plugin development examples
  • ios-plugin/ - iOS plugin development examples

Templates

Located in templates/:

  • plugin-template.md - Plugin development templates

Best Practices

  1. Follow platform guidelines: Adhere to Android and iOS development standards
  2. Error handling: Implement proper error handling and logging
  3. Documentation: Provide clear documentation for plugin usage
  4. Testing: Test plugins thoroughly on real devices

Resources

Keywords

native plugin, 原生插件, Android插件, iOS插件, plugin development, native module

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

java-code-comments

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-actions

No summary provided by upstream source.

Repository SourceNeeds Review
General

electron

No summary provided by upstream source.

Repository SourceNeeds Review