@kensaurus/skills 0.0.0-stage → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +53 -0
- package/.claude-plugin/plugin.json +40 -0
- package/.cursor-plugin/plugin.json +38 -0
- package/.mcp.json +28 -0
- package/CHANGELOG.md +1761 -0
- package/LICENSE +21 -0
- package/NOTICE +13 -0
- package/README.md +820 -2
- package/SECURITY.md +55 -0
- package/agents/code-reviewer.md +60 -0
- package/agents/completion-judge.md +89 -0
- package/agents/db-migrator.md +125 -0
- package/agents/debugger.md +47 -0
- package/agents/deploy-checker.md +100 -0
- package/agents/perf-monitor.md +74 -0
- package/assets/favicon.png +0 -0
- package/assets/logo-light.png +0 -0
- package/assets/logo.png +0 -0
- package/assets/logo.svg +6 -0
- package/assets/og.png +0 -0
- package/bin/install.mjs +1127 -0
- package/bin/kenji.js +2 -0
- package/commands/adr.md +17 -0
- package/commands/aeo-plan.md +18 -0
- package/commands/arch-boundaries.md +17 -0
- package/commands/aso-plan.md +18 -0
- package/commands/auth-flows.md +19 -0
- package/commands/backup-plan.md +17 -0
- package/commands/burndown-full.md +25 -0
- package/commands/capacitor-plan.md +18 -0
- package/commands/codemod-safety.md +22 -0
- package/commands/commit.md +18 -0
- package/commands/complete-everything.md +40 -0
- package/commands/cost-plan.md +19 -0
- package/commands/deadcode-plan.md +26 -0
- package/commands/deadcode.md +32 -0
- package/commands/debug-issue.md +17 -0
- package/commands/deps-plan.md +18 -0
- package/commands/docs-plan.md +17 -0
- package/commands/doctrine.md +19 -0
- package/commands/error-plan.md +19 -0
- package/commands/feedback-to-closure.md +36 -0
- package/commands/fix-issue.md +76 -0
- package/commands/gate-logic.md +26 -0
- package/commands/green-repo.md +36 -0
- package/commands/grill-me.md +19 -0
- package/commands/gtm-plan.md +21 -0
- package/commands/gtm-weekly.md +17 -0
- package/commands/gtm.md +22 -0
- package/commands/handoff.md +15 -0
- package/commands/housekeep-backlog.md +18 -0
- package/commands/housekeep-files.md +22 -0
- package/commands/housekeep-gates.md +18 -0
- package/commands/instant-nav.md +11 -0
- package/commands/integrity-plan.md +19 -0
- package/commands/launch-kit.md +16 -0
- package/commands/mcp-guide.md +40 -0
- package/commands/mobile-plan.md +19 -0
- package/commands/native-rn-monorepo/README.md +78 -0
- package/commands/native-rn-monorepo/android-build.md +26 -0
- package/commands/native-rn-monorepo/android-install.md +32 -0
- package/commands/native-rn-monorepo/android-logcat.md +37 -0
- package/commands/native-rn-monorepo/ios-ci-logs.md +56 -0
- package/commands/native-rn-monorepo/ios-ci-status.md +52 -0
- package/commands/native-rn-monorepo/ios-ci-trigger.md +59 -0
- package/commands/native-rn-monorepo/rn-reset.md +50 -0
- package/commands/native-rn-monorepo/rn-ship-ios.md +67 -0
- package/commands/native-rn-monorepo/rn-verify.md +53 -0
- package/commands/perf-plan.md +18 -0
- package/commands/plan-mode.md +74 -0
- package/commands/pr.md +16 -0
- package/commands/pricing-plan.md +20 -0
- package/commands/privacy-plan.md +18 -0
- package/commands/readability.md +12 -0
- package/commands/readme.md +15 -0
- package/commands/refactor.md +15 -0
- package/commands/release-prep.md +17 -0
- package/commands/research.md +25 -0
- package/commands/responsive-audit.md +21 -0
- package/commands/review-code.md +18 -0
- package/commands/rls-plan.md +18 -0
- package/commands/secrets-plan.md +18 -0
- package/commands/security-plan.md +19 -0
- package/commands/ship-and-observe.md +36 -0
- package/commands/skill-conflicts.md +19 -0
- package/commands/slop-plan.md +18 -0
- package/commands/stub-plan.md +18 -0
- package/commands/test-mutation.md +16 -0
- package/commands/test-plan.md +17 -0
- package/commands/test.md +29 -0
- package/commands/thirdparty-web-interface-guidelines.md +185 -0
- package/commands/uiux-plan.md +18 -0
- package/commands/uiux.md +45 -0
- package/commands/update-deps.md +21 -0
- package/commands/validation-plan.md +19 -0
- package/commands-portable/fix-issue.md +72 -0
- package/commands-portable/plan-mode.md +92 -0
- package/commands-portable/research.md +91 -0
- package/docs/screenshots/README.md +5 -0
- package/docs/screenshots/audit-dark.png +0 -0
- package/docs/screenshots/build-dark.png +0 -0
- package/docs/screenshots/grill-dark.png +0 -0
- package/docs/screenshots/hero-dark.png +0 -0
- package/docs/screenshots/hero-light.png +0 -0
- package/docs/screenshots/ship-dark.png +0 -0
- package/docs/screenshots/src/showcase.html +320 -0
- package/hooks/completion-gate.mjs +258 -0
- package/hooks/cursor-hooks.json +13 -0
- package/hooks/hooks.json +15 -0
- package/install.sh +21 -0
- package/llms.txt +40 -0
- package/mcp/README.md +266 -0
- package/mcp/VERSIONS.md +41 -0
- package/mcp/mcp-full.json.template +124 -0
- package/mcp/mcp.json.template +29 -0
- package/mcp/pinned-versions.json +27 -0
- package/package.json +93 -4
- package/rules/approved-plan-execution.mdc +65 -0
- package/rules/full-stack-ship-discipline.mdc +37 -0
- package/rules/native-rn-monorepo/README.md +63 -0
- package/rules/native-rn-monorepo/_project.mdc +69 -0
- package/rules/native-rn-monorepo/native-android.mdc +72 -0
- package/rules/native-rn-monorepo/native-ios.mdc +61 -0
- package/rules/native-rn-monorepo/react-native-js.mdc +78 -0
- package/rules/native-rn-monorepo/web.mdc +60 -0
- package/rules/project-starter/components.mdc +54 -0
- package/rules/project-starter/data-fetching.mdc +77 -0
- package/rules/project-starter/git.mdc +41 -0
- package/rules/project-starter/supabase.mdc +37 -0
- package/rules/project-starter/tailwind.mdc +48 -0
- package/rules/project-starter/typescript.mdc +36 -0
- package/rules/project-starter/web-performance.mdc +42 -0
- package/rules/senior-engineer.mdc +30 -0
- package/rules/shell-first-search.mdc +19 -0
- package/rules/skill-workflows.mdc +35 -0
- package/rules/verification-before-completion.mdc +57 -0
- package/skills/audit-accessibility/SKILL.md +441 -0
- package/skills/audit-agent-speed/SKILL.md +181 -0
- package/skills/audit-agent-speed/scripts/stop-typecheck.mjs +151 -0
- package/skills/audit-analytics/SKILL.md +138 -0
- package/skills/audit-auth-flows/SKILL.md +267 -0
- package/skills/audit-backend-architecture/SKILL.md +266 -0
- package/skills/audit-backend-architecture/references/patterns.md +386 -0
- package/skills/audit-bundle-size/SKILL.md +296 -0
- package/skills/audit-cicd/SKILL.md +218 -0
- package/skills/audit-code-quality/SKILL.md +314 -0
- package/skills/audit-code-review/SKILL.md +289 -0
- package/skills/audit-codemod-safety/SKILL.md +159 -0
- package/skills/audit-db-schema/SKILL.md +465 -0
- package/skills/audit-db-schema/references/details.md +110 -0
- package/skills/audit-doctrine/SKILL.md +189 -0
- package/skills/audit-env-parity/SKILL.md +133 -0
- package/skills/audit-fe-api/SKILL.md +458 -0
- package/skills/audit-gate-logic/SKILL.md +219 -0
- package/skills/audit-i18n/SKILL.md +339 -0
- package/skills/audit-infra-cost/SKILL.md +142 -0
- package/skills/audit-langfuse-llm/SKILL.md +468 -0
- package/skills/audit-langfuse-llm/references/details.md +226 -0
- package/skills/audit-llm-security/SKILL.md +147 -0
- package/skills/audit-monetization-iap/SKILL.md +137 -0
- package/skills/audit-payment-system/SKILL.md +268 -0
- package/skills/audit-payment-system/references/checklist.md +283 -0
- package/skills/audit-performance/SKILL.md +383 -0
- package/skills/audit-performance/references/loading-priority-2026.md +81 -0
- package/skills/audit-realworld/SKILL.md +287 -0
- package/skills/audit-registry-listing/SKILL.md +122 -0
- package/skills/audit-resilience/SKILL.md +154 -0
- package/skills/audit-responsive/SKILL.md +221 -0
- package/skills/audit-responsive/references/checklist.md +166 -0
- package/skills/audit-security/SKILL.md +289 -0
- package/skills/audit-skill-conflicts/SKILL.md +178 -0
- package/skills/audit-ui-states/SKILL.md +146 -0
- package/skills/audit-uiux-design-system/SKILL.md +475 -0
- package/skills/audit-uiux-design-system/references/details.md +71 -0
- package/skills/audit-ux/SKILL.md +379 -0
- package/skills/audit-ux/references/details.md +245 -0
- package/skills/audit-ux-journeys/SKILL.md +215 -0
- package/skills/audit-ux-journeys/references/checklist.md +179 -0
- package/skills/backend-db-performance/SKILL.md +441 -0
- package/skills/backend-error-handling/SKILL.md +489 -0
- package/skills/backend-error-handling/references/details.md +58 -0
- package/skills/backend-observability/SKILL.md +88 -0
- package/skills/backend-patterns/SKILL.md +499 -0
- package/skills/backend-patterns/references/architecture-patterns.md +298 -0
- package/skills/backend-realtime/SKILL.md +403 -0
- package/skills/backend-realtime/references/patterns.md +74 -0
- package/skills/burndown-full/SKILL.md +174 -0
- package/skills/complete-everything/SKILL.md +295 -0
- package/skills/data-pipeline/SKILL.md +109 -0
- package/skills/data-visualization/SKILL.md +488 -0
- package/skills/debug-error/SKILL.md +322 -0
- package/skills/debug-fe-be-integration/SKILL.md +459 -0
- package/skills/debug-sentry-monitor/SKILL.md +497 -0
- package/skills/debug-sentry-monitor/references/details.md +165 -0
- package/skills/deploy-npm/SKILL.md +394 -0
- package/skills/deploy-npm/references/example-mushi-mushi.md +52 -0
- package/skills/deploy-verify/SKILL.md +489 -0
- package/skills/design-api/SKILL.md +379 -0
- package/skills/design-canvas/SKILL.md +155 -0
- package/skills/design-email/SKILL.md +370 -0
- package/skills/design-frontend/SKILL.md +143 -0
- package/skills/design-generative-art/SKILL.md +474 -0
- package/skills/design-mobile-first/SKILL.md +506 -0
- package/skills/design-motion/SKILL.md +333 -0
- package/skills/design-motion/references/delight-interactions.md +191 -0
- package/skills/design-prd/SKILL.md +443 -0
- package/skills/design-system/SKILL.md +457 -0
- package/skills/design-theme/SKILL.md +226 -0
- package/skills/design-theme/themes/tsumagoi-ranch.md +150 -0
- package/skills/docs-adr/SKILL.md +168 -0
- package/skills/docs-coauthor/SKILL.md +368 -0
- package/skills/docs-comparison-pages/SKILL.md +117 -0
- package/skills/docs-domain-modeling/SKILL.md +97 -0
- package/skills/docs-launch-kit/SKILL.md +139 -0
- package/skills/docs-writer/SKILL.md +469 -0
- package/skills/enhance-agent-guardrails/SKILL.md +164 -0
- package/skills/enhance-arch-boundaries/SKILL.md +154 -0
- package/skills/enhance-capacitor-ui/SKILL.md +463 -0
- package/skills/enhance-capacitor-ui/references/details.md +750 -0
- package/skills/enhance-email-deliverability/SKILL.md +143 -0
- package/skills/enhance-growth-loops/SKILL.md +122 -0
- package/skills/enhance-lifecycle-email/SKILL.md +130 -0
- package/skills/enhance-motion/SKILL.md +193 -0
- package/skills/enhance-onboarding/SKILL.md +148 -0
- package/skills/enhance-pwa/SKILL.md +304 -0
- package/skills/enhance-readability/SKILL.md +146 -0
- package/skills/enhance-readme/SKILL.md +496 -0
- package/skills/enhance-readme/package-lock.json +187 -0
- package/skills/enhance-readme/package.json +17 -0
- package/skills/enhance-readme/scripts/generate-readme-blocks.mjs +199 -0
- package/skills/enhance-readme/scripts/record-readme-tour.mjs +442 -0
- package/skills/enhance-skill-prompts/SKILL.md +167 -0
- package/skills/enhance-skill-prompts/references/exemplar-audit-auth-flows.md +311 -0
- package/skills/enhance-web-conversion/SKILL.md +155 -0
- package/skills/enhance-web-forms/SKILL.md +154 -0
- package/skills/enhance-web-instant-nav/SKILL.md +138 -0
- package/skills/enhance-web-instant-nav/references/bfcache-blockers.md +23 -0
- package/skills/enhance-web-instant-nav/references/early-hints.md +33 -0
- package/skills/enhance-web-instant-nav/references/speculation-rules.md +44 -0
- package/skills/enhance-web-landing/SKILL.md +459 -0
- package/skills/enhance-web-landing/references/details.md +773 -0
- package/skills/enhance-web-redesign/SKILL.md +228 -0
- package/skills/enhance-web-seo/SKILL.md +276 -0
- package/skills/enhance-web-ui/SKILL.md +473 -0
- package/skills/enhance-web-ui/references/details.md +674 -0
- package/skills/enhance-web-ux/HEURISTICS.md +242 -0
- package/skills/enhance-web-ux/PATTERNS.md +375 -0
- package/skills/enhance-web-ux/SKILL.md +464 -0
- package/skills/enhance-web-ux/examples.md +222 -0
- package/skills/enhance-web-ux/references/details.md +406 -0
- package/skills/enhance-web-web3d/SKILL.md +397 -0
- package/skills/enhance-web-web3d/references/css-canvas-effects.md +180 -0
- package/skills/handoff/SKILL.md +66 -0
- package/skills/housekeep-backlog/SKILL.md +149 -0
- package/skills/housekeep-dead-code/SKILL.md +387 -0
- package/skills/housekeep-dead-code/references/ratchet-ci.md +205 -0
- package/skills/housekeep-dead-code/references/supabase-hygiene.md +152 -0
- package/skills/housekeep-design/SKILL.md +207 -0
- package/skills/housekeep-files/SKILL.md +220 -0
- package/skills/housekeep-files/references/naming-and-catalog.md +86 -0
- package/skills/housekeep-files/scripts/housekeep-files.ps1 +360 -0
- package/skills/housekeep-files/scripts/housekeep-files.sh +238 -0
- package/skills/housekeep-gates/SKILL.md +174 -0
- package/skills/iterate-agent-harness/SKILL.md +137 -0
- package/skills/iterate-gtm-weekly/SKILL.md +103 -0
- package/skills/iterate-post-launch/SKILL.md +292 -0
- package/skills/meta-mcp-builder/SKILL.md +313 -0
- package/skills/meta-skill-creator/SKILL.md +304 -0
- package/skills/mobile-capacitor-platform/SKILL.md +104 -0
- package/skills/mobile-emulator-start/SKILL.md +296 -0
- package/skills/mobile-emulator-test/SKILL.md +491 -0
- package/skills/mobile-emulator-test/references/details.md +478 -0
- package/skills/mobile-rn-performance/SKILL.md +107 -0
- package/skills/mobile-rn-screen/SKILL.md +476 -0
- package/skills/mobile-rn-screen/references/details.md +785 -0
- package/skills/mushi-health/SKILL.md +206 -0
- package/skills/mushi-integration/SKILL.md +257 -0
- package/skills/plan-aeo-readiness/SKILL.md +166 -0
- package/skills/plan-antislop/SKILL.md +281 -0
- package/skills/plan-aso/SKILL.md +149 -0
- package/skills/plan-backup-dr/SKILL.md +131 -0
- package/skills/plan-capacitor-hardening/SKILL.md +217 -0
- package/skills/plan-data-integrity/SKILL.md +187 -0
- package/skills/plan-dead-code/SKILL.md +386 -0
- package/skills/plan-dead-code/references/knip-config.md +214 -0
- package/skills/plan-dead-code/references/output-templates.md +133 -0
- package/skills/plan-dead-code/references/preservation-contract.md +50 -0
- package/skills/plan-dead-code/references/residue-greps.md +84 -0
- package/skills/plan-dependency-provenance/SKILL.md +200 -0
- package/skills/plan-docs-sync/SKILL.md +143 -0
- package/skills/plan-docs-sync/references/drift-taxonomy.md +43 -0
- package/skills/plan-docs-sync/references/output-templates.md +33 -0
- package/skills/plan-docs-sync/references/preservation-contract.md +17 -0
- package/skills/plan-error-handling/SKILL.md +205 -0
- package/skills/plan-gtm/SKILL.md +276 -0
- package/skills/plan-gtm/references/benchmarks-2026.md +183 -0
- package/skills/plan-input-validation/SKILL.md +179 -0
- package/skills/plan-llm-cost-guardrails/SKILL.md +176 -0
- package/skills/plan-mobile-readiness/SKILL.md +171 -0
- package/skills/plan-perf-audit/SKILL.md +145 -0
- package/skills/plan-perf-audit/references/audit-scope.md +51 -0
- package/skills/plan-perf-audit/references/output-templates.md +33 -0
- package/skills/plan-perf-audit/references/preservation-contract.md +13 -0
- package/skills/plan-pricing/SKILL.md +173 -0
- package/skills/plan-privacy-compliance/SKILL.md +148 -0
- package/skills/plan-rls-audit/SKILL.md +231 -0
- package/skills/plan-secrets-audit/SKILL.md +181 -0
- package/skills/plan-security-audit/SKILL.md +168 -0
- package/skills/plan-security-audit/references/output-templates.md +36 -0
- package/skills/plan-security-audit/references/owasp-supabase-scope.md +55 -0
- package/skills/plan-security-audit/references/preservation-contract.md +18 -0
- package/skills/plan-stub-checker/SKILL.md +216 -0
- package/skills/plan-stub-checker/references/detection-methodology.md +75 -0
- package/skills/plan-stub-checker/references/detection-taxonomy.md +34 -0
- package/skills/plan-stub-checker/references/output-templates.md +63 -0
- package/skills/plan-stub-checker/references/preservation-contract.md +24 -0
- package/skills/plan-test-coverage/SKILL.md +170 -0
- package/skills/plan-test-coverage/references/methodology.md +54 -0
- package/skills/plan-test-coverage/references/output-templates.md +34 -0
- package/skills/plan-test-coverage/references/preservation-contract.md +15 -0
- package/skills/plan-uiux-unification/SKILL.md +230 -0
- package/skills/plan-uiux-unification/references/output-templates.md +67 -0
- package/skills/plan-uiux-unification/references/phase-workbook.md +85 -0
- package/skills/plan-uiux-unification/references/preservation-contract.md +24 -0
- package/skills/protocol-browser-anti-stall/SKILL.md +211 -0
- package/skills/protocol-browser-anti-stall/references/mcp-to-cli-map.md +113 -0
- package/skills/protocol-browser-anti-stall/references/playwright-session-coordination.md +170 -0
- package/skills/research/SKILL.md +422 -0
- package/skills/test-exploratory/SKILL.md +165 -0
- package/skills/test-exploratory/references/charter-template.md +29 -0
- package/skills/test-load/SKILL.md +126 -0
- package/skills/test-mutation/SKILL.md +160 -0
- package/skills/test-playwright/SKILL.md +354 -0
- package/skills/test-qa/SKILL.md +364 -0
- package/skills/test-qa/references/details.md +268 -0
- package/skills/test-red-team/SKILL.md +387 -0
- package/skills/test-red-team/references/owasp-attack-checklist.md +193 -0
- package/skills/test-unit/SKILL.md +259 -0
- package/skills/test-unit/references/details.md +267 -0
- package/skills/test-visual-regression/SKILL.md +132 -0
- package/skills/thirdparty-emil-design-eng/ATTRIBUTION.md +20 -0
- package/skills/thirdparty-emil-design-eng/SKILL.md +21 -0
- package/skills/thirdparty-emil-design-eng/references/emil-design-eng.md +676 -0
- package/skills/thirdparty-ui-ux-pro-max/ATTRIBUTION.md +22 -0
- package/skills/thirdparty-ui-ux-pro-max/SKILL.md +304 -0
- package/skills/thirdparty-ui-ux-pro-max/data/charts.csv +26 -0
- package/skills/thirdparty-ui-ux-pro-max/data/colors.csv +97 -0
- package/skills/thirdparty-ui-ux-pro-max/data/icons.csv +101 -0
- package/skills/thirdparty-ui-ux-pro-max/data/landing.csv +31 -0
- package/skills/thirdparty-ui-ux-pro-max/data/products.csv +97 -0
- package/skills/thirdparty-ui-ux-pro-max/data/react-performance.csv +45 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/skills/thirdparty-ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/skills/thirdparty-ui-ux-pro-max/data/styles.csv +68 -0
- package/skills/thirdparty-ui-ux-pro-max/data/typography.csv +58 -0
- package/skills/thirdparty-ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/skills/thirdparty-ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/skills/thirdparty-ui-ux-pro-max/data/web-interface.csv +31 -0
- package/skills/thirdparty-ui-ux-pro-max/scripts/core.py +253 -0
- package/skills/thirdparty-ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/skills/thirdparty-ui-ux-pro-max/scripts/search.py +114 -0
- package/skills/thirdparty-web-interface-guidelines/ATTRIBUTION.md +23 -0
- package/skills/thirdparty-web-interface-guidelines/SKILL.md +190 -0
- package/skills/workflow-build-feature/SKILL.md +118 -0
- package/skills/workflow-coding-discipline/SKILL.md +140 -0
- package/skills/workflow-environment-ready/SKILL.md +128 -0
- package/skills/workflow-feature-flag/SKILL.md +262 -0
- package/skills/workflow-feedback-to-closure/SKILL.md +165 -0
- package/skills/workflow-fix-and-ship/SKILL.md +136 -0
- package/skills/workflow-git-commit/SKILL.md +200 -0
- package/skills/workflow-green-repo/SKILL.md +166 -0
- package/skills/workflow-grilling/SKILL.md +73 -0
- package/skills/workflow-gtm/SKILL.md +153 -0
- package/skills/workflow-housekeep/SKILL.md +453 -0
- package/skills/workflow-housekeep/references/templates.md +109 -0
- package/skills/workflow-launch-ready/SKILL.md +145 -0
- package/skills/workflow-merge-conflicts/SKILL.md +62 -0
- package/skills/workflow-onboard/SKILL.md +99 -0
- package/skills/workflow-parallel-agents/SKILL.md +164 -0
- package/skills/workflow-pr/SKILL.md +197 -0
- package/skills/workflow-quality-gate/SKILL.md +147 -0
- package/skills/workflow-refactor/SKILL.md +274 -0
- package/skills/workflow-release-prep/SKILL.md +207 -0
- package/skills/workflow-ship-and-observe/SKILL.md +164 -0
- package/skills/workflow-spec-tdd/SKILL.md +141 -0
- package/skills/workflow-spec-tdd/references/spec-template.md +126 -0
- package/skills/workflow-spec-tdd/references/tdd-patterns.md +167 -0
- package/skills-cursor/babysit/SKILL.md +17 -0
- package/skills-cursor/canvas/SKILL.md +142 -0
- package/skills-cursor/canvas/sdk/canvas-tokens.d.ts +235 -0
- package/skills-cursor/canvas/sdk/chart-primitives.d.ts +200 -0
- package/skills-cursor/canvas/sdk/dag-layout.d.ts +102 -0
- package/skills-cursor/canvas/sdk/diff-view.d.ts +130 -0
- package/skills-cursor/canvas/sdk/form-primitives.d.ts +194 -0
- package/skills-cursor/canvas/sdk/hooks.d.ts +117 -0
- package/skills-cursor/canvas/sdk/index.d.ts +47 -0
- package/skills-cursor/canvas/sdk/theme.d.ts +61 -0
- package/skills-cursor/canvas/sdk/todo-list.d.ts +49 -0
- package/skills-cursor/canvas/sdk/ui-primitives.d.ts +549 -0
- package/skills-cursor/canvas/sdk/ui-primitives.test.d.ts +2 -0
- package/skills-cursor/create-hook/SKILL.md +238 -0
- package/skills-cursor/create-rule/SKILL.md +185 -0
- package/skills-cursor/create-skill/SKILL.md +269 -0
- package/skills-cursor/create-skill/references/authoring-guide.md +182 -0
- package/skills-cursor/create-subagent/SKILL.md +228 -0
- package/skills-cursor/migrate-to-skills/SKILL.md +121 -0
- package/skills-cursor/shell/SKILL.md +22 -0
- package/skills-cursor/split-to-prs/SKILL.md +47 -0
- package/skills-cursor/statusline/SKILL.md +193 -0
- package/skills-cursor/update-cli-config/SKILL.md +85 -0
- package/skills-cursor/update-cursor-settings/SKILL.md +137 -0
- package/skills.sh.json +296 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: meta-skill-creator
|
|
3
|
+
description: >
|
|
4
|
+
Create or update a pack SKILL.md (frontmatter, house limits, T1–T8). Use
|
|
5
|
+
when authoring a kenji skill. Prompt-only upgrade →
|
|
6
|
+
enhance-skill-prompts. Cursor skill wizard → create-skill.
|
|
7
|
+
license: Apache-2.0
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Skill Creator
|
|
11
|
+
|
|
12
|
+
**Degree of freedom: MIXED.** Authoring judgment is `[HIGH freedom]`;
|
|
13
|
+
house limits, frontmatter shape, and the T1–T8 checklist are
|
|
14
|
+
`[LOW freedom — do not skip]`.
|
|
15
|
+
|
|
16
|
+
Guidance for creating effective skills.
|
|
17
|
+
|
|
18
|
+
## About Skills
|
|
19
|
+
|
|
20
|
+
Skills are modular, self-contained packages that extend Claude's capabilities by providing
|
|
21
|
+
specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific
|
|
22
|
+
domains or tasks—they transform Claude from a general-purpose agent into a specialized agent
|
|
23
|
+
equipped with procedural knowledge that no model can fully possess.
|
|
24
|
+
|
|
25
|
+
### What Skills Provide
|
|
26
|
+
|
|
27
|
+
1. Specialized workflows - Multi-step procedures for specific domains
|
|
28
|
+
2. Tool integrations - working with specific file formats or APIs
|
|
29
|
+
3. Domain expertise - Company-specific knowledge, schemas, business logic
|
|
30
|
+
4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
|
|
31
|
+
|
|
32
|
+
## Core Principles
|
|
33
|
+
|
|
34
|
+
### Concise is Key
|
|
35
|
+
|
|
36
|
+
The context window is a public good. Skills share the context window with everything else Claude needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
|
|
37
|
+
|
|
38
|
+
**Default assumption: Claude is already very smart.** Only add context Claude doesn't already have. Challenge each piece of information: "Does Claude really need this explanation?" and "Does this paragraph justify its token cost?"
|
|
39
|
+
|
|
40
|
+
Prefer concise examples over verbose explanations.
|
|
41
|
+
|
|
42
|
+
### Pruning — the verbosity levers
|
|
43
|
+
|
|
44
|
+
Every line must earn its tokens. Sweep each skill with these tests (adapted from
|
|
45
|
+
[mattpocock/skills](https://github.com/mattpocock/skills), MIT):
|
|
46
|
+
|
|
47
|
+
- **No-op test.** Does the line change behavior versus what the agent already
|
|
48
|
+
does by default? "Be thorough" is a no-op; delete the whole sentence, don't
|
|
49
|
+
trim words from it. A weak intensifier is cured by a stronger word
|
|
50
|
+
(*relentless*), not more prose.
|
|
51
|
+
- **Positive phrasing.** Steering by prohibition backfires — "don't think of an
|
|
52
|
+
elephant" names the elephant. State the target behavior so the banned one is
|
|
53
|
+
never spoken; keep a prohibition only as a hard guardrail you can't phrase
|
|
54
|
+
positively, paired with what to do instead.
|
|
55
|
+
- **Leading words.** Replace a restated quality with one compact concept the
|
|
56
|
+
model already knows — "fast, deterministic, low-overhead" collapses to a
|
|
57
|
+
*tight* loop. Fewer tokens and a sharper hook for the agent's thinking.
|
|
58
|
+
- **Single source of truth.** Each meaning lives in exactly one place; a
|
|
59
|
+
duplicated rule costs maintenance, tokens, and inflates its apparent
|
|
60
|
+
importance.
|
|
61
|
+
- **One trigger per branch.** In descriptions, synonyms that rename the same
|
|
62
|
+
trigger are duplication — collapse them; keep only genuinely distinct
|
|
63
|
+
branches.
|
|
64
|
+
- **Checkable completion criteria.** End each step on a condition the agent can
|
|
65
|
+
verify ("every modified file accounted for"), not a vibe ("make sure it's
|
|
66
|
+
good") — vague criteria invite premature completion.
|
|
67
|
+
|
|
68
|
+
### Invocation — who pays the cost
|
|
69
|
+
|
|
70
|
+
Two modes, trading different costs:
|
|
71
|
+
|
|
72
|
+
- **Model-invoked** (default): the description sits in context every turn so the
|
|
73
|
+
agent can fire the skill autonomously. Pay this cost only when auto-triggering
|
|
74
|
+
earns it.
|
|
75
|
+
- **User-invoked**: set `disable-model-invocation: true`. The description leaves
|
|
76
|
+
the agent's always-on context — zero token cost — but only the user typing its
|
|
77
|
+
name can fire it. Right for compactors, wrappers, and rituals the user always
|
|
78
|
+
initiates deliberately (e.g. `handoff`).
|
|
79
|
+
|
|
80
|
+
### Set Appropriate Degrees of Freedom
|
|
81
|
+
|
|
82
|
+
Match the level of specificity to the task's fragility and variability:
|
|
83
|
+
|
|
84
|
+
**High freedom (text-based instructions)**: Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
|
|
85
|
+
|
|
86
|
+
**Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
|
|
87
|
+
|
|
88
|
+
**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
|
|
89
|
+
|
|
90
|
+
Think of Claude as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
|
|
91
|
+
|
|
92
|
+
### Prompt techniques (T1–T8)
|
|
93
|
+
|
|
94
|
+
New skills should be *born* with these, not retrofitted later. Full procedure:
|
|
95
|
+
[docs/PROMPT-ENHANCEMENT-PLAYBOOK.md](../../docs/PROMPT-ENHANCEMENT-PLAYBOOK.md).
|
|
96
|
+
Upgrade an *existing* skill's prompt (not its behavior) with
|
|
97
|
+
`enhance-skill-prompts`.
|
|
98
|
+
|
|
99
|
+
| # | Technique | One-line rule |
|
|
100
|
+
|---|-----------|---------------|
|
|
101
|
+
| T1 | Degrees of freedom | Declare register under the H1; tag fragile phases LOW, interpretive HIGH |
|
|
102
|
+
| T2 | Classification contract | One named-stage record of what a finding contains, at judgment points; it never steers thinking ("think step by step") |
|
|
103
|
+
| T3 | One worked example | Chain and output shape on one realistic case, labeled illustrative |
|
|
104
|
+
| T4 | Self-critique rubric | Evidence conditions the output must satisfy (a command re-run, a form re-searched, a file listed) — never generic "double-check your work" items, which the model does unprompted |
|
|
105
|
+
| T5 | Terminology consistency | One term per concept |
|
|
106
|
+
| T6 | Conciseness | Cut restatements of trained defaults; never trim a LOW-freedom step's exactness |
|
|
107
|
+
| T7 | Effort declaration | `effort: high` for judgment, `low` for mechanical, omit for implementation (Step 4) |
|
|
108
|
+
| T8 | Volume, shape, communication | Each rule once at normal volume with its reason; outcomes, not choreography; never suppress updates |
|
|
109
|
+
|
|
110
|
+
House limits: description ≤320 chars (Claude Code caps description + `when_to_use` at 1,536), body <500 lines, `name` matches dir. Every description rides in every request — roughly 168 skills × 300 chars is 12-15k always-on tokens — so a description earns its length by routing, and a ritual nobody should auto-trigger goes `disable-model-invocation: true`.
|
|
111
|
+
Never write the retired layout alias (use `audit-responsive`).
|
|
112
|
+
|
|
113
|
+
## How to reason
|
|
114
|
+
|
|
115
|
+
1. **Observe** — the intended trigger, stance, and existing neighbor skills
|
|
116
|
+
2. **Interpret** — new skill vs prompt-only upgrade of an existing one
|
|
117
|
+
3. **Classify** — family, freedom register, effort tier, T1–T8 that must be born in the file
|
|
118
|
+
4. **Severity** — a missing trigger or a wrong family is a routing bug
|
|
119
|
+
|
|
120
|
+
## Worked example
|
|
121
|
+
|
|
122
|
+
> **Observe:** user wants a skill for "pin down glossary terms before coding."
|
|
123
|
+
> **Interpret:** that is `docs-domain-modeling`, not a new unprefixed name.
|
|
124
|
+
> **Classify:** do not author `glossary`; update the existing skill or stop.
|
|
125
|
+
> **If truly new:** `docs-<topic>`, T1 under H1, one T3, T4 rubric, description carries the trigger.
|
|
126
|
+
|
|
127
|
+
## Self-critique before reporting
|
|
128
|
+
|
|
129
|
+
- **Name matches dir** and the family-first convention
|
|
130
|
+
- **T1–T4 present as headings/register**, not only mentioned in a table
|
|
131
|
+
- **Description** carries distinct triggers; no clone of a neighbor
|
|
132
|
+
- **Right owner** — prompt-only upgrade of an existing skill → `enhance-skill-prompts`
|
|
133
|
+
|
|
134
|
+
### Anatomy of a Skill
|
|
135
|
+
|
|
136
|
+
Every skill consists of a required SKILL.md file and optional bundled resources:
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
skill-name/
|
|
140
|
+
├── SKILL.md (required)
|
|
141
|
+
│ ├── YAML frontmatter metadata (required)
|
|
142
|
+
│ │ ├── name: (required)
|
|
143
|
+
│ │ └── description: (required)
|
|
144
|
+
│ └── Markdown instructions (required)
|
|
145
|
+
└── Bundled Resources (optional)
|
|
146
|
+
├── scripts/ - Executable code (Python/Bash/etc.)
|
|
147
|
+
├── references/ - Documentation intended to be loaded into context as needed
|
|
148
|
+
└── assets/ - Files used in output (templates, icons, fonts, etc.)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
#### SKILL.md (required)
|
|
152
|
+
|
|
153
|
+
Every SKILL.md consists of:
|
|
154
|
+
|
|
155
|
+
- **Frontmatter** (YAML): `name` and `description` route the skill (Claude Code also reads `when_to_use` and `paths`), so the description must say what the skill does and when it fires; the optional keys listed in Step 4 control effort, invocation, and context.
|
|
156
|
+
- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
|
|
157
|
+
|
|
158
|
+
#### Bundled Resources (optional)
|
|
159
|
+
|
|
160
|
+
##### Scripts (`scripts/`)
|
|
161
|
+
|
|
162
|
+
Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
|
|
163
|
+
|
|
164
|
+
- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
|
|
165
|
+
- **Example**: `scripts/rotate_pdf.py` for PDF rotation tasks
|
|
166
|
+
- **Benefits**: Token efficient, deterministic, may be executed without loading into context
|
|
167
|
+
- **Note**: Scripts may still need to be read by Claude for patching or environment-specific adjustments
|
|
168
|
+
|
|
169
|
+
##### References (`references/`)
|
|
170
|
+
|
|
171
|
+
Documentation and reference material intended to be loaded as needed into context to inform Claude's process and thinking.
|
|
172
|
+
|
|
173
|
+
- **When to include**: For documentation that Claude should reference while working
|
|
174
|
+
- **Examples**: `references/finance.md` for financial schemas, `references/mnda.md` for company NDA template, `references/policies.md` for company policies, `references/api_docs.md` for API specifications
|
|
175
|
+
- **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
|
|
176
|
+
- **Benefits**: Keeps SKILL.md lean, loaded only when Claude determines it's needed
|
|
177
|
+
- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
|
|
178
|
+
- **Avoid duplication**: Information should live in either SKILL.md or references files, not both
|
|
179
|
+
|
|
180
|
+
##### Assets (`assets/`)
|
|
181
|
+
|
|
182
|
+
Files not intended to be loaded into context, but rather used within the output Claude produces.
|
|
183
|
+
|
|
184
|
+
- **When to include**: When the skill needs files that will be used in the final output
|
|
185
|
+
- **Examples**: `assets/logo.png` for brand assets, `assets/slides.pptx` for PowerPoint templates, `assets/frontend-template/` for HTML/React boilerplate, `assets/font.ttf` for typography
|
|
186
|
+
- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
|
|
187
|
+
- **Benefits**: Separates output resources from documentation, enables Claude to use files without loading them into context
|
|
188
|
+
|
|
189
|
+
#### What to Not Include in a Skill
|
|
190
|
+
|
|
191
|
+
A skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:
|
|
192
|
+
|
|
193
|
+
- README.md
|
|
194
|
+
- INSTALLATION_GUIDE.md
|
|
195
|
+
- QUICK_REFERENCE.md
|
|
196
|
+
- CHANGELOG.md
|
|
197
|
+
- etc.
|
|
198
|
+
|
|
199
|
+
The skill should only contain the information needed for an AI agent to do the job at hand.
|
|
200
|
+
|
|
201
|
+
### Progressive Disclosure Design Principle
|
|
202
|
+
|
|
203
|
+
Skills use a three-level loading system to manage context efficiently:
|
|
204
|
+
|
|
205
|
+
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
206
|
+
2. **SKILL.md body** - When skill triggers (<5k words)
|
|
207
|
+
3. **Bundled resources** - As needed by Claude (Unlimited because scripts can be executed without reading into context window)
|
|
208
|
+
|
|
209
|
+
## Skill Creation Process
|
|
210
|
+
|
|
211
|
+
Skill creation involves these steps:
|
|
212
|
+
|
|
213
|
+
1. Understand the skill with concrete examples
|
|
214
|
+
2. Plan reusable skill contents (scripts, references, assets)
|
|
215
|
+
3. Initialize the skill
|
|
216
|
+
4. Edit the skill (implement resources and write SKILL.md)
|
|
217
|
+
5. Iterate based on real usage
|
|
218
|
+
|
|
219
|
+
### Step 1: Understanding the Skill with Concrete Examples
|
|
220
|
+
|
|
221
|
+
To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
|
|
222
|
+
|
|
223
|
+
For example, when building an image-editor skill, relevant questions include:
|
|
224
|
+
|
|
225
|
+
- "What functionality should the image-editor skill support? Editing, rotating, anything else?"
|
|
226
|
+
- "Can you give some examples of how this skill would be used?"
|
|
227
|
+
- "I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?"
|
|
228
|
+
- "What would a user say that should trigger this skill?"
|
|
229
|
+
|
|
230
|
+
Conclude this step when there is a clear sense of the functionality the skill should support.
|
|
231
|
+
|
|
232
|
+
### Step 2: Planning the Reusable Skill Contents
|
|
233
|
+
|
|
234
|
+
To turn concrete examples into an effective skill, analyze each example by:
|
|
235
|
+
|
|
236
|
+
1. Considering how to execute on the example from scratch
|
|
237
|
+
2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly
|
|
238
|
+
|
|
239
|
+
### Step 3: Initializing the Skill
|
|
240
|
+
|
|
241
|
+
Create the skill directory structure:
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
skill-name/
|
|
245
|
+
├── SKILL.md
|
|
246
|
+
├── scripts/ (optional)
|
|
247
|
+
├── references/ (optional)
|
|
248
|
+
└── assets/ (optional)
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### Step 4: Edit the Skill
|
|
252
|
+
|
|
253
|
+
When editing the skill, remember that the skill is being created for another instance of Claude to use. Include information that would be beneficial and non-obvious to Claude.
|
|
254
|
+
|
|
255
|
+
#### Update SKILL.md
|
|
256
|
+
|
|
257
|
+
**Writing Guidelines:** Imperative/infinitive form. Say exactly what you mean at normal volume and give the reason — MUST/NEVER/CRITICAL over-trigger, and hedges ("try to", "if possible") read as permission to under-deliver. State outcomes, constraints, and how to verify; keep numbered exact steps for fragile operations only (destructive commands, auth, migrations, baseline capture). No "think step by step", "be thorough", or "double-check" scaffolds — effort controls thinking and the model self-verifies; keep evidence-grounding rules ("cite the tool result"). The always-on verification rule already asks for an intent line, load-bearing notes, and a recap — do not repeat it per skill and never suppress it ("no preamble", "hold findings"); skills that run unattended say when the turn may end. Anti-formatting rules strip structure the reader wanted — say when formatting fits (lists for multifaceted content, prose otherwise). Model-agnostic guardrails stay: no deleting or skipping tests to go green, no weakened assertions, no metric gaming.
|
|
258
|
+
|
|
259
|
+
##### Frontmatter
|
|
260
|
+
|
|
261
|
+
Write the YAML frontmatter with `name` and `description`:
|
|
262
|
+
|
|
263
|
+
- `name`: The skill name
|
|
264
|
+
- `description`: This is the primary triggering mechanism for your skill, and helps Claude understand when to use the skill.
|
|
265
|
+
- Include both what the Skill does and specific triggers/contexts for when to use it.
|
|
266
|
+
- Include all "when to use" information here - Not in the body. The body is only loaded after triggering, so "When to Use This Skill" sections in the body are not helpful to Claude.
|
|
267
|
+
|
|
268
|
+
Other fields, all optional and ignored by hosts that do not know them:
|
|
269
|
+
|
|
270
|
+
- `effort:` — Opus 5.5 defaults to `medium` (earlier models defaulted to `high`), and effort is its only thinking control; prose like "think step by step" or "double-check" does nothing. Declare it by family:
|
|
271
|
+
|
|
272
|
+
| Family | `effort` |
|
|
273
|
+
|---|---|
|
|
274
|
+
| audit-*, plan-*, judge/reviewer agents, security, architecture, debug-* | `high` |
|
|
275
|
+
| the hardest planning only, with a measured gain | `xhigh` |
|
|
276
|
+
| ordinary implementation (build, enhance, workflow) | omit (medium) |
|
|
277
|
+
| mechanical / read-only / formatting / handoff / inventory / smoke checks | `low` |
|
|
278
|
+
|
|
279
|
+
- `disable-model-invocation: true` — user-only rituals (see "Invocation — who pays the cost").
|
|
280
|
+
- `user-invocable: false` — reference-only skills that other skills load (protocols, maps); hidden from the menu, still model-loadable.
|
|
281
|
+
- `context: fork` + `agent: Explore` — a read-only inventory skill that should not fill the main context.
|
|
282
|
+
- `license`.
|
|
283
|
+
|
|
284
|
+
##### Body
|
|
285
|
+
|
|
286
|
+
Write using the skill and its bundled resources.
|
|
287
|
+
|
|
288
|
+
### Step 5: Iterate
|
|
289
|
+
|
|
290
|
+
After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.
|
|
291
|
+
|
|
292
|
+
**Iteration workflow:**
|
|
293
|
+
|
|
294
|
+
1. Use the skill on real tasks
|
|
295
|
+
2. Notice struggles or inefficiencies
|
|
296
|
+
3. Identify how SKILL.md or bundled resources should be updated
|
|
297
|
+
4. Implement changes and test again
|
|
298
|
+
|
|
299
|
+
## Related
|
|
300
|
+
|
|
301
|
+
- `audit-skill-conflicts` — after a batch of skills: contradictions, trigger overlap, stale refs
|
|
302
|
+
- `enhance-skill-prompts` — upgrade an existing skill's prompt (T1–T8), not its behavior
|
|
303
|
+
- `meta-mcp-builder` — MCP servers, not SKILL.md
|
|
304
|
+
- `enhance-agent-guardrails` — app-repo policy, not pack authoring
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mobile-capacitor-platform
|
|
3
|
+
description: >
|
|
4
|
+
Capacitor work beyond UI: plugins, OTA, deep links, push, offline, native
|
|
5
|
+
CI/CD, store submission, Cordova migration. Use for "add push
|
|
6
|
+
notifications", "deep linking", "OTA update", "native build CI", "App Store
|
|
7
|
+
rejection", or "migrate to Capacitor".
|
|
8
|
+
license: MIT
|
|
9
|
+
paths:
|
|
10
|
+
- "**/ios/**"
|
|
11
|
+
- "**/android/**"
|
|
12
|
+
- "**/app.json"
|
|
13
|
+
- "**/app.config.*"
|
|
14
|
+
- "**/capacitor.config.*"
|
|
15
|
+
- "**/*.gradle"
|
|
16
|
+
- "**/Podfile"
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Capacitor Platform & Pipeline
|
|
20
|
+
|
|
21
|
+
**Degree of freedom: MIXED.** Which area to tackle `[HIGH freedom]`; Capacitor
|
|
22
|
+
major matching, `cap sync`, secrets, and store preflight
|
|
23
|
+
`[LOW freedom — run exactly]`.
|
|
24
|
+
|
|
25
|
+
> The native-runtime and shipping layer for Capacitor apps. `enhance-capacitor-ui` handles cross-surface *layout architecture*; this skill handles *platform features, native builds, store submission, and migrations*.
|
|
26
|
+
>
|
|
27
|
+
> Distilled from [cap-go/capgo-skills](https://github.com/cap-go/capgo-skills) (MIT). For deep per-task playbooks, install the full pack: `npx skills add Cap-go/capgo-skills` or `claude plugin marketplace add Cap-go/capgo-skills`.
|
|
28
|
+
|
|
29
|
+
## How to reason
|
|
30
|
+
|
|
31
|
+
1. **Version** — `@capacitor/core` major; plugin majors must match
|
|
32
|
+
2. **Choose** — plugin, deep link, push, offline, OTA, CI, or store
|
|
33
|
+
3. **Wire** — entitlements, config, and native files for that capability
|
|
34
|
+
4. **Prove** — both platforms or CI iOS; secrets never in the JS bundle
|
|
35
|
+
|
|
36
|
+
## Worked example
|
|
37
|
+
|
|
38
|
+
> **Version:** Capacitor 8 in `package.json`; `@capacitor/push-notifications` is still v5.
|
|
39
|
+
> **Choose:** push — FCM + APNs, not an OTA problem.
|
|
40
|
+
> **Wire:** bump plugin to v8, `npx cap sync`, APNs entitlement, `google-services.json`.
|
|
41
|
+
> **Prove:** emulator tap opens the deep-linked screen; no keystore in git.
|
|
42
|
+
|
|
43
|
+
## Self-critique before reporting
|
|
44
|
+
|
|
45
|
+
- **Majors match** — every plugin major equals the Capacitor major
|
|
46
|
+
- **Native config present** — entitlements / usage strings / plist-or-json for the capability
|
|
47
|
+
- **Secrets out of band** — CI/Keychain only; never committed or bundled
|
|
48
|
+
- **Right owner** — form-factor layout → `enhance-capacitor-ui`; listing ASO → `plan-aso`; native-security plan-only → `plan-capacitor-hardening`
|
|
49
|
+
|
|
50
|
+
## Version discipline (do this first) [LOW freedom — run exactly]
|
|
51
|
+
- Read `package.json`: the Capacitor major (`@capacitor/core`) drives everything. Match plugin majors to it (Capacitor 8 → plugin v8).
|
|
52
|
+
- Check `capacitor.config.ts` for `appId`, `webDir`, `server.url` (live-reload vs bundled), and plugin config.
|
|
53
|
+
- Confirm the target platforms present (`ios/`, `android/`) before suggesting platform-specific steps.
|
|
54
|
+
|
|
55
|
+
## Pick the right area [HIGH freedom]
|
|
56
|
+
|
|
57
|
+
| Task | Approach |
|
|
58
|
+
|:-----|:---------|
|
|
59
|
+
| Choose a plugin | Prefer official `@capacitor/*`; for gaps check Capgo's 80+ plugin catalog. Verify the plugin major matches your Capacitor major and has active maintenance. |
|
|
60
|
+
| **Deep / universal links** | iOS Associated Domains + `apple-app-site-association`; Android intent filters + `assetlinks.json`. Handle cold-start vs warm via `appUrlOpen` listener. Test both install states. |
|
|
61
|
+
| **Push notifications** | `@capacitor/push-notifications` → FCM (Android) + APNs (iOS). Register token, handle foreground vs background, deep-link from tap. Verify entitlements + `GoogleService-Info.plist` / `google-services.json`. |
|
|
62
|
+
| **Offline-first** | Cache + queue writes; reconcile on reconnect. Use a real DB plugin (SQLite / Fast SQL), not localStorage, for structured data. Define the conflict-resolution rule explicitly. |
|
|
63
|
+
| **Keyboard** | `@capacitor/keyboard` — resize mode, scroll-into-view on focus, accessory bar. The #1 source of "input hidden behind keyboard" bugs. |
|
|
64
|
+
| **Safe area / notch** | Use safe-area insets (env vars / plugin), not hardcoded padding. Account for notch, Dynamic Island, home indicator, Android gesture nav. (Pairs with `enhance-capacitor-ui`.) |
|
|
65
|
+
| **Splash screen** | Configure via plugin + native assets; hide programmatically after first paint to avoid white flash. |
|
|
66
|
+
|
|
67
|
+
## Shipping pipeline [LOW freedom — run exactly]
|
|
68
|
+
|
|
69
|
+
### Live / OTA updates (the Capacitor superpower)
|
|
70
|
+
- Push JS/HTML/CSS instantly without store review (Capgo or equivalent). **Native code changes still require a store build.**
|
|
71
|
+
- Gate updates by channel (production / beta), run compatibility checks, and keep a rollback path. Never OTA a bundle that assumes a newer native plugin than the installed binary.
|
|
72
|
+
|
|
73
|
+
### Native build CI/CD
|
|
74
|
+
- GitHub Actions / GitLab CI / Fastlane for signed iOS + Android artifacts. iOS signing needs certs + provisioning profiles in CI secrets (never commit `*.keystore`, `*.p12`, `local.properties`).
|
|
75
|
+
- Standard chain: `npm ci` → web build → `npx cap sync` → native build (xcodebuild / Gradle) → sign → upload (TestFlight / Play internal track).
|
|
76
|
+
- For Linux/Windows devs: iOS builds run on **macOS CI runners**, not locally — declare "ready for CI", never "iOS verified" locally.
|
|
77
|
+
|
|
78
|
+
### Store submission
|
|
79
|
+
- **Apple preflight before every submit:** privacy manifest (`PrivacyInfo.xcprivacy`), ATT prompt if tracking, permission usage strings, no private APIs, account-deletion path if there are accounts. Most rejections are preflightable.
|
|
80
|
+
- Play Store: target API level current, data-safety form, 16KB page-size alignment for native libs.
|
|
81
|
+
|
|
82
|
+
### Security
|
|
83
|
+
- Run a Capacitor security scan (Capsec: `npx @capgo/capgo-sec scan --ci`) — catches hardcoded secrets, insecure storage, network security, auth weaknesses. Wire into CI to fail on high/critical.
|
|
84
|
+
|
|
85
|
+
## Migrations
|
|
86
|
+
| From | To | Notes |
|
|
87
|
+
|:-----|:---|:------|
|
|
88
|
+
| Web app / PWA | Capacitor | `npx cap init` → add platforms → wire plugins for native bits → store-ready. |
|
|
89
|
+
| Cordova / PhoneGap | Capacitor | Map plugins to Capacitor equivalents; many Cordova plugins still work but prefer native Capacitor ones. |
|
|
90
|
+
| CocoaPods | Swift Package Manager | iOS dependency migration; check each plugin supports SPM. |
|
|
91
|
+
| SQLite plugin | Fast SQL | Performance migration for data-heavy apps. |
|
|
92
|
+
|
|
93
|
+
## Definition of done (Capacitor) [LOW freedom — do not skip]
|
|
94
|
+
- [ ] Plugin majors match the Capacitor major; `npx cap sync` run after any native dep change.
|
|
95
|
+
- [ ] Feature tested on a real device or emulator for **both** iOS and Android (or CI for iOS).
|
|
96
|
+
- [ ] Permissions / entitlements / native config present for any native capability used.
|
|
97
|
+
- [ ] Secrets are in CI/Keychain, never in the repo or the JS bundle.
|
|
98
|
+
- [ ] If OTA: the bundle is compatible with the shipped native binary.
|
|
99
|
+
|
|
100
|
+
## Composes with
|
|
101
|
+
- `enhance-capacitor-ui` — form-factor / platform / pointer layout architecture.
|
|
102
|
+
- `workflow-spec-tdd` — spec + TDD spine for the feature itself.
|
|
103
|
+
- `full-stack-ship-discipline` — backend deps deployed + verified.
|
|
104
|
+
- `enhance-web-*` — the underlying web UI the Capacitor shell renders.
|