@kensaurus/skills 0.0.0-stage → 2.1.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 +1790 -0
- package/LICENSE +21 -0
- package/LICENSE-APACHE +62 -0
- package/NOTICE +13 -0
- package/README.md +821 -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 +94 -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 +295 -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 +153 -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 +381 -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 +303 -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-ux-laws/SKILL.md +409 -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 +248 -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 +103 -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 +386 -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 +297 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Weekly growth review — funnel by source, top drop-off, one experiment, one post, scorecard row"
|
|
3
|
+
argument-hint: "[week or date range]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GTM Weekly
|
|
7
|
+
|
|
8
|
+
Run the **`iterate-gtm-weekly`** skill: pull Visit → Signup → Activated →
|
|
9
|
+
Habit → Paid → Refer by source for this week vs last, fill any launch
|
|
10
|
+
Results table older than 7 days, name the step with the largest absolute
|
|
11
|
+
loss, attribute last week's experiment with a number, choose exactly one
|
|
12
|
+
experiment and one post, append the scorecard row, schedule next week.
|
|
13
|
+
|
|
14
|
+
Production errors go to `iterate-post-launch`; blind funnel cells go to
|
|
15
|
+
`audit-analytics` first.
|
|
16
|
+
|
|
17
|
+
The full playbook lives in the **`iterate-gtm-weekly`** skill.
|
package/commands/gtm.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Take a shipped repo to market: plan → approve → measure → message → activate → be found → launch → weekly loop"
|
|
3
|
+
argument-hint: "[product url or repo path, optional 'phase N' to execute an approved phase]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# GTM
|
|
8
|
+
|
|
9
|
+
Run the **`workflow-gtm`** skill. Default to Step 1 (`plan-gtm`) unless an
|
|
10
|
+
approved `plan-gtm.md` already exists — then execute the named phase:
|
|
11
|
+
|
|
12
|
+
1. **Measure** → `audit-analytics`
|
|
13
|
+
2. **Message** → `enhance-web-conversion` (+ `enhance-readme` when the repo is the product)
|
|
14
|
+
3. **Activate** → `enhance-onboarding`
|
|
15
|
+
4. **Be found** → `enhance-web-seo`, `plan-aeo-readiness`
|
|
16
|
+
5. **Launch** → `docs-launch-kit`
|
|
17
|
+
6. **Loop** → `iterate-post-launch`
|
|
18
|
+
|
|
19
|
+
Nothing from Step 2 onward runs before its phase is approved. End with the
|
|
20
|
+
GTM scorecard (funnel before/after, skips named, next week's one fix).
|
|
21
|
+
|
|
22
|
+
The full playbook lives in the **`workflow-gtm`** skill.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Compact the current conversation into a handoff document for a fresh agent session"
|
|
3
|
+
argument-hint: "[what the next session will focus on]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /handoff
|
|
8
|
+
|
|
9
|
+
Follow the **`handoff`** skill: write a handoff document summarizing the current
|
|
10
|
+
conversation — state, ordered next steps, suggested skills, gotchas — so a fresh
|
|
11
|
+
agent can continue the work. Save to the OS temp directory (not the workspace),
|
|
12
|
+
redact secrets, reference existing artifacts by path instead of copying them,
|
|
13
|
+
and report verification state honestly per `verification-before-completion`.
|
|
14
|
+
|
|
15
|
+
If arguments were passed, treat them as the next session's focus.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Inventory parked work into one living BACKLOG.md — regenerate and diff, do not implement"
|
|
3
|
+
argument-hint: "[optional path to an existing BACKLOG.md]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Housekeep Backlog
|
|
8
|
+
|
|
9
|
+
Run the **`housekeep-backlog`** skill: scan the repo for unfinished
|
|
10
|
+
plans, deferred phases, TODO/FIXME markers, skipped tests, and open
|
|
11
|
+
audit findings; dedup; write or regenerate `docs/BACKLOG.md` with stable
|
|
12
|
+
`BL-` IDs and a new/done/stale diff.
|
|
13
|
+
|
|
14
|
+
Inventories only. Execution stays on `complete-everything` /
|
|
15
|
+
`burndown-full`. Decisions stay on `docs-adr`. Flag debt stays on
|
|
16
|
+
`workflow-feature-flag`.
|
|
17
|
+
|
|
18
|
+
The full playbook lives in the **`housekeep-backlog`** skill.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Organize a document tree by copy-not-move: hash inventory, dry run, labeled copies, search catalog, verify every source survived"
|
|
3
|
+
argument-hint: "[source folders] [destination root]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Housekeep Files
|
|
8
|
+
|
|
9
|
+
Run the **`housekeep-files`** skill on the folders named in the argument
|
|
10
|
+
(default: ask which Downloads / cloud-drive folders are in scope).
|
|
11
|
+
|
|
12
|
+
1. Inventory the top two levels and offer the layout options (root per
|
|
13
|
+
owner, one root with owners inside, PARA-lite); wait for the choice.
|
|
14
|
+
2. Write `plan.tsv` and `count-only.txt`; run `inventory`, then `dry-run`;
|
|
15
|
+
show the preview counts and any `indexed-in-place:secret` rows.
|
|
16
|
+
3. On approval run `apply`, then `verify`; report the verify exit code and
|
|
17
|
+
the storage added.
|
|
18
|
+
|
|
19
|
+
Copies only. Nothing is moved or deleted; retiring the originals is a
|
|
20
|
+
later, human-run step. Repository cleanup stays on `workflow-housekeep`.
|
|
21
|
+
|
|
22
|
+
The full playbook lives in the **`housekeep-files`** skill.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Consolidate accreted CI gates into one aggregator required check — apply phase by phase"
|
|
3
|
+
argument-hint: "[archaeology map or workflow path]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Housekeep Gates
|
|
8
|
+
|
|
9
|
+
Run the **`housekeep-gates`** skill: consume the `audit-gate-logic`
|
|
10
|
+
archaeology map, build one aggregator job that `needs:` every real check
|
|
11
|
+
and fails on failed **or skipped** dependencies, port unique value from
|
|
12
|
+
losers, then **delete** (do not disable) the rest.
|
|
13
|
+
|
|
14
|
+
**Net enforcement strictly ≥ before.** Branch-protection changes always
|
|
15
|
+
get explicit confirmation. Pipeline cost stays on `audit-cicd`. Installing
|
|
16
|
+
brand-new guard classes stays on `enhance-agent-guardrails`.
|
|
17
|
+
|
|
18
|
+
The full playbook lives in the **`housekeep-gates`** skill.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Make in-site navigation instant — Speculation Rules, bfcache, View Transitions, 103 Early Hints"
|
|
3
|
+
argument-hint: "[route or next-click path]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /instant-nav
|
|
8
|
+
|
|
9
|
+
Follow the **`enhance-web-instant-nav`** skill. First-load LCP/INP/CLS →
|
|
10
|
+
`audit-performance`. JS weight → `audit-bundle-size`. Pure SPA routing →
|
|
11
|
+
framework prefetch, not this skill.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Data-integrity & destructive-op audit — plan only, no migrations or tokens until approved"
|
|
3
|
+
argument-hint: "[path or scope]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
effort: high
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Data Integrity Plan
|
|
9
|
+
|
|
10
|
+
Run the **`plan-data-integrity`** skill: audit for destructive-operation and
|
|
11
|
+
data-loss risk (unsafe migrations, unguarded deletes, backups in the same
|
|
12
|
+
blast radius as prod). Restore drills and RPO/RTO stay on `/backup-plan`.
|
|
13
|
+
**Audit and plan only — run no migrations and add no tokens until the plan is
|
|
14
|
+
approved.**
|
|
15
|
+
|
|
16
|
+
Emit findings ranked by severity with locations and a phased safeguard
|
|
17
|
+
checklist. After approval, execute with `db-migrator` and `backend-patterns`.
|
|
18
|
+
|
|
19
|
+
The full playbook lives in the **`plan-data-integrity`** skill.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Write a versioned launch kit — Show HN, Product Hunt, Reddit, X/LinkedIn, article outline, release notes, calendar, UTMs"
|
|
3
|
+
argument-hint: "[version or release, optional channel list]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Launch Kit
|
|
8
|
+
|
|
9
|
+
Run the **`docs-launch-kit`** skill: build a claims table from the changelog
|
|
10
|
+
and repo, pick one problem-first angle, write native copy per channel, add a
|
|
11
|
+
calendar and UTM links, and save it as `docs/launch/<version>.md`.
|
|
12
|
+
|
|
13
|
+
Every number and feature in the copy must trace to the claims table. No vote
|
|
14
|
+
solicitation, no fabricated proof, maker disclosed on every channel.
|
|
15
|
+
|
|
16
|
+
The full playbook lives in the **`docs-launch-kit`** skill.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Reference for the essential MCP set (Firecrawl, Context7, Supabase) and headed playwright-cli — not the host /mcp manager"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MCP-Powered Development
|
|
6
|
+
|
|
7
|
+
> **Named `/mcp-guide` (not `/mcp`).** Claude Code and the Cursor CLI both reserve `/mcp` for managing MCP servers. This file says which connection to use. It does not start or list servers.
|
|
8
|
+
|
|
9
|
+
The default template (`mcp/mcp.json.template`) is three servers. Prefer a Cursor plugin when that plugin is already connected, and skip the matching stdio server.
|
|
10
|
+
|
|
11
|
+
## Essential
|
|
12
|
+
|
|
13
|
+
### Context7 — library docs
|
|
14
|
+
|
|
15
|
+
Current docs for the version this repo has pinned. Use it before implementing an unfamiliar library API.
|
|
16
|
+
|
|
17
|
+
### Firecrawl — web research
|
|
18
|
+
|
|
19
|
+
Authenticated search and page scrape. Keep `FIRECRAWL_NO_SEARCH_FEEDBACK=1` and `FIRECRAWL_NO_ENDPOINT_FEEDBACK=1`. The `research` skill owns the broad-search → deep-scrape → discovery sequence, including the WebSearch / WebFetch fallback when Firecrawl is not connected.
|
|
20
|
+
|
|
21
|
+
### Supabase — project data
|
|
22
|
+
|
|
23
|
+
Queries, auth, storage, and migrations for the configured project. Do not invent a project ref.
|
|
24
|
+
|
|
25
|
+
## Browser
|
|
26
|
+
|
|
27
|
+
Skills drive a **visible** browser with `playwright-cli` (`npx --yes @playwright/cli@latest`, `--headed` on `open`). Read `protocol-browser-anti-stall` first. The Playwright MCP is not the default and is not what the skills call.
|
|
28
|
+
|
|
29
|
+
## Not installed by default
|
|
30
|
+
|
|
31
|
+
Sequential Thinking is not shipped (ADR-0009) and the Playwright MCP exists only in `mcp/mcp-full.json.template`; do not plan on either. Reasoning depth is set by the effort level, not by a scratchpad server or by writing reasoning steps into the transcript.
|
|
32
|
+
|
|
33
|
+
## Which one
|
|
34
|
+
|
|
35
|
+
| Job | Use |
|
|
36
|
+
|-----|-----|
|
|
37
|
+
| Unfamiliar library API | Context7 for the pinned version, then Firecrawl if the docs page is not enough |
|
|
38
|
+
| Implementation patterns on the web | Firecrawl, or the host web search if it is not connected |
|
|
39
|
+
| Live database or auth state | Supabase |
|
|
40
|
+
| Click through a UI | playwright-cli, one user action at a time |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "App Store / Play submission-readiness audit — plan only, no manifest edits until approved"
|
|
3
|
+
argument-hint: "[app path or scope]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
effort: high
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Mobile Readiness Plan
|
|
9
|
+
|
|
10
|
+
Run the **`plan-mobile-readiness`** skill: audit a Capacitor/React Native app
|
|
11
|
+
for App Store and Play submission readiness (privacy manifest, data-safety,
|
|
12
|
+
permissions, metadata), then produce a readiness plan. **Audit and plan only —
|
|
13
|
+
edit no manifests until the plan is approved.**
|
|
14
|
+
|
|
15
|
+
Emit findings ranked by severity (submission blockers first) with a phased
|
|
16
|
+
checklist. After approval, execute with `plan-capacitor-hardening` and the
|
|
17
|
+
relevant mobile skills.
|
|
18
|
+
|
|
19
|
+
The full playbook lives in the **`plan-mobile-readiness`** skill.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Native RN-monorepo commands (Cursor)
|
|
2
|
+
|
|
3
|
+
Slash-command bundle for an RN + Web monorepo where the developer
|
|
4
|
+
is on **Linux/Windows (no Mac)** and iOS verification happens on
|
|
5
|
+
**GitHub Actions** macOS runners with TestFlight as the install
|
|
6
|
+
target.
|
|
7
|
+
|
|
8
|
+
## What's here
|
|
9
|
+
|
|
10
|
+
| Command | Domain | What it does |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `/android-build` | local | Build debug APK locally |
|
|
13
|
+
| `/android-install` | local | Install + launch on device/emulator |
|
|
14
|
+
| `/android-logcat` | local | Tail filtered Android logs |
|
|
15
|
+
| `/ios-ci-trigger` | CI | `gh workflow run …` for iOS |
|
|
16
|
+
| `/ios-ci-status` | CI | Check latest iOS CI run |
|
|
17
|
+
| `/ios-ci-logs` | CI | Diagnose failed iOS CI run |
|
|
18
|
+
| `/rn-verify` | local | Smoke test: TS + lint + Android compile + web typecheck |
|
|
19
|
+
| `/rn-reset` | local | Full local cache reset |
|
|
20
|
+
| `/rn-ship-ios` | combined | Verify → push → trigger iOS CI → watch |
|
|
21
|
+
|
|
22
|
+
## Install into a project
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
mkdir -p <project>/.cursor/commands
|
|
26
|
+
cp ~/skills/commands/native-rn-monorepo/*.md <project>/.cursor/commands/
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
(Skip this `README.md` — it's documentation, not a slash command.)
|
|
30
|
+
|
|
31
|
+
## Customisation required after install
|
|
32
|
+
|
|
33
|
+
1. Run `gh workflow list` in the project and replace `ios.yml` in
|
|
34
|
+
`ios-ci-trigger.md`, `ios-ci-status.md`, `ios-ci-logs.md`, and
|
|
35
|
+
`rn-ship-ios.md` with the actual iOS workflow filename.
|
|
36
|
+
2. If your monorepo uses nested paths (e.g. `apps/mobile/android/`),
|
|
37
|
+
replace `android` with the correct path in `/android-build`,
|
|
38
|
+
`/android-install`, `/android-logcat`, and `/rn-verify`.
|
|
39
|
+
3. Verify `gh` is authenticated (`gh auth status`) — every iOS
|
|
40
|
+
command depends on it.
|
|
41
|
+
4. Confirm the iOS workflow accepts a `workflow_dispatch` trigger
|
|
42
|
+
with the inputs you reference (most commonly `platform`,
|
|
43
|
+
`track`, or `clear-cache`).
|
|
44
|
+
|
|
45
|
+
## The shipping loop
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
edit
|
|
49
|
+
↓
|
|
50
|
+
/rn-verify (TS + lint + Android Kotlin compile)
|
|
51
|
+
↓
|
|
52
|
+
/android-build (full debug APK + install on emulator)
|
|
53
|
+
↓
|
|
54
|
+
test on Android emulator
|
|
55
|
+
↓
|
|
56
|
+
/rn-ship-ios (verify → push → CI → TestFlight)
|
|
57
|
+
↓
|
|
58
|
+
TestFlight installs build on iPhone (Apple processing ~5–30 min)
|
|
59
|
+
↓
|
|
60
|
+
/ios-ci-logs (only if anything failed)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Why these commands?
|
|
64
|
+
|
|
65
|
+
- **iOS macOS runners cost ~10× Linux runners.** The
|
|
66
|
+
verify-locally-first gate in `/rn-ship-ios` exists to avoid
|
|
67
|
+
shipping known-broken code to a 15-minute build.
|
|
68
|
+
- **Apple processing is asynchronous.** The status / logs commands
|
|
69
|
+
are explicit that workflow `success` ≠ "TestFlight available."
|
|
70
|
+
- **Logcat without a filter is unusable.** `/android-logcat` scopes
|
|
71
|
+
to the package PID and surfaces only the categories that matter
|
|
72
|
+
for RN apps (`ReactNative*`, `AndroidRuntime`, `ANR`, `FATAL`).
|
|
73
|
+
|
|
74
|
+
## Companion rules
|
|
75
|
+
|
|
76
|
+
The matching `.mdc` rule bundle lives at
|
|
77
|
+
`~/skills/rules/native-rn-monorepo/`. Install both together
|
|
78
|
+
so the agent has both the *what* (rules) and the *how* (commands).
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Build the Android debug APK locally and confirm BUILD SUCCESSFUL"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /android-build
|
|
6
|
+
|
|
7
|
+
Build the Android app in debug mode and verify success.
|
|
8
|
+
|
|
9
|
+
## Steps
|
|
10
|
+
|
|
11
|
+
1. From repo root: `cd android && ./gradlew :app:assembleDebug --console=plain`
|
|
12
|
+
2. Parse the output for `BUILD SUCCESSFUL` or `BUILD FAILED`.
|
|
13
|
+
3. If `BUILD FAILED`, identify the first compilation error in the
|
|
14
|
+
output, propose a fix, and re-run after applying it.
|
|
15
|
+
4. If `BUILD SUCCESSFUL`, report the APK path:
|
|
16
|
+
`android/app/build/outputs/apk/debug/app-debug.apk`.
|
|
17
|
+
5. If the build is slow (>2 min), check the Gradle daemon status
|
|
18
|
+
with `./gradlew --status`.
|
|
19
|
+
|
|
20
|
+
## Don't
|
|
21
|
+
|
|
22
|
+
- Don't declare success without seeing `BUILD SUCCESSFUL` in stdout.
|
|
23
|
+
- Don't suggest cleaning + rebuilding as a first response to errors
|
|
24
|
+
— fix the actual error.
|
|
25
|
+
- Don't bump SDK or AGP versions to "fix" build errors unless the
|
|
26
|
+
user explicitly asks.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Install the debug build on a connected device or emulator and launch it"
|
|
3
|
+
effort: low
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /android-install
|
|
7
|
+
|
|
8
|
+
Install the debug build on a connected device or emulator and
|
|
9
|
+
launch it.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Confirm a device is connected: `adb devices`.
|
|
14
|
+
- If output shows no devices, ask the user to start an emulator
|
|
15
|
+
or plug in a device.
|
|
16
|
+
- If multiple devices, ask which one (or confirm the first
|
|
17
|
+
listed).
|
|
18
|
+
2. Read the package name from `android/app/src/main/AndroidManifest.xml`
|
|
19
|
+
(`package=` attribute) or from `android/app/build.gradle`
|
|
20
|
+
`applicationId`.
|
|
21
|
+
3. Install: `cd android && ./gradlew :app:installDebug`
|
|
22
|
+
4. If install fails with `INSTALL_FAILED_VERSION_DOWNGRADE` or
|
|
23
|
+
`INSTALL_FAILED_UPDATE_INCOMPATIBLE`:
|
|
24
|
+
- Run `adb uninstall <package_name>` then retry installDebug.
|
|
25
|
+
5. Launch: `adb shell monkey -p <package_name> -c android.intent.category.LAUNCHER 1`
|
|
26
|
+
6. Optionally tail logs (use `/android-logcat` separately).
|
|
27
|
+
|
|
28
|
+
## Don't
|
|
29
|
+
|
|
30
|
+
- Don't `adb uninstall` without warning — it wipes app data.
|
|
31
|
+
- Don't install on multiple devices simultaneously without
|
|
32
|
+
confirming.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Tail logcat scoped to this app's PID and summarize crashes, bridge errors, and ANRs"
|
|
3
|
+
effort: low
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /android-logcat
|
|
7
|
+
|
|
8
|
+
Tail Android logcat scoped to this app and surface anything
|
|
9
|
+
notable.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read package name from
|
|
14
|
+
`android/app/src/main/AndroidManifest.xml` (`package=`
|
|
15
|
+
attribute).
|
|
16
|
+
2. Get the running PID: `adb shell pidof -s <package_name>`
|
|
17
|
+
3. If a PID exists:
|
|
18
|
+
```
|
|
19
|
+
adb logcat --pid=<pid>
|
|
20
|
+
```
|
|
21
|
+
4. If no PID (app not running), use a tag-based filter:
|
|
22
|
+
```
|
|
23
|
+
adb logcat *:S ReactNative:V ReactNativeJS:V AndroidRuntime:E
|
|
24
|
+
```
|
|
25
|
+
5. Capture ~50 lines, then summarize:
|
|
26
|
+
- Any `FATAL EXCEPTION` or `AndroidRuntime` crashes (with stack
|
|
27
|
+
trace summary)
|
|
28
|
+
- Any `ReactNative` bridge errors
|
|
29
|
+
- Any `ANR` (Application Not Responding) warnings
|
|
30
|
+
- Any obvious permission denials
|
|
31
|
+
|
|
32
|
+
## Don't
|
|
33
|
+
|
|
34
|
+
- Don't dump raw logcat output without summarizing.
|
|
35
|
+
- Don't run `adb logcat` without a filter — it's overwhelming.
|
|
36
|
+
- Don't `adb logcat -c` (clear buffer) unless explicitly asked —
|
|
37
|
+
it loses context.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Fetch the latest failed iOS CI run's logs and categorize the failure"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /ios-ci-logs
|
|
6
|
+
|
|
7
|
+
Fetch logs from the latest failed iOS CI build and diagnose.
|
|
8
|
+
|
|
9
|
+
## Steps
|
|
10
|
+
|
|
11
|
+
1. Find the latest failed run:
|
|
12
|
+
```
|
|
13
|
+
gh run list --workflow=ios.yml --limit=10 --json databaseId,conclusion,displayTitle,headBranch
|
|
14
|
+
```
|
|
15
|
+
Pick the most recent with `"conclusion": "failure"`.
|
|
16
|
+
|
|
17
|
+
2. Get the failed job(s) and steps:
|
|
18
|
+
```
|
|
19
|
+
gh run view <run-id> --log-failed
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
3. Identify the failure category. Common iOS CI failure modes for
|
|
23
|
+
RN projects:
|
|
24
|
+
|
|
25
|
+
| Symptom in logs | Likely cause |
|
|
26
|
+
|---|---|
|
|
27
|
+
| `No matching provisioning profiles found` | Profile expired or bundle ID mismatch |
|
|
28
|
+
| `Code signing is required for product type 'Application'` | Missing/wrong signing identity in CI |
|
|
29
|
+
| `error: Sandbox: bash(...) deny(1) file-write-create` | Hermes/RN script needs entitlements or permissions tweak |
|
|
30
|
+
| `ld: framework not found` | Pod install missed a transitive dep — bump pod cache invalidation |
|
|
31
|
+
| `RCT-Folly compile error` | Xcode version mismatch with RN version |
|
|
32
|
+
| `pod install` fails with `CDN: trunk URL couldn't be downloaded` | CocoaPods CDN flake — retry |
|
|
33
|
+
| `Apple ID authentication failed` (during TestFlight upload) | App-specific password expired or App Store Connect API key rotated |
|
|
34
|
+
| `ITMS-90xxx` errors | Apple's validation rejected the build — read the message; usually missing usage strings or icon dimensions |
|
|
35
|
+
| `EX_BAD_ACCESS` during build | Random Xcode flake — re-run before investigating |
|
|
36
|
+
|
|
37
|
+
4. Report:
|
|
38
|
+
- The failed step name and the lines around the first real error (not the whole log).
|
|
39
|
+
- Categorized cause (from the table above or a new diagnosis).
|
|
40
|
+
- Concrete fix suggestion. For "random flake" categories,
|
|
41
|
+
suggest re-running before code changes.
|
|
42
|
+
|
|
43
|
+
5. If the failure looks transient, suggest:
|
|
44
|
+
```
|
|
45
|
+
gh run rerun <run-id> --failed
|
|
46
|
+
```
|
|
47
|
+
This re-runs only the failed jobs without re-doing successful
|
|
48
|
+
ones.
|
|
49
|
+
|
|
50
|
+
## Don't
|
|
51
|
+
|
|
52
|
+
- Don't dump the entire log — summarize.
|
|
53
|
+
- Don't propose code changes for transient/infra failures (cert
|
|
54
|
+
renewal, CDN flakes, runner issues).
|
|
55
|
+
- Don't suggest bumping Xcode or RN versions to "fix" a build error
|
|
56
|
+
without verifying that's actually the cause.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Check the latest iOS CI run status and whether the TestFlight upload step ran"
|
|
3
|
+
effort: low
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /ios-ci-status
|
|
7
|
+
|
|
8
|
+
Check the status of the most recent iOS CI build.
|
|
9
|
+
|
|
10
|
+
## Steps
|
|
11
|
+
|
|
12
|
+
1. List recent runs of the iOS workflow:
|
|
13
|
+
```
|
|
14
|
+
gh run list --workflow=ios.yml --limit=5
|
|
15
|
+
```
|
|
16
|
+
(Replace `ios.yml` with the actual filename — confirm with
|
|
17
|
+
`gh workflow list` once.)
|
|
18
|
+
|
|
19
|
+
2. Identify the latest run's status. Possible states:
|
|
20
|
+
- `queued` / `in_progress` → still running
|
|
21
|
+
- `completed` + conclusion `success` → built and (likely)
|
|
22
|
+
uploaded to TestFlight
|
|
23
|
+
- `completed` + conclusion `failure` → failed, recommend
|
|
24
|
+
`/ios-ci-logs`
|
|
25
|
+
- `completed` + conclusion `cancelled` → manually cancelled
|
|
26
|
+
|
|
27
|
+
3. For an in-progress run, optionally watch:
|
|
28
|
+
```
|
|
29
|
+
gh run watch <run-id>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
4. For a completed successful run, summarize:
|
|
33
|
+
- Run duration
|
|
34
|
+
- Commit SHA being built (from
|
|
35
|
+
`gh run view <run-id> --json headSha,displayTitle`)
|
|
36
|
+
- Whether TestFlight upload step ran (look for it in the job
|
|
37
|
+
list: `gh run view <run-id>`)
|
|
38
|
+
- Suggest checking TestFlight directly for processing status
|
|
39
|
+
(Apple's processing takes 5–30 min after upload)
|
|
40
|
+
|
|
41
|
+
5. If multiple recent runs failed, report the trend, not just the
|
|
42
|
+
latest. Repeated failures on the same step often indicate a
|
|
43
|
+
systemic issue (cert expired, provisioning profile mismatch,
|
|
44
|
+
dependency drift).
|
|
45
|
+
|
|
46
|
+
## Don't
|
|
47
|
+
|
|
48
|
+
- Don't poll repeatedly in a tight loop — once or twice is enough;
|
|
49
|
+
use `gh run watch` for live updates.
|
|
50
|
+
- Don't claim success based on workflow status alone if the
|
|
51
|
+
TestFlight upload step is in a separate job — verify that job
|
|
52
|
+
specifically.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Trigger the iOS GitHub Actions workflow for the pushed branch and report the run URL"
|
|
3
|
+
effort: low
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /ios-ci-trigger
|
|
7
|
+
|
|
8
|
+
Kick off the iOS build on GitHub Actions. Use after any change that
|
|
9
|
+
could affect iOS (native bridge code, `ios/` files, `Podfile`, RN
|
|
10
|
+
version bumps, or shared JS that's iOS-sensitive).
|
|
11
|
+
|
|
12
|
+
## Prereq
|
|
13
|
+
|
|
14
|
+
- `gh` CLI installed and authenticated: `gh auth status` should
|
|
15
|
+
show your account.
|
|
16
|
+
- The iOS workflow file exists at `.github/workflows/<filename>.yml`.
|
|
17
|
+
Confirm by listing: `gh workflow list`.
|
|
18
|
+
|
|
19
|
+
## Steps
|
|
20
|
+
|
|
21
|
+
1. Confirm clean working tree — uncommitted changes won't reach CI:
|
|
22
|
+
```
|
|
23
|
+
git status
|
|
24
|
+
```
|
|
25
|
+
If dirty, ask the user whether to commit/push first.
|
|
26
|
+
2. Confirm pushed:
|
|
27
|
+
```
|
|
28
|
+
git rev-parse HEAD
|
|
29
|
+
git ls-remote origin HEAD
|
|
30
|
+
```
|
|
31
|
+
These should match. If not, `git push` first.
|
|
32
|
+
3. Trigger the workflow (replace `ios.yml` with the actual filename
|
|
33
|
+
from `gh workflow list`):
|
|
34
|
+
```
|
|
35
|
+
gh workflow run ios.yml --ref <branch>
|
|
36
|
+
```
|
|
37
|
+
For workflow with inputs (e.g., a `clear-cache` flag):
|
|
38
|
+
```
|
|
39
|
+
gh workflow run ios.yml --ref <branch> -f clear-cache=true
|
|
40
|
+
```
|
|
41
|
+
4. Wait briefly for the run to register (workflow_dispatch can take
|
|
42
|
+
5–15s):
|
|
43
|
+
```
|
|
44
|
+
sleep 10
|
|
45
|
+
gh run list --workflow=ios.yml --limit=1
|
|
46
|
+
```
|
|
47
|
+
5. Report the run URL: `gh run view <run-id> --web` or just print
|
|
48
|
+
the URL.
|
|
49
|
+
6. Suggest follow-up: `/ios-ci-status` to check progress,
|
|
50
|
+
`/ios-ci-logs` if it fails.
|
|
51
|
+
|
|
52
|
+
## Don't
|
|
53
|
+
|
|
54
|
+
- Don't trigger on every commit — this burns macOS minutes (10x the
|
|
55
|
+
cost of Linux runners).
|
|
56
|
+
- Don't trigger from a dirty working tree without committing first
|
|
57
|
+
— CI builds the pushed HEAD, not your local files.
|
|
58
|
+
- Don't kick off duplicate runs while one is in progress — cancel
|
|
59
|
+
the old one or wait.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Full React Native cache reset (Metro, Watchman, node_modules, Gradle) for stale-state symptoms"
|
|
3
|
+
effort: low
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /rn-reset
|
|
7
|
+
|
|
8
|
+
Full reset of React Native caches when builds misbehave with
|
|
9
|
+
stale-state symptoms.
|
|
10
|
+
|
|
11
|
+
Linux/Windows version — no iOS local steps. iOS cache resets happen
|
|
12
|
+
on the CI runner.
|
|
13
|
+
|
|
14
|
+
## When to use
|
|
15
|
+
|
|
16
|
+
Symptoms that warrant this command:
|
|
17
|
+
|
|
18
|
+
- "Unable to resolve module" for a module that exists
|
|
19
|
+
- Metro showing stale code after edits
|
|
20
|
+
- Android build fails with `Duplicate class` errors after a
|
|
21
|
+
dependency change
|
|
22
|
+
- Hermes crashes that don't reproduce on a fresh checkout
|
|
23
|
+
|
|
24
|
+
Run this only for cache-related symptoms — it is slow and destructive.
|
|
25
|
+
|
|
26
|
+
## Steps
|
|
27
|
+
|
|
28
|
+
1. Stop Metro: `pkill -f "react-native start" || true` (Linux) or
|
|
29
|
+
`taskkill /F /IM node.exe` (Windows, careful — kills all node).
|
|
30
|
+
2. Clear Watchman if installed:
|
|
31
|
+
`watchman watch-del-all 2>/dev/null || true`
|
|
32
|
+
3. Clear Metro cache: `rm -rf $TMPDIR/metro-* $TMPDIR/haste-map-*`
|
|
33
|
+
(Linux) or `del /s /q %TEMP%\metro-* %TEMP%\haste-map-*`
|
|
34
|
+
(Windows).
|
|
35
|
+
4. Reinstall node_modules — match the lockfile present:
|
|
36
|
+
- `package-lock.json` → `rm -rf node_modules && npm install`
|
|
37
|
+
- `yarn.lock` → `rm -rf node_modules && yarn install`
|
|
38
|
+
- `pnpm-lock.yaml` → `rm -rf node_modules && pnpm install`
|
|
39
|
+
5. Android Gradle: `cd android && ./gradlew clean && cd ..`
|
|
40
|
+
6. Restart Metro: `npx react-native start --reset-cache`
|
|
41
|
+
|
|
42
|
+
For iOS: a CI re-run with caches cleared. Trigger via
|
|
43
|
+
`/ios-ci-trigger` with the `clear-cache` input if your workflow
|
|
44
|
+
supports it.
|
|
45
|
+
|
|
46
|
+
## Don't
|
|
47
|
+
|
|
48
|
+
- Don't run this in CI — it's a local-debugging tool.
|
|
49
|
+
- Don't do this without committing or stashing in-flight changes
|
|
50
|
+
first.
|