Agent skill

uni-app Native App Packaging

by feige996 in feige996/unibest

“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, handle signing, and…”

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

Install uni-app Native App Packaging

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

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

GitHub CLI
$ gh skill install feige996/unibest uniapp-native-app --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-app .claude/skills/uniapp-native-app && 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-app
GitHub stars
2.3k
Token cost
~651 tokens
SKILL.md length
255 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 uni-app native app offline packaging. Use this skill to package uni-app as native Android/iOS apps, configure native app settings, handle signing, and follow official offline packaging documentation.”

— description from SKILL.md by feige996

uni-app Native App Packaging is a skill in feige996/unibest (2.3k stars). Its SKILL.md is about 651 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 App Packaging loads about 651 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 255 words of instructions outside code blocks.

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

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). 255 words, ~651 tokens.

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

When to use this skill

Use this skill whenever the user wants to:

  • Package uni-app as native Android app
  • Package uni-app as native iOS app
  • Configure native app settings (manifest, permissions, etc.)
  • Customize native app features
  • Integrate native plugins
  • Configure app signing and certificates
  • Handle native app build and distribution

How to use this skill

To package native apps:

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

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

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

    • templates/build-config.md - Build configuration templates
  4. Follow the specific instructions in those files for packaging

Examples and Templates

Examples

Located in examples/:

  • guide/ - Offline packaging overview and setup
  • android/ - Android signing, keystore, build configs
  • ios/ - iOS signing, provisioning, build configs
Templates

Located in templates/:

  • build-config.md - Build configuration templates

Best Practices

  1. Follow platform guidelines: Adhere to Android and iOS development standards
  2. Optimize app size: Minimize APK/IPA size
  3. Security: Properly configure app signing and certificates
  4. Testing: Test on real devices before release

Resources

Keywords

native app, 原生App, Android打包, iOS打包, 离线打包, app packaging, native plugin

能力边界

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

常见陷阱 (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-app of feige996/unibest.

  • SKILL.md
  • LICENSE.txt
  • examples/android/build.md
  • examples/android/keystore.md
  • examples/android/signing.md
  • examples/guide/intro.md
  • examples/guide/offline-packaging.md
  • examples/ios/provisioning.md
  • examples/ios/signing.md
  • templates/build-config.md

Open the folder on GitHubat commit dc3af8d

Compare with similar skills

uni-app Native App Packaging 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 App Packaging compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
uni-app Native App Packaging this skillfeige996/unibest2.3k—~651Automated safety check: PassMIT
Senior Mobileborghei/Claude-Skills881—~1.9kAutomated 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/linkcode156—~1.2kAutomated safety check: PassMIT
Expo Deploymentkingstinct/react-native-healthkit7164 repos~930Automated safety check: PassMIT

Similar skills

  • Senior Mobile

    borghei/Claude-Skills

    A skill your agent uses when the user asks to "build a mobile app", "scaffold React Native project", "create SwiftUI views", "set up Jetpack Compose", "optimize mobile performance", "configure Expo…

    881 GitHub stars~1.9k tokensUpdated yesterday
    MobileAuto-check passed
  • 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 9 days ago
    MobileAuto-check passed
  • Expo UI

    arcboxlabs/linkcode

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

    156 GitHub stars~1.2k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Expo Deployment

    kingstinct/react-native-healthkit

    Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes

    716 GitHub starsUsed in 4 repos~930 tokens
    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 5 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 23 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 23 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 23 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 23 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 23 days ago
    Auto-check passed
  • A comprehensive skill for developing native plugins for uni-app. Use this skill when building Android/iOS native plugins, integrating native capabilities, or…

    2.3k GitHub stars~659 tokensUpdated 23 days ago
    Auto-check passed

Works with

Categories

Questions about uni-app Native App Packaging

How do I install uni-app Native App Packaging in Claude Code?

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

How do I install uni-app Native App Packaging in Codex?

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

Can I use uni-app Native App Packaging 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-app -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-app, .gemini/skills/uniapp-native-app, .github/skills/uniapp-native-app and .opencode/skills/uniapp-native-app in your project.

What does uni-app Native App Packaging need to run?

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

Does uni-app Native App Packaging 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 App Packaging 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 App Packaging use?

uni-app Native App Packaging 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 App Packaging use?

About 651 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 App Packaging?

Skills that share tags, products or a category with uni-app Native App Packaging: Senior Mobile (borghei/Claude-Skills, 881 stars), Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars), Simulator Audio E2E (hyochan/react-native-nitro-sound, 961 stars) and Expo UI (arcboxlabs/linkcode, 156 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 App Packaging?

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.