@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,453 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workflow-housekeep
|
|
3
|
+
description: >
|
|
4
|
+
Repository maintenance: sync the README, remove confirmed dead artifacts,
|
|
5
|
+
update dependencies safely. Use when "housekeep", "clean up repo", "update
|
|
6
|
+
README", or "update dependencies". Unused exports → plan-dead-code. Parked
|
|
7
|
+
work → housekeep-backlog.
|
|
8
|
+
license: MIT
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Repo Housekeep
|
|
12
|
+
|
|
13
|
+
**Degree of freedom: MIXED.** What is dead vs still referenced `[HIGH freedom]`;
|
|
14
|
+
delete-only-after-proof and dependency bump commands `[LOW freedom — run exactly]`.
|
|
15
|
+
|
|
16
|
+
## How to reason
|
|
17
|
+
|
|
18
|
+
1. **Observe** — README drift, unused files, outdated deps
|
|
19
|
+
2. **Interpret** — unused by search, or only unused in this package?
|
|
20
|
+
3. **Classify** — sync docs / delete / bump / leave
|
|
21
|
+
4. **Severity** — deleting a file still imported is a break
|
|
22
|
+
|
|
23
|
+
## Worked example
|
|
24
|
+
|
|
25
|
+
> **Observe:** `OldButton.tsx` has zero imports; README still lists a removed script; patch bump available.
|
|
26
|
+
> **Interpret:** file is dead; README is stale; bump is safe if tests pass.
|
|
27
|
+
> **Classify:** delete the file after `rg` + import check; sync README; bump patch.
|
|
28
|
+
> **Do not** delete `housekeep-design` token work — that is another skill.
|
|
29
|
+
|
|
30
|
+
## Self-critique before reporting
|
|
31
|
+
|
|
32
|
+
- **Proven unused** — imports, refs, config, git history checked
|
|
33
|
+
- **README matches** — scripts and paths in the README actually exist
|
|
34
|
+
- **Tests after bump** — dependency update was not a silent break
|
|
35
|
+
- **Right owner** — unused files/exports/deps → `plan-dead-code`; parked work → `housekeep-backlog`; token SSOT → `housekeep-design`; CI gates → `housekeep-gates`
|
|
36
|
+
|
|
37
|
+
Full-cycle repository maintenance: documentation sync, dead file removal, dependency updates, and research-driven cleanup.
|
|
38
|
+
Works with **any project** — auto-detects tech stack, package manager, and structure.
|
|
39
|
+
|
|
40
|
+
## Rules [LOW freedom — do not skip]
|
|
41
|
+
|
|
42
|
+
> **Delete a file only after proving it unused.**
|
|
43
|
+
> Check imports, references, git blame, and config entries first — a file that is still imported breaks the build when it goes.
|
|
44
|
+
|
|
45
|
+
> **Research the changelog before any major-version bump.**
|
|
46
|
+
> Majors carry breaking changes; a blind upgrade turns maintenance into an outage.
|
|
47
|
+
|
|
48
|
+
> **README must reflect reality, not aspiration.**
|
|
49
|
+
> Only document what currently exists in the codebase.
|
|
50
|
+
|
|
51
|
+
> **Commit each phase separately.**
|
|
52
|
+
> Documentation, cleanup, and dependency updates are independent concerns.
|
|
53
|
+
|
|
54
|
+
> **Parked-work register is a different skill.**
|
|
55
|
+
> Unfinished plans, TODOs, skipped tests → `housekeep-backlog`. This skill
|
|
56
|
+
> does README / dead files / deps. A housekeep pass may *schedule* a
|
|
57
|
+
> backlog regeneration; it does not invent the register.
|
|
58
|
+
|
|
59
|
+
> **Module-graph dead code is a different skill.**
|
|
60
|
+
> This skill deletes *artifacts* — logs, `.bak` files, build output,
|
|
61
|
+
> committed screenshots — things dead by inspection. **Unused source
|
|
62
|
+
> files, exports, types, and dependencies belong to `plan-dead-code`
|
|
63
|
+
> (audit) and `housekeep-dead-code` (delete + ratchet)**, because proving
|
|
64
|
+
> those dead needs a configured module graph, not a `rg` pass.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Step 0: Auto-Detect Project Configuration [LOW freedom — run exactly]
|
|
69
|
+
|
|
70
|
+
### 0a. Detect Tech Stack
|
|
71
|
+
|
|
72
|
+
Read the dependency manifest to determine the ecosystem:
|
|
73
|
+
|
|
74
|
+
| File | Ecosystem | Package Manager |
|
|
75
|
+
|------|-----------|-----------------|
|
|
76
|
+
| `package.json` + `package-lock.json` | Node.js | npm |
|
|
77
|
+
| `package.json` + `pnpm-lock.yaml` | Node.js | pnpm |
|
|
78
|
+
| `package.json` + `yarn.lock` | Node.js | yarn |
|
|
79
|
+
| `package.json` + `bun.lockb` | Node.js | bun |
|
|
80
|
+
| `requirements.txt` / `pyproject.toml` | Python | pip / poetry / uv |
|
|
81
|
+
| `Cargo.toml` | Rust | cargo |
|
|
82
|
+
| `go.mod` | Go | go mod |
|
|
83
|
+
| `Gemfile` | Ruby | bundler |
|
|
84
|
+
| `build.gradle` / `pom.xml` | Java/Kotlin | gradle / maven |
|
|
85
|
+
| `pubspec.yaml` | Dart/Flutter | pub |
|
|
86
|
+
| `composer.json` | PHP | composer |
|
|
87
|
+
|
|
88
|
+
### 0b. Detect Project Structure
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
Glob("README*")
|
|
92
|
+
Glob("**/*readme*")
|
|
93
|
+
Glob("**/CHANGELOG*")
|
|
94
|
+
Glob("**/.env*")
|
|
95
|
+
Glob("**/*.log")
|
|
96
|
+
Glob("**/dist/**")
|
|
97
|
+
Glob("**/build/**")
|
|
98
|
+
Glob("**/*.screenshot*")
|
|
99
|
+
Glob("**/*.png", in test/debug/temp folders)
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 0c. Record Configuration
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
ECOSYSTEM: [Node.js / Python / Rust / Go / etc.]
|
|
106
|
+
PKG_MANAGER: [npm / pnpm / yarn / bun / pip / poetry / cargo / etc.]
|
|
107
|
+
MANIFEST: [package.json / requirements.txt / Cargo.toml / etc.]
|
|
108
|
+
LOCKFILE: [package-lock.json / yarn.lock / etc.]
|
|
109
|
+
README_PATH: [README.md or detected path]
|
|
110
|
+
SRC_DIR: [src/ / app/ / lib/ / etc.]
|
|
111
|
+
BUILD_DIR: [dist/ / build/ / .next/ / out/ / etc.]
|
|
112
|
+
FRAMEWORK: [Next.js / React / Vue / Django / FastAPI / etc.]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Phase 1: README Sync [HIGH freedom]
|
|
118
|
+
|
|
119
|
+
Update the root README (and any folder-level READMEs) to reflect the **current** architecture.
|
|
120
|
+
|
|
121
|
+
### 1a. Discover Current Architecture
|
|
122
|
+
|
|
123
|
+
Read these files to understand what actually exists:
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
- Package manifest (package.json, etc.) — dependencies, scripts, name, description
|
|
127
|
+
- Entry point (src/index.ts, app/layout.tsx, main.py, etc.)
|
|
128
|
+
- Config files (next.config.*, vite.config.*, tsconfig.json, etc.)
|
|
129
|
+
- CI/CD (.github/workflows/*, vercel.json, netlify.toml, Dockerfile, etc.)
|
|
130
|
+
- Environment files (.env.example, .env.local) — list expected env vars
|
|
131
|
+
- Folder structure (top-level ls, then 2-level deep ls of src/)
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### 1b. Cross-Check README Against Reality
|
|
135
|
+
|
|
136
|
+
For each section in the existing README, verify:
|
|
137
|
+
|
|
138
|
+
| README Section | Verify Against |
|
|
139
|
+
|---------------|----------------|
|
|
140
|
+
| Project description | `package.json` name/description, actual functionality |
|
|
141
|
+
| Tech stack | Installed dependencies in manifest |
|
|
142
|
+
| Getting started / Setup | Actual scripts in `package.json`, required env vars |
|
|
143
|
+
| Folder structure | Real directory listing |
|
|
144
|
+
| API endpoints | Route files, API handlers |
|
|
145
|
+
| Features list | Actual implemented features (not planned/removed) |
|
|
146
|
+
| Environment variables | `.env.example` or config files |
|
|
147
|
+
| Deployment | CI/CD config, hosting config |
|
|
148
|
+
| Contributing | Linter config, test setup, pre-commit hooks |
|
|
149
|
+
|
|
150
|
+
### 1c. Rewrite Stale Sections
|
|
151
|
+
|
|
152
|
+
For each discrepancy found:
|
|
153
|
+
- **Missing feature in README**: Add it with accurate description
|
|
154
|
+
- **Removed feature still in README**: Delete the section
|
|
155
|
+
- **Outdated instructions**: Update to match current setup
|
|
156
|
+
- **Missing sections**: Add standard sections (see template below)
|
|
157
|
+
|
|
158
|
+
### 1d. README Template (adapt to project)
|
|
159
|
+
|
|
160
|
+
Use the README skeleton in [`references/templates.md`](references/templates.md)
|
|
161
|
+
and adapt each section to the detected stack.
|
|
162
|
+
|
|
163
|
+
### 1e. Folder READMEs
|
|
164
|
+
|
|
165
|
+
Check for any `*_readme.md` or `README.md` files in subdirectories. Update them if the folder contents have changed.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Phase 2: Dead File Cleanup [LOW freedom — run exactly]
|
|
170
|
+
|
|
171
|
+
Remove files that serve no purpose in the repository.
|
|
172
|
+
|
|
173
|
+
### 2a. Scan for Candidates
|
|
174
|
+
|
|
175
|
+
Search for these categories of dead files:
|
|
176
|
+
|
|
177
|
+
**Logs and debug output:**
|
|
178
|
+
```
|
|
179
|
+
Glob("**/*.log")
|
|
180
|
+
Glob("**/npm-debug.log*")
|
|
181
|
+
Glob("**/yarn-debug.log*")
|
|
182
|
+
Glob("**/yarn-error.log*")
|
|
183
|
+
Glob("**/debug.log")
|
|
184
|
+
Glob("**/.pnpm-debug.log*")
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
**Screenshots and temp images:**
|
|
188
|
+
```
|
|
189
|
+
Glob("**/screenshot*")
|
|
190
|
+
Glob("**/Screenshot*")
|
|
191
|
+
Glob("**/*.png", in root or non-asset directories)
|
|
192
|
+
Glob("**/*.jpg", in root or non-asset directories)
|
|
193
|
+
Glob("**/temp/**")
|
|
194
|
+
Glob("**/tmp/**")
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
**Build artifacts committed by mistake:**
|
|
198
|
+
```
|
|
199
|
+
Glob("**/dist/**")
|
|
200
|
+
Glob("**/build/**")
|
|
201
|
+
Glob("**/.next/**")
|
|
202
|
+
Glob("**/node_modules/**")
|
|
203
|
+
Glob("**/__pycache__/**")
|
|
204
|
+
Glob("**/*.pyc")
|
|
205
|
+
Glob("**/target/debug/**") (Rust)
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**Deprecated / dead code:**
|
|
209
|
+
```
|
|
210
|
+
Glob("**/*.bak")
|
|
211
|
+
Glob("**/*.old")
|
|
212
|
+
Glob("**/*.orig")
|
|
213
|
+
Glob("**/*deprecated*")
|
|
214
|
+
Glob("**/*DEPRECATED*")
|
|
215
|
+
Glob("**/*.backup")
|
|
216
|
+
Glob("**/*_old.*")
|
|
217
|
+
Glob("**/*_backup.*")
|
|
218
|
+
Glob("**/*.tmp")
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**IDE and OS artifacts:**
|
|
222
|
+
```
|
|
223
|
+
Glob("**/.DS_Store")
|
|
224
|
+
Glob("**/Thumbs.db")
|
|
225
|
+
Glob("**/*.swp")
|
|
226
|
+
Glob("**/*.swo")
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**Stale config files:**
|
|
230
|
+
```
|
|
231
|
+
Glob("**/.env.local") (should not be committed)
|
|
232
|
+
Glob("**/.env.production") (check if contains secrets)
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### 2b. Validate Before Deleting
|
|
236
|
+
|
|
237
|
+
For each candidate file:
|
|
238
|
+
|
|
239
|
+
1. **Check git blame**: When was it last modified? By whom?
|
|
240
|
+
2. **Check imports/references**: Is any code importing or referencing this file?
|
|
241
|
+
```
|
|
242
|
+
Grep for the filename across the codebase
|
|
243
|
+
```
|
|
244
|
+
3. **Check .gitignore**: Should this file type already be ignored?
|
|
245
|
+
4. **Check CI/CD**: Does any workflow reference this file?
|
|
246
|
+
|
|
247
|
+
**Classification:**
|
|
248
|
+
|
|
249
|
+
| Category | Action |
|
|
250
|
+
|----------|--------|
|
|
251
|
+
| Log files | Delete + add to `.gitignore` |
|
|
252
|
+
| Screenshots in non-asset dirs | Delete (or move to docs/ if referenced) |
|
|
253
|
+
| Build artifacts | Delete + verify in `.gitignore` |
|
|
254
|
+
| `.bak` / `.old` / `.orig` files | Delete (git has history) |
|
|
255
|
+
| IDE/OS artifacts | Delete + add to `.gitignore` |
|
|
256
|
+
| Secret files committed | Delete + rotate secrets + add to `.gitignore` |
|
|
257
|
+
| Deprecated code files | Verify unused → delete |
|
|
258
|
+
|
|
259
|
+
### 2c. Update .gitignore
|
|
260
|
+
|
|
261
|
+
After cleanup, ensure `.gitignore` prevents reoccurrence:
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
Check existing .gitignore covers:
|
|
265
|
+
- logs/ *.log
|
|
266
|
+
- build output dist/ build/ .next/ out/
|
|
267
|
+
- env files .env.local .env.production
|
|
268
|
+
- OS files .DS_Store Thumbs.db
|
|
269
|
+
- IDE files .idea/ .vscode/ (unless project uses shared settings)
|
|
270
|
+
- temp files *.tmp *.bak *.swp
|
|
271
|
+
- dependencies node_modules/ __pycache__/ target/
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### 2d. Dead Exports / Unused Code → hand off
|
|
275
|
+
|
|
276
|
+
**Do not run a dead-code sweep from this skill.** Unused source files,
|
|
277
|
+
exports, types, and dependencies are a module-graph question: on a first
|
|
278
|
+
run most findings are misconfiguration, and deleting them is how a cleanup
|
|
279
|
+
becomes an outage.
|
|
280
|
+
|
|
281
|
+
| Stack | Owner |
|
|
282
|
+
|-------|-------|
|
|
283
|
+
| TypeScript / JavaScript | `plan-dead-code` → `housekeep-dead-code` (`/deadcode`) |
|
|
284
|
+
| Python | `vulture` — same discipline: baseline and review before deleting |
|
|
285
|
+
|
|
286
|
+
`ts-prune` is in maintenance mode; its author points to Knip. Do not add it
|
|
287
|
+
to a project.
|
|
288
|
+
|
|
289
|
+
What this skill still owns here: noting that the handoff is needed, and
|
|
290
|
+
scheduling it. Record the finding and move on.
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Phase 3: Dependency Updates [HIGH freedom]
|
|
295
|
+
|
|
296
|
+
### 3a. Audit Current State
|
|
297
|
+
|
|
298
|
+
**Node.js:**
|
|
299
|
+
```bash
|
|
300
|
+
npm outdated # see what's behind
|
|
301
|
+
npm audit # check vulnerabilities
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
**Python:**
|
|
305
|
+
```bash
|
|
306
|
+
pip list --outdated
|
|
307
|
+
pip-audit # or safety check
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
**Rust:**
|
|
311
|
+
```bash
|
|
312
|
+
cargo outdated
|
|
313
|
+
cargo audit
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
**Go:**
|
|
317
|
+
```bash
|
|
318
|
+
go list -m -u all
|
|
319
|
+
govulncheck ./...
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
### 3b. Classify Updates
|
|
323
|
+
|
|
324
|
+
| Update Type | Risk | Action |
|
|
325
|
+
|-------------|------|--------|
|
|
326
|
+
| Patch (1.2.3 → 1.2.4) | Low | Auto-update |
|
|
327
|
+
| Minor (1.2.3 → 1.3.0) | Low-Medium | Auto-update, verify build |
|
|
328
|
+
| Major (1.2.3 → 2.0.0) | High | Research changelog first |
|
|
329
|
+
| Security fix (any) | Critical | Update immediately |
|
|
330
|
+
|
|
331
|
+
### 3c. Update Strategy
|
|
332
|
+
|
|
333
|
+
**Step 1: Fix vulnerabilities first**
|
|
334
|
+
```bash
|
|
335
|
+
npm audit fix # safe fixes only
|
|
336
|
+
npm audit fix --force # ONLY if safe fixes insufficient, review changes
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
**Step 2: Update patch + minor**
|
|
340
|
+
```bash
|
|
341
|
+
npm update # updates within semver range
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
Or for more control:
|
|
345
|
+
```bash
|
|
346
|
+
npx npm-check-updates -u -t minor # update package.json to latest minor
|
|
347
|
+
npm install # install updated versions
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
**Step 3: Research major updates**
|
|
351
|
+
|
|
352
|
+
For each major version bump available:
|
|
353
|
+
|
|
354
|
+
```json
|
|
355
|
+
firecrawl:firecrawl_search
|
|
356
|
+
{
|
|
357
|
+
"query": "<package-name> v<new-major> migration guide changelog breaking changes",
|
|
358
|
+
"limit": 3,
|
|
359
|
+
"sources": [{ "type": "web" }]
|
|
360
|
+
}
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
Recognizing the package is not knowing this major's changes — read the fetched changelog as written rather than answering from memory. Only apply major updates if:
|
|
364
|
+
- The migration is straightforward (no breaking API changes affecting this project)
|
|
365
|
+
- The current major version is EOL or has known security issues
|
|
366
|
+
- The project has tests to verify nothing breaks
|
|
367
|
+
|
|
368
|
+
**Step 4: Verify after updates**
|
|
369
|
+
```bash
|
|
370
|
+
npm run build # or equivalent
|
|
371
|
+
npm run lint # or equivalent
|
|
372
|
+
npm test # if tests exist
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
### 3d. Lock File Hygiene
|
|
376
|
+
|
|
377
|
+
- Ensure lock file is committed and up to date
|
|
378
|
+
- If lock file has conflicts or corruption: delete and regenerate
|
|
379
|
+
- Verify lock file matches the package manager in use
|
|
380
|
+
|
|
381
|
+
---
|
|
382
|
+
|
|
383
|
+
## Phase 4: Research-Driven General Cleanup [HIGH freedom]
|
|
384
|
+
|
|
385
|
+
### 4a. .gitignore Best Practices
|
|
386
|
+
|
|
387
|
+
Research the recommended `.gitignore` for the detected ecosystem:
|
|
388
|
+
|
|
389
|
+
```json
|
|
390
|
+
firecrawl:firecrawl_search
|
|
391
|
+
{
|
|
392
|
+
"query": "<framework> gitignore best practices <current year>",
|
|
393
|
+
"limit": 3,
|
|
394
|
+
"sources": [{ "type": "web" }]
|
|
395
|
+
}
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
Cross-check with https://github.com/github/gitignore templates.
|
|
399
|
+
|
|
400
|
+
### 4b. Config File Audit
|
|
401
|
+
|
|
402
|
+
Check for stale or redundant config:
|
|
403
|
+
|
|
404
|
+
| Config | Check |
|
|
405
|
+
|--------|-------|
|
|
406
|
+
| `tsconfig.json` | Target and lib match Node/browser version in use |
|
|
407
|
+
| `eslint` config | Not using deprecated rules or legacy config format |
|
|
408
|
+
| `prettier` config | Exists and is consistent with eslint |
|
|
409
|
+
| `.nvmrc` / `engines` | Matches current LTS or team's Node version |
|
|
410
|
+
| `browserslist` | Not targeting dead browsers |
|
|
411
|
+
| CI/CD config | Not using deprecated actions or outdated Node versions |
|
|
412
|
+
|
|
413
|
+
### 4c. Script Audit
|
|
414
|
+
|
|
415
|
+
Review all scripts in `package.json` (or equivalent):
|
|
416
|
+
- Remove scripts that reference deleted files or tools
|
|
417
|
+
- Verify all scripts actually work
|
|
418
|
+
- Add missing standard scripts (dev, build, lint, test, typecheck)
|
|
419
|
+
|
|
420
|
+
### 4d. Environment Variable Audit
|
|
421
|
+
|
|
422
|
+
- Verify `.env.example` lists all required vars
|
|
423
|
+
- Check no `.env` files with real secrets are committed
|
|
424
|
+
- Ensure env var names are consistent with usage in code
|
|
425
|
+
|
|
426
|
+
### 4e. TypeScript / Lint Config Modernization
|
|
427
|
+
|
|
428
|
+
If the project uses TypeScript:
|
|
429
|
+
- Check for `any` type usage that could be tightened
|
|
430
|
+
- Verify `strict` mode settings
|
|
431
|
+
- Check for unused `@ts-ignore` or `@ts-expect-error` comments
|
|
432
|
+
|
|
433
|
+
### 4f. License and Metadata
|
|
434
|
+
|
|
435
|
+
- `package.json`: verify `name`, `version`, `description`, `license`, `repository` are accurate
|
|
436
|
+
- `LICENSE` file: exists and matches `package.json` license field
|
|
437
|
+
- `CONTRIBUTING.md`: exists if the project accepts contributions
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
## Phase 5: Summary Report [LOW freedom — do not skip]
|
|
442
|
+
|
|
443
|
+
Produce a summary using the **Housekeep Report template** in
|
|
444
|
+
[`references/templates.md`](references/templates.md), filling in real values for
|
|
445
|
+
each phase.
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
## Quick Reference: Common Cleanup Commands
|
|
450
|
+
|
|
451
|
+
See the per-ecosystem command cheatsheet (outdated / audit / update / build
|
|
452
|
+
verify for npm, pnpm, yarn, pip, cargo, go) in
|
|
453
|
+
[`references/templates.md`](references/templates.md).
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Housekeep Templates
|
|
2
|
+
|
|
3
|
+
Reusable templates for `workflow-housekeep`: the README skeleton, the summary
|
|
4
|
+
report, and the per-ecosystem command cheatsheet. Adapt each to the project's
|
|
5
|
+
detected stack.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## README Template (adapt to project)
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
# Project Name
|
|
13
|
+
|
|
14
|
+
Brief description from package manifest + actual functionality.
|
|
15
|
+
|
|
16
|
+
## Tech Stack
|
|
17
|
+
|
|
18
|
+
[List ONLY what's in the dependency manifest — framework, UI lib, DB, auth, etc.]
|
|
19
|
+
|
|
20
|
+
## Getting Started
|
|
21
|
+
|
|
22
|
+
### Prerequisites
|
|
23
|
+
[Node version from .nvmrc/engines, other requirements]
|
|
24
|
+
|
|
25
|
+
### Installation
|
|
26
|
+
[Exact commands from package.json scripts]
|
|
27
|
+
|
|
28
|
+
### Environment Variables
|
|
29
|
+
[List from .env.example with descriptions]
|
|
30
|
+
|
|
31
|
+
### Development
|
|
32
|
+
[Dev server command, test command, lint command]
|
|
33
|
+
|
|
34
|
+
## Project Structure
|
|
35
|
+
[Actual directory tree, 2 levels deep]
|
|
36
|
+
|
|
37
|
+
## Deployment
|
|
38
|
+
[From CI/CD config — where it deploys, how]
|
|
39
|
+
|
|
40
|
+
## Scripts
|
|
41
|
+
[All scripts from package.json with descriptions]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Housekeep Report Template
|
|
47
|
+
|
|
48
|
+
Produce this at the end of a housekeep run, filling in real values.
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
## Housekeep Report — [Project Name]
|
|
52
|
+
|
|
53
|
+
### Configuration
|
|
54
|
+
- Ecosystem: [Node.js / Python / etc.]
|
|
55
|
+
- Package Manager: [npm / pnpm / yarn / etc.]
|
|
56
|
+
- Framework: [Next.js / React / Django / etc.]
|
|
57
|
+
|
|
58
|
+
### Phase 1: README Sync
|
|
59
|
+
- [x] Root README updated: [list of sections changed]
|
|
60
|
+
- [x] Folder READMEs updated: [list]
|
|
61
|
+
- Stale sections removed: [list]
|
|
62
|
+
- New sections added: [list]
|
|
63
|
+
|
|
64
|
+
### Phase 2: Dead File Cleanup
|
|
65
|
+
| File | Category | Action |
|
|
66
|
+
|------|----------|--------|
|
|
67
|
+
| path/to/file.log | Log | Deleted |
|
|
68
|
+
| path/to/screenshot.png | Screenshot | Deleted |
|
|
69
|
+
|
|
70
|
+
- .gitignore updated: [patterns added]
|
|
71
|
+
- Dead exports found: [list or "none"]
|
|
72
|
+
|
|
73
|
+
### Phase 3: Dependency Updates
|
|
74
|
+
- Vulnerabilities fixed: [count] ([critical/high/moderate])
|
|
75
|
+
- Packages updated: [count]
|
|
76
|
+
- Patch: [list]
|
|
77
|
+
- Minor: [list]
|
|
78
|
+
- Major: [list with migration notes]
|
|
79
|
+
- Build verified: [pass/fail]
|
|
80
|
+
- Tests verified: [pass/fail/no tests]
|
|
81
|
+
|
|
82
|
+
### Phase 4: General Cleanup
|
|
83
|
+
- Config files updated: [list]
|
|
84
|
+
- Scripts cleaned: [list]
|
|
85
|
+
- .gitignore modernized: [yes/no]
|
|
86
|
+
- Env vars audited: [findings]
|
|
87
|
+
|
|
88
|
+
### Files Modified
|
|
89
|
+
- [path] — [description]
|
|
90
|
+
|
|
91
|
+
### Files Deleted
|
|
92
|
+
- [path] — [reason]
|
|
93
|
+
|
|
94
|
+
### Requires Manual Follow-Up
|
|
95
|
+
- [item] — [why it cannot be automated]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Quick Reference: Common Cleanup Commands
|
|
101
|
+
|
|
102
|
+
| Ecosystem | Outdated | Audit | Update | Build Verify |
|
|
103
|
+
|-----------|----------|-------|--------|--------------|
|
|
104
|
+
| npm | `npm outdated` | `npm audit` | `npm update && npm audit fix` | `npm run build` |
|
|
105
|
+
| pnpm | `pnpm outdated` | `pnpm audit` | `pnpm update && pnpm audit --fix` | `pnpm build` |
|
|
106
|
+
| yarn | `yarn outdated` | `yarn audit` | `yarn upgrade` | `yarn build` |
|
|
107
|
+
| pip | `pip list --outdated` | `pip-audit` | `pip install -U <pkg>` | `python -m pytest` |
|
|
108
|
+
| cargo | `cargo outdated` | `cargo audit` | `cargo update` | `cargo build` |
|
|
109
|
+
| go | `go list -m -u all` | `govulncheck ./...` | `go get -u ./...` | `go build ./...` |
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workflow-launch-ready
|
|
3
|
+
description: >
|
|
4
|
+
Launch-preparation sweep for a new app or major release. Use when "prepare
|
|
5
|
+
for launch", "launch week", "everything before going live", "is the app
|
|
6
|
+
launch-ready?", or "pre-launch sweep". Working tree to a PR →
|
|
7
|
+
workflow-release-prep.
|
|
8
|
+
license: MIT
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# workflow-launch-ready — Full Launch Preparation
|
|
12
|
+
|
|
13
|
+
**Degree of freedom: MIXED.** Skip/condition judgment `[HIGH freedom]`; sweep
|
|
14
|
+
order and quality-gate NO-GO block `[LOW freedom — run exactly]`.
|
|
15
|
+
|
|
16
|
+
The pre-launch sequence. Run once, get the complete picture across SEO, PWA,
|
|
17
|
+
performance, quality, and post-launch monitoring.
|
|
18
|
+
|
|
19
|
+
Local dirty-tree → merge-ready PR is **`workflow-release-prep`**, not this.
|
|
20
|
+
|
|
21
|
+
## How to reason
|
|
22
|
+
|
|
23
|
+
1. **Scope** — new app / major release, not a dirty-tree PR
|
|
24
|
+
2. **Sweep** — which steps apply; which are honest skips
|
|
25
|
+
3. **Verdict** — LAUNCH-READY / WITH CONDITIONS / NOT READY
|
|
26
|
+
4. **Handoff** — day-1 loop scheduled; blockers named
|
|
27
|
+
|
|
28
|
+
## Worked example
|
|
29
|
+
|
|
30
|
+
> **Scope:** first public launch of a Next.js + Supabase app; single locale; PWA wanted.
|
|
31
|
+
> **Sweep:** SEO + PWA + bundle + quality-gate; skip i18n with a note.
|
|
32
|
+
> **Verdict:** NOT READY — quality-gate NO-GO on missing RLS on `profiles`.
|
|
33
|
+
> **Handoff:** fix RLS, re-run Gate 2, then `deploy-verify`; do not treat this as `workflow-release-prep`.
|
|
34
|
+
|
|
35
|
+
## Self-critique before reporting
|
|
36
|
+
|
|
37
|
+
- **Not a PR-prep** — local dirty tree was not routed here
|
|
38
|
+
- **Skips named** — PWA/i18n skipped only when inapplicable, in the table
|
|
39
|
+
- **NO-GO blocks launch** — quality-gate NO-GO is NOT READY, not "with conditions"
|
|
40
|
+
- **Right owner** — merge-ready PR → `workflow-release-prep`; npm package → `deploy-npm`
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Sweep sequence [LOW freedom — run exactly]
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
1. SEO → enhance-web-seo (meta, OG, JSON-LD, sitemap, canonicals)
|
|
48
|
+
2. PWA → enhance-pwa (manifest, service worker, offline, install)
|
|
49
|
+
3. BUNDLE → audit-bundle-size (first-load JS ≤ 200 KB goal)
|
|
50
|
+
4. i18n → audit-i18n (if multi-locale: natural copy, no hardcoded strings)
|
|
51
|
+
5. QUALITY GATE → workflow-quality-gate (red-team + security + perf + unit tests)
|
|
52
|
+
6. DEPLOY → deploy-verify (post-deploy smoke after the release)
|
|
53
|
+
7. ITERATE → iterate-post-launch (close loop on day-1 production signals)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Skip steps 2 (PWA) and 4 (i18n) if not applicable — note the skip in the checklist.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Step 1: SEO (read enhance-web-seo) [HIGH freedom]
|
|
61
|
+
|
|
62
|
+
> Read the `enhance-web-seo` skill and follow it.
|
|
63
|
+
|
|
64
|
+
Every public page needs: `<title>`, `meta description`, OG tags, canonical URL,
|
|
65
|
+
structured data (JSON-LD), and a sitemap entry.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Step 2: PWA (read enhance-pwa) [HIGH freedom]
|
|
70
|
+
|
|
71
|
+
> Read the `enhance-pwa` skill and follow it.
|
|
72
|
+
|
|
73
|
+
Required: Web App Manifest + service worker with offline fallback, and no
|
|
74
|
+
installability errors in Chrome DevTools → Application → Manifest (Lighthouse 12
|
|
75
|
+
removed its PWA score).
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Step 3: Bundle size (read audit-bundle-size) [HIGH freedom]
|
|
80
|
+
|
|
81
|
+
> Read the `audit-bundle-size` skill and follow it.
|
|
82
|
+
|
|
83
|
+
Target: first-load JS ≤ 200 KB gzip. All routes lazy-loaded.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Step 4: i18n (read audit-i18n — skip if single locale) [HIGH freedom]
|
|
88
|
+
|
|
89
|
+
> Read the `audit-i18n` skill and follow it.
|
|
90
|
+
|
|
91
|
+
Priority: no hardcoded user-facing strings, natural copy in all supported
|
|
92
|
+
locales, correct date/number/currency formatting.
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Step 5: Quality gate (read workflow-quality-gate) [LOW freedom — hand off]
|
|
97
|
+
|
|
98
|
+
> Read the `workflow-quality-gate` skill and follow it.
|
|
99
|
+
|
|
100
|
+
This step runs test-red-team, audit-security, audit-performance, and test-unit
|
|
101
|
+
internally. A NO-GO verdict from this step blocks launch.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Step 6: Deploy & smoke (read deploy-verify) [LOW freedom — hand off]
|
|
106
|
+
|
|
107
|
+
> Read the `deploy-verify` skill and follow it.
|
|
108
|
+
|
|
109
|
+
Run immediately after the production deploy. Confirm no new Sentry errors,
|
|
110
|
+
schema is healthy, and critical flows work.
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Step 7: Day-1 iteration loop (read iterate-post-launch) [LOW freedom — hand off]
|
|
115
|
+
|
|
116
|
+
> Read the `iterate-post-launch` skill and follow it.
|
|
117
|
+
|
|
118
|
+
Schedule this 24–48 hours after launch. Pull first real-user signals and
|
|
119
|
+
prioritize the first fix pass.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Launch checklist output [LOW freedom — run exactly]
|
|
124
|
+
|
|
125
|
+
```markdown
|
|
126
|
+
## Launch Readiness — [App] — [Date]
|
|
127
|
+
|
|
128
|
+
### Verdict: LAUNCH-READY / LAUNCH WITH CONDITIONS / NOT READY
|
|
129
|
+
|
|
130
|
+
| Step | Status | Open items |
|
|
131
|
+
|------|--------|------------|
|
|
132
|
+
| SEO | ✅ / ⚠️ / ❌ | [list] |
|
|
133
|
+
| PWA | ✅ / ⚠️ / ❌ / skipped | [list] |
|
|
134
|
+
| Bundle size | ✅ / ⚠️ / ❌ | [X KB] |
|
|
135
|
+
| i18n | ✅ / ⚠️ / skipped | [list] |
|
|
136
|
+
| Quality gate | GO / NO-GO / CONDITIONAL | [see gate report] |
|
|
137
|
+
| Deploy smoke | ✅ / ❌ | [notes] |
|
|
138
|
+
| Day-1 plan | scheduled / not yet | [date] |
|
|
139
|
+
|
|
140
|
+
### Blockers (must fix before launch)
|
|
141
|
+
[list]
|
|
142
|
+
|
|
143
|
+
### Post-launch backlog (fix within 48 h)
|
|
144
|
+
[list]
|
|
145
|
+
```
|