跳到正文
cccskills
免费在 GitHub 公开

mobile-native-plugins

Use this skill when implementing, modifying, configuring, or debugging Capacitor native plugins, permissions, or Android/iOS integrations.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

mobile-native-plugins — Canonical Skill

Purpose

Govern the complete native-plugin lifecycle with verified per-platform evidence.

When to use

Any plugin call, wrapper, permission, platform-guard, install/update, or native debugging task.

Required reading

  • skills/mobile/NATIVE_PLUGINS.md
  • docs/agent/NATIVE_PLUGIN_INVENTORY.md
  • docs/agent/PLATFORM_DIFFERENCES.md

Relevant project locations

  • src/composables/useDevice.ts, src/composables/useFileSystem.ts, etc.
  • capacitor.config.ts, package.json, pnpm-lock.yaml

Mandatory rules

  1. Check each operation's platform support and existing wrapper. Use isWeb() where behavior differs; Camera and Preferences have web paths.
  2. Classify each plugin ACTIVE / CONFIGURED_ONLY / UNUSED / LEGACY / UNKNOWN with import + config + usage evidence — never from package.json alone.
  3. Keyboard direct usage is NOT_FOUND in src (config-only); cordova-plugin-file is LEGACY (used via window.cordova.file). Haptics was removed.
  4. Plugin install/update reviews: Capacitor 8 compat, pnpm pin, Android permissions/Gradle, iOS Info.plist/entitlements/Pods, cap sync need, device runtime check. Never sync during docs tasks.

Implementation workflow

  1. Inventory plugin version + Android/iOS/Web support + permissions.
  2. Reuse existing wrapper pattern (composable/service), keep platform guards.
  3. Handle permissions, errors, listener cleanup.
  4. Verify per mobile-testing (mock on web; device for native proof).

Verification

Web fallback check + mocked unit tests; NATIVE_PLUGIN/ANDROID/IOS checks only with emulator/device evidence.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use this skill when adding or changing REST API calls, HTTP client config, error handling, uploads/downloads, or network behavior.

中文简介正在准备中。当前显示原文说明。

bekaku/vue-ionic-example-app62026年10月19日 更新

Use this skill when working on login, logout, session restore, tokens, route guards, or any authentication and authorization behavior.

中文简介正在准备中。当前显示原文说明。

bekaku/vue-ionic-example-app62026年10月19日 更新

Use this skill when building, syncing Capacitor, or preparing Android/iOS releases and environment configuration.

中文简介正在准备中。当前显示原文说明。

bekaku/vue-ionic-example-app62026年10月19日 更新

Use this skill when creating, modifying, or debugging Ionic Vue components, pages, forms, dialogs, or theme/safe-area UI behavior.

中文简介正在准备中。当前显示原文说明。

bekaku/vue-ionic-example-app62026年10月19日 更新

Use this skill for any Ionic Vue + Capacitor mobile work: Vue architecture, Composition API, TypeScript, state, env config, shared conventions. Required for every implementation task alongside mobile-testing.

中文简介正在准备中。当前显示原文说明。

bekaku/vue-ionic-example-app62026年10月19日 更新

Use this skill when handling inbound URLs, custom schemes, app links, universal links, or URL-bearing notification payloads.

中文简介正在准备中。当前显示原文说明。

bekaku/vue-ionic-example-app62026年10月19日 更新

查看 bekaku 的全部技能

报告此技能的问题