Agent skill

uni-app Native Plugin Development

by feige996 in feige996/unibest

“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…”

— description from SKILL.md by feige996
MITAuto-check passedMobile

Install uni-app Native Plugin Development

skills CLI
$ npx skills add feige996/unibest --skill uniapp-native-plugin -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install feige996/unibest uniapp-native-plugin --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/feige996/unibest.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/bak-skills/uniapp-native-plugin .claude/skills/uniapp-native-plugin && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
uniapp-native-plugin
GitHub stars
2.3k
Token cost
~659 tokens
SKILL.md length
249 words
Files
10
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 5 steps: 环境准备 → 配置初始化 → 核心功能使用 → …
  • SKILL.md covers When to use this skill, How to use this skill, Examples and Templates and Best Practices, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

“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.”

— description from SKILL.md by feige996

uni-app Native Plugin Development is a skill in feige996/unibest (2.3k stars). Its SKILL.md is about 659 tokens, with 9 other files in the folder. Licence: MIT.

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 环境准备
  2. 配置初始化
  3. 核心功能使用
  4. 测试验证
  5. 部署上线

What it can do on your machine

Read from SKILL.md and the folder at commit dc3af8d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • nativesupport.dcloud.net.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

uni-app Native Plugin Development loads about 659 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~659

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from feige996/unibest at commit dc3af8d, republished under its MIT licence (© feige996). 249 words, ~659 tokens.

Download SKILL.mdSave it as .claude/skills/uniapp-native-plugin/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
uniapp-native-plugin
description
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.
license
Complete terms in LICENSE.txt

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

能力边界

✅ 适用场景
  • 当你需要使用此技能对应的技术栈时
  • 当项目需要遵循最佳实践时
  • 当需要快速上手或深入理解核心概念时
⚠️ 需要注意
  • 复杂业务逻辑需要结合具体场景调整
  • 性能优化需要根据实际数据量评估
❌ 不适用场景
  • 不相关的技术栈或框架
  • 需要完全自定义的特殊场景

常见陷阱 (Gotchas)

  1. 版本兼容性:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异
  2. 配置文件格式:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查
  3. 环境变量:确保所有必要的环境变量已正确设置,敏感信息不要硬编码
  4. 依赖冲突:多版本共存时注意依赖冲突,使用 lock 文件锁定版本
  5. 性能陷阱:大数据量场景下注意性能优化,避免 N+1 查询等常见问题

使用流程

Step 1: 环境准备

确保开发环境已安装必要的依赖和工具。

Step 2: 配置初始化

根据项目需求进行基础配置。

Step 3: 核心功能使用

按照示例代码实现核心功能。

Step 4: 测试验证

运行测试确保功能正常。

Step 5: 部署上线

完成开发后进行部署和监控。

© feige996, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files in .agents/bak-skills/uniapp-native-plugin of feige996/unibest.

  • SKILL.md
  • LICENSE.txt
  • examples/android-plugin/native-api.md
  • examples/android-plugin/project-setup.md
  • examples/guide/bridge.md
  • examples/guide/intro.md
  • examples/guide/structure.md
  • examples/ios-plugin/native-api.md
  • examples/ios-plugin/project-setup.md
  • templates/plugin-template.md

Open the folder on GitHubat commit dc3af8d

Compare with similar skills

uni-app Native Plugin Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

uni-app Native Plugin Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
uni-app Native Plugin Development this skillfeige996/unibest2.3k—~659Automated safety check: PassMIT
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Simulator Audio E2Ehyochan/react-native-nitro-sound961—~1.1kAutomated safety check: PassMIT
Expo UIarcboxlabs/linkcode155—~1.2kAutomated safety check: PassMIT
Ksafeioannisa/KSafe332—~17kAutomated safety check: PassApache-2.0
Moq Kitsoftware-mansion-labs/skills291—~5kAutomated safety check: PassApache-2.0

Similar skills

  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Simulator Audio E2E

    hyochan/react-native-nitro-sound

    Build and run repeatable react-native-nitro-sound recorder/player regression tests on an iOS Simulator or Android emulator, with explicit virtual-device selection, microphone permission, Maestro…

    961 GitHub stars~1.1k tokensUpdated 8 days ago
    MobileAuto-check passed
  • Expo UI

    arcboxlabs/linkcode

    Framework (OSS). An agent skill from arcboxlabs/linkcode.

    155 GitHub stars~1.2k tokensUpdated 9 days ago
    MobileAuto-check passed
  • Ksafe

    ioannisa/KSafe

    Required before any reply that touches KSafe (by ksafe(...), ksafe.get/put, :ksafe-compose, :ksafe-biometrics), even a 'can KSafe do X?' question or a one-line change that looks like plain Kotlin.

    332 GitHub stars~17k tokensUpdated 4 days ago
    MobileAuto-check passed
  • Moq Kit

    software-mansion-labs/skills

    Software Mansion's moq-kit — native Swift (iOS) and Kotlin (Android) SDKs for Media over QUIC (moq-lite) live streaming: sub-second-latency playback, camera/microphone/screen publishing, and…

    291 GitHub stars~5k tokensUpdated 9 days ago
    MobileAuto-check passed
  • Web To Mobile

    suntay44/web-to-mobile-magic-plugin

    Orchestrate website or web app conversion into a mobile app.

    107 GitHub stars~781 tokensUpdated 24 days ago
    MobileAuto-check passed

More from feige996/unibest

All 14 skills in this repo
  • Gives per-component and per-API examples, reference specs and compatibility notes for building cross-platform uni-app apps, mirroring the official documentation.

    2.3k GitHub stars~1.6k tokensUpdated 22 days ago
    Auto-check passed
  • Reference for using uni-app-x's built-in components and APIs, with one example file per item, official doc links and platform compatibility notes.

    2.3k GitHub stars~788 tokensUpdated 22 days ago
    Auto-check passed
  • uni-ad Ads for uni-app

    feige996/unibest

    A comprehensive skill for uni-ad monetization in uni-app. Use this skill to integrate ads, configure ad types, handle ad events, and follow official uni-ad…

    2.3k GitHub stars~675 tokensUpdated 22 days ago
    Auto-check passed
  • Covers uniCloud for uni-app projects: project and cloud space setup, cloud database CRUD and permissions, cloud functions, storage and datacom components.

    2.3k GitHub stars~813 tokensUpdated 22 days ago
    Auto-check passed
  • A comprehensive skill for uni-app mini program development. Use when building uni-app mini programs, configuring mini program settings, or working with mini…

    2.3k GitHub stars~516 tokensUpdated 22 days ago
    Auto-check passed
  • A comprehensive skill for uni-app native app offline packaging. Use this skill to package uni-app as native Android/iOS apps, configure native app settings…

    2.3k GitHub stars~651 tokensUpdated 22 days ago
    Auto-check passed

Works with

Categories

Questions about uni-app Native Plugin Development

How do I install uni-app Native Plugin Development in Claude Code?

Run `npx skills add feige996/unibest --skill uniapp-native-plugin -a claude-code`. Or copy the skill folder (.agents/bak-skills/uniapp-native-plugin in feige996/unibest) into .claude/skills/uniapp-native-plugin in your project. Claude Code loads it when a task matches its description.

How do I install uni-app Native Plugin Development in Codex?

Run `npx skills add feige996/unibest --skill uniapp-native-plugin -a codex`. Or copy the skill folder (.agents/bak-skills/uniapp-native-plugin in feige996/unibest) into .agents/skills/uniapp-native-plugin in your project. Codex loads it when a task matches its description.

Can I use uni-app Native Plugin Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add feige996/unibest --skill uniapp-native-plugin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/uniapp-native-plugin, .gemini/skills/uniapp-native-plugin, .github/skills/uniapp-native-plugin and .opencode/skills/uniapp-native-plugin in your project.

What does uni-app Native Plugin Development need to run?

SKILL.md names no scripts, command-line tools or credentials: uni-app Native Plugin Development is instructions for the agent only.

Does uni-app Native Plugin Development access the network?

SKILL.md names 1 domain. As links in the text: nativesupport.dcloud.net.cn. This is read from the text; nothing was executed.

Is uni-app Native Plugin Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does uni-app Native Plugin Development use?

uni-app Native Plugin Development is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does uni-app Native Plugin Development use?

About 659 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to uni-app Native Plugin Development?

Skills that share tags, products or a category with uni-app Native Plugin Development: Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars), Simulator Audio E2E (hyochan/react-native-nitro-sound, 961 stars), Expo UI (arcboxlabs/linkcode, 155 stars) and Ksafe (ioannisa/KSafe, 332 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains uni-app Native Plugin Development?

feige996 (a GitHub user) maintains it in feige996/unibest, which has 2,275 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 15, 2026.

Source: feige996/unibest on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.