Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #react #api #security #agent

capacitor-app-development

Guides the agent through general Capacitor app development topics. Covers core concepts (native bridge, plugins, web layer), Capacitor CLI usage, app configuration (capacitor.config.ts, splash screens, app icons, deep links), platform management (Android, iOS, Electron, PWA), edge-to-edge and safe area handling on Android, live reload setup, storage solutions, file handling, security best practices, CI/CD references, iOS package managers (SPM, CocoaPods), and troubleshooting for Android and iOS. Do not use for creating new Capacitor apps, Capacitor plugin APIs, creating Capacitor plugins, in-app purchases, upgrading Capacitor versions, Cordova or PhoneGap migration, or framework-specific patterns (Angular, React, Vue).

DeepseekModel 官方收录技能 质量 良好 · 64 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=capawesome-team-skills-skills-capacitor-app-development-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name capacitor-app-development description Guides the agent through general Capacitor app development topics. Covers core concepts (native bridge, plugins, web layer), Capacitor CLI usage, app configuration (capacitor.config.ts, splash screens, app icons, deep links), platform management (Android, iOS, Electron, PWA), edge-to-edge and safe area handling on Android, live reload setup, storage solutions, file handling, security best practices, CI/CD references, iOS package managers (SPM, CocoaPods), and troubleshooting for Android and iOS. Do not use for creating new Capacitor apps, Capacitor plugin APIs, creating Capacitor plugins, in-app purchases, upgrading Capacitor versions, Cordova or PhoneGap migration, or framework-specific patterns (Angular, React, Vue). license MIT compatibility Requires Node.js and npm. Xcode on macOS is required for iOS and Android Studio for Android. metadata {"author":"capawesome-team","source":"https://github.com/capawesome-team/skills/tree/main/skills/capacitor-app-development"} Capacitor App Development General guidance for developing cross-platform apps with Capacitor, covering core concepts, CLI usage, app configuration, platform management, and troubleshooting. Prerequisites Capacitor 6, 7, or 8 app already created and initialized. Node.js and npm installed (Node 18+ for Cap 6, Node 20+ for Cap 7, Node 22+ for Cap 8). For Android : Android Studio installed. For iOS : Xcode installed on macOS. Agent Behavior Auto-detect before asking. Inspect the project for platforms ( android/ , ios/ ), framework ( vite.config.ts , angular.json , webpack.config.js , next.config.js ), Capacitor version ( @capacitor/core in package.json ), and iOS dependency manager ( ios/App/Podfile for CocoaPods vs. SPM). Route to the right reference file. Use the topic index below to identify the correct reference file and read it before providing guidance. One topic at a time. Address the user's specific question. Do not provide a general overview unless explicitly requested. Prefer actionable instructions. Provide exact file paths, commands, and diff blocks rather than conceptual explanations. Procedures Step 1: Identify the Topic Match the user's request to a topic from the index below. If the request spans multiple topics, address them sequentially. If the request matches a topic covered by a different skill , redirect the user to that skill (see Related Skills at the bottom). Step 2: Analyze the Project Auto-detect the following by reading project files: Capacitor version : Read @capacitor/core version from package.json . Platforms : Check which directories exist ( android/ , ios/ ). Framework : Check for build tool config files. Capacitor config format : Check for capacitor.config.ts or capacitor.config.json . iOS dependency manager : Check for ios/App/Podfile (CocoaPods) or SPM usage. Step 3: Read the Reference File and Apply Guidance Read the reference file for the matched topic and apply the instructions to the user's project. Topic Index Topic Reference Core concepts (native bridge, how Capacitor works) references/core-concepts.md Capacitor platforms (Android, iOS, Electron, PWA) references/platforms.md Capacitor CLI commands references/cli.md App configuration ( capacitor.config.ts ) references/app-configuration.md Splash screens and app icons references/splash-screens-and-icons.md Deep links and universal links references/deep-links.md Android edge-to-edge support references/edge-to-edge.md Android safe area handling references/safe-area.md Live reload setup references/live-reload.md Storage solutions references/storage.md File handling best practices references/file-handling.md Security best practices references/security.md iOS package managers (SPM, CocoaPods) references/ios-package-managers.md CI/CD for Capacitor apps references/ci-cd.md Testing (unit and E2E) references/testing.md Cross-platform best practices references/cross-platform-best-practices.md Android troubleshooting references/troubleshooting-android.md iOS troubleshooting references/troubleshooting-ios.md Error Handling npx cap sync fails : Verify @capacitor/core and @capacitor/cli versions match. On iOS with CocoaPods, run cd ios/App && pod install . On Android, sync Gradle files in Android Studio. Android build fails after configuration changes : Clean the build with cd android && ./gradlew clean , then rebuild. iOS build fails after configuration changes : Clean the build folder in Xcode (Product > Clean Build Folder) or delete ios/App/Pods and run cd ios/App && pod install . Plugin not found at runtime : Run npx cap sync after any plugin installation. Verify the plugin appears in capacitor.config or the native project. Live reload not connecting : Verify the device and development machine are on the same network. Check that the server URL in capacitor.config uses the correct LAN IP address. Deep links not working : Verify the site association file is accessible at https://<domain>/.well-known/apple-app-site-association (iOS) or https://<domain>/.well-known/assetlinks.json (Android). Verify the app is signed with the correct certificate. Related Skills capacitor-app-creation — Create a new Capacitor app. capacitor-angular — Angular-specific Capacitor development. capacitor-react — React-specific Capacitor development. capacitor-vue — Vue-specific Capacitor development. capacitor-plugins — Install and configure Capacitor plugins. capacitor-plugin-development — Create custom Capacitor plugins. capacitor-app-upgrades — Upgrade Capacitor to a newer major version. capacitor-in-app-purchases — Set up in-app purchases. capawesome-cloud — Cloud builds, live updates, and app store publishing. capacitor-mcp — Connect an MCP client to the current Capacitor documentation.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。