@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,150 @@
|
|
|
1
|
+
# Tsumagoi Ranch Theme
|
|
2
|
+
|
|
3
|
+
Neo-Brutalist "Cute-alism" theme inspired by Japanese ranch and campground aesthetics.
|
|
4
|
+
|
|
5
|
+
## Design Philosophy
|
|
6
|
+
- Bold 3px borders with hard-edge offset shadows (no blur)
|
|
7
|
+
- High contrast dark borders on light backgrounds
|
|
8
|
+
- Playful yet professional - "Neo-Brutalism meets cute"
|
|
9
|
+
- Nature-inspired color palette with mountain, forest, and campfire tones
|
|
10
|
+
|
|
11
|
+
## Color Palette
|
|
12
|
+
|
|
13
|
+
### Light Mode
|
|
14
|
+
|
|
15
|
+
| Token | Hex | Usage |
|
|
16
|
+
|-------|-----|-------|
|
|
17
|
+
| **Primary** | `#0c85f4` | Mountain blue - primary actions, links |
|
|
18
|
+
| **Secondary** | `#10b981` | Pine green - success, online status |
|
|
19
|
+
| **Accent** | `#ff6b35` | Campfire orange - energetic CTAs |
|
|
20
|
+
| **Accent Alt** | `#FF6D38` | Navigate orange - primary CTA buttons |
|
|
21
|
+
| **Premium** | `#8584FF` | Navigate purple - creative accents |
|
|
22
|
+
| **Warning** | `#f59e0b` | Warm amber - alerts, temperature |
|
|
23
|
+
| **Danger** | `#ef4444` | Error red |
|
|
24
|
+
| **Background Page** | `#faf7f2` | Warm cream |
|
|
25
|
+
| **Background Card** | `#ffffff` | Pure white |
|
|
26
|
+
| **Border Default** | `#d4c4a8` | Sand/wood tone |
|
|
27
|
+
| **Border Strong** | `#b8a080` | Darker sand |
|
|
28
|
+
| **Text Primary** | `#1a1a1a` | Near black |
|
|
29
|
+
| **Text Secondary** | `#4a4a4a` | Dark gray |
|
|
30
|
+
| **Text Muted** | `#6b6b6b` | Medium gray |
|
|
31
|
+
| **Shadow Color** | `#b8a080` | Wood tone shadow |
|
|
32
|
+
|
|
33
|
+
### Dark Mode (Night Sky)
|
|
34
|
+
|
|
35
|
+
| Token | Hex | Usage |
|
|
36
|
+
|-------|-----|-------|
|
|
37
|
+
| **Background Page** | `#0c1424` | Night sky deep |
|
|
38
|
+
| **Background Card** | `#162b47` | Night blue |
|
|
39
|
+
| **Border Default** | `#3d699a` | Night blue border |
|
|
40
|
+
| **Text Primary** | `#ffffff` | Pure white |
|
|
41
|
+
| **Text Secondary** | `#f1f5f9` | Bright off-white |
|
|
42
|
+
| **Text Muted** | `#cbd5e1` | Light gray |
|
|
43
|
+
| **Shadow Color** | `#1e4a72` | Night shadow |
|
|
44
|
+
|
|
45
|
+
## Typography
|
|
46
|
+
|
|
47
|
+
| Element | Font | Fallback | Weight |
|
|
48
|
+
|---------|------|----------|--------|
|
|
49
|
+
| **Headings** | M PLUS Rounded 1c | system-ui, sans-serif | 700-900 |
|
|
50
|
+
| **Body EN** | Inter | system-ui, sans-serif | 400-600 |
|
|
51
|
+
| **Body JP** | Noto Sans JP | sans-serif | 400-600 |
|
|
52
|
+
| **Data/Numbers** | JetBrains Mono | monospace | 700-900 |
|
|
53
|
+
| **Pixel/Retro** | VT323 | monospace | 400 |
|
|
54
|
+
|
|
55
|
+
## Neo-Brutal Shadow System
|
|
56
|
+
|
|
57
|
+
```css
|
|
58
|
+
--shadow-sm: 2px 2px 0 0 var(--shadow-color); /* Badges, Tooltips */
|
|
59
|
+
--shadow-md: 3px 3px 0 0 var(--shadow-color); /* Buttons, Popovers */
|
|
60
|
+
--shadow-lg: 4px 4px 0 0 var(--shadow-color); /* Cards */
|
|
61
|
+
--shadow-xl: 5px 5px 0 0 var(--shadow-color); /* Hover emphasis */
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Border Configuration
|
|
65
|
+
|
|
66
|
+
| Element | Width | Radius |
|
|
67
|
+
|---------|-------|--------|
|
|
68
|
+
| Badges (static) | 1px | rounded-full |
|
|
69
|
+
| Chips (interactive) | 2px | rounded-full |
|
|
70
|
+
| Buttons | 3px | rounded-lg (8px) |
|
|
71
|
+
| Cards | 3px | rounded-xl (16px) |
|
|
72
|
+
| Inputs | 2px | rounded-lg (8px) |
|
|
73
|
+
|
|
74
|
+
## Motion Tokens
|
|
75
|
+
|
|
76
|
+
```css
|
|
77
|
+
--motion-duration-fast: 100ms;
|
|
78
|
+
--motion-duration-normal: 150ms;
|
|
79
|
+
--motion-duration-slow: 300ms;
|
|
80
|
+
--motion-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
81
|
+
--motion-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Cute-alism Accent Colors
|
|
85
|
+
|
|
86
|
+
| Color | Hex | Usage |
|
|
87
|
+
|-------|-----|-------|
|
|
88
|
+
| Campfire | `#ff6b35` | Warm, energetic, action |
|
|
89
|
+
| Twilight | `#a855f7` | Magical, dreamy, premium |
|
|
90
|
+
| Sakura | `#ec4899` | Soft, friendly, approachable |
|
|
91
|
+
| Moss | `#84cc16` | Earthy, grounded, organic |
|
|
92
|
+
|
|
93
|
+
## Retro Pixel Palette (8-bit)
|
|
94
|
+
|
|
95
|
+
| Color | Hex | Usage |
|
|
96
|
+
|-------|-----|-------|
|
|
97
|
+
| Cyan | `#00FFFF` | CRT cyan |
|
|
98
|
+
| Magenta | `#FF00FF` | Neon magenta |
|
|
99
|
+
| Lime | `#00FF66` | Pixel green |
|
|
100
|
+
| Yellow | `#FFFF00` | Bright yellow |
|
|
101
|
+
| Red | `#FF3366` | VHS red |
|
|
102
|
+
| Blue | `#3366FF` | Deep blue |
|
|
103
|
+
|
|
104
|
+
## Mobile Responsive Guidelines
|
|
105
|
+
|
|
106
|
+
### Touch Targets
|
|
107
|
+
- Minimum 44px (WCAG requirement)
|
|
108
|
+
- Comfortable: 48px
|
|
109
|
+
- Large CTAs: 56px
|
|
110
|
+
|
|
111
|
+
### Spacing Scale (Mobile-First)
|
|
112
|
+
```css
|
|
113
|
+
--mobile-space-1: 4px;
|
|
114
|
+
--mobile-space-2: 8px;
|
|
115
|
+
--mobile-space-3: 12px;
|
|
116
|
+
--mobile-space-4: 16px;
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Breakpoints
|
|
120
|
+
| Name | Width | Variant |
|
|
121
|
+
|------|-------|---------|
|
|
122
|
+
| xs | < 640px | mobile |
|
|
123
|
+
| sm | 640px | tablet |
|
|
124
|
+
| md | 768px | tablet |
|
|
125
|
+
| lg | 1024px | desktop |
|
|
126
|
+
| xl | 1280px | desktop |
|
|
127
|
+
|
|
128
|
+
### Mobile Patterns
|
|
129
|
+
- Use `HorizontalScroll` for overflow content
|
|
130
|
+
- Bottom sheet modals instead of center modals
|
|
131
|
+
- Thumb-zone optimization (primary actions in bottom 40%)
|
|
132
|
+
- Safe area padding for notched devices
|
|
133
|
+
|
|
134
|
+
## Glassmorphism Presets
|
|
135
|
+
|
|
136
|
+
```css
|
|
137
|
+
.glass-light { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(2px); }
|
|
138
|
+
.glass-medium { background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(4px); }
|
|
139
|
+
.glass-heavy { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); }
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Application Guide
|
|
143
|
+
|
|
144
|
+
When applying this theme:
|
|
145
|
+
1. Use CSS variables from design-tokens.css
|
|
146
|
+
2. Apply neo-brutal shadows with border-color-matched shadow-color
|
|
147
|
+
3. Use bounce easing for interactive elements
|
|
148
|
+
4. Apply stagger animations for card grids
|
|
149
|
+
5. Ensure all interactive elements have 44px minimum touch targets
|
|
150
|
+
6. Use glassmorphism for overlays on 3D backgrounds
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docs-adr
|
|
3
|
+
description: >
|
|
4
|
+
Create and maintain lightweight Architecture Decision Records as
|
|
5
|
+
agent-readable decision memory: what was decided, why, and what was
|
|
6
|
+
rejected. Use when "record this decision", "set up ADRs", or "the agent
|
|
7
|
+
keeps suggesting Y again".
|
|
8
|
+
license: MIT
|
|
9
|
+
effort: high
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# docs-adr — Decision memory the next session can load
|
|
13
|
+
|
|
14
|
+
**Degree of freedom: MIXED — T1 is the priority.** What to record
|
|
15
|
+
`[HIGH freedom]`; format, supersede-not-edit, and present-backfill-first
|
|
16
|
+
`[LOW freedom — run exactly]`.
|
|
17
|
+
|
|
18
|
+
Install and maintain the repo's decision memory. **Code shows what was
|
|
19
|
+
decided; nothing shows why, or what was rejected — so every new agent
|
|
20
|
+
session is free to "improve" its way back to an alternative you already
|
|
21
|
+
ruled out.** Re-litigated decisions are the slowest form of drift. An
|
|
22
|
+
ADR makes the decision durable and its reversal deliberate.
|
|
23
|
+
|
|
24
|
+
## This skill vs neighbors
|
|
25
|
+
|
|
26
|
+
| Skill | Owns |
|
|
27
|
+
|---|---|
|
|
28
|
+
| **docs-adr** (this) | Why we chose X; rejected alternatives; INDEX.md |
|
|
29
|
+
| `plan-docs-sync` | Docs vs *what the code is* — not why |
|
|
30
|
+
| `handoff` | Session state for the next chat — not permanent decisions |
|
|
31
|
+
| `docs-writer` | Tutorials / README prose |
|
|
32
|
+
| `enhance-arch-boundaries` | Mechanical layering; this records the model |
|
|
33
|
+
| `workflow-housekeep` | Periodic index / status sweep |
|
|
34
|
+
| `housekeep-backlog` | Parked-work register (`BACKLOG.md`), not decisions |
|
|
35
|
+
|
|
36
|
+
## How to reason
|
|
37
|
+
|
|
38
|
+
1. **Observe** — the decision, the rejected alternative, who already tried to reverse it
|
|
39
|
+
2. **Interpret** — would a fresh agent "improve" back to the rejected option?
|
|
40
|
+
3. **Classify** — ADR / not-an-ADR (linter already enforces, routine impl)
|
|
41
|
+
4. **Severity** — load-bearing unusual choice first
|
|
42
|
+
|
|
43
|
+
## Worked example
|
|
44
|
+
|
|
45
|
+
> **Observe:** agent PR re-proposes Zustand; repo uses React context for
|
|
46
|
+
> session by choice; no ADR.
|
|
47
|
+
> **Interpret:** the rejection is oral memory — the next session will retry.
|
|
48
|
+
> **Classify:** ADR — stack choice with a rejected alternative.
|
|
49
|
+
> **Write:** "We use React context for session. Rejected Zustand: duplicate
|
|
50
|
+
> store vs server session." Present the backfill list **before** writing files.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Phase 0 — Set up the system (once per repo) [LOW freedom — INDEX.md + statuses]
|
|
55
|
+
|
|
56
|
+
- `docs/adr/NNNN-short-title.md`, numbered sequentially, plus
|
|
57
|
+
`docs/adr/INDEX.md` — one line per ADR
|
|
58
|
+
(`NNNN | title | status | one-line decision`). The index is the
|
|
59
|
+
agent-facing surface: small enough to load every session.
|
|
60
|
+
- Reference the index from agent rules: *"Before proposing a change to
|
|
61
|
+
architecture, dependencies, conventions, or data models, read
|
|
62
|
+
`docs/adr/INDEX.md`; do not contradict an Accepted ADR without flagging
|
|
63
|
+
it explicitly to the user."*
|
|
64
|
+
- Statuses: **Proposed → Accepted → Superseded by NNNN / Deprecated**.
|
|
65
|
+
Never edit an Accepted ADR's decision — supersede it with a new one
|
|
66
|
+
that links back. History is the point.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Phase 1 — The format (one page, hard cap) [LOW freedom — this shape]
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
# NNNN. <Decision as a verb phrase>
|
|
74
|
+
Status: Accepted Date: YYYY-MM-DD
|
|
75
|
+
## Context
|
|
76
|
+
2–5 sentences: the forces. What problem, what constraints.
|
|
77
|
+
## Decision
|
|
78
|
+
1–3 sentences, imperative: "We use X for Y."
|
|
79
|
+
## Rejected alternatives
|
|
80
|
+
The load-bearing section for agents. Each alternative: one line — what
|
|
81
|
+
it was, WHY it lost. This is what stops re-proposal.
|
|
82
|
+
## Consequences
|
|
83
|
+
2–4 sentences: what this commits us to, what it makes harder, when to
|
|
84
|
+
revisit.
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
No restating documentation, no tutorials, no aspirational essays. If it
|
|
88
|
+
exceeds a page it is two decisions or it is documentation (route to
|
|
89
|
+
`docs-writer`). "We tried it and it failed because…" is the highest-value
|
|
90
|
+
content — failure memory is exactly what a fresh session lacks.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Phase 2 — What gets an ADR (and what does not) [HIGH freedom]
|
|
95
|
+
|
|
96
|
+
Write one for any decision an agent could plausibly reverse while
|
|
97
|
+
"helping":
|
|
98
|
+
|
|
99
|
+
- Stack and dependency choices (and the ones rejected), including
|
|
100
|
+
versions pinned for a reason.
|
|
101
|
+
- Architecture and layering (`enhance-arch-boundaries` model is ADR #1
|
|
102
|
+
material).
|
|
103
|
+
- Conventions with non-obvious rationale.
|
|
104
|
+
- Product / scope decisions that shape code ("no user accounts in v1 —
|
|
105
|
+
deliberately").
|
|
106
|
+
- Reversals of past attempts — the "we already tried that" archive.
|
|
107
|
+
|
|
108
|
+
**Not** ADRs: routine implementation choices, anything the linter / gate
|
|
109
|
+
already enforces mechanically, TODOs, meeting notes. Over-recording kills
|
|
110
|
+
the system as surely as under-recording.
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Phase 3 — Backfill mode (existing repo) [LOW freedom — confirm list before writing]
|
|
115
|
+
|
|
116
|
+
Mine implicit decisions before they are lost:
|
|
117
|
+
|
|
118
|
+
- From the code: unusual choices that look wrong but are load-bearing
|
|
119
|
+
(the thing every new agent "fixes" first).
|
|
120
|
+
- From git history / PR descriptions: reversions and migrations.
|
|
121
|
+
- From the user, one focused pass: "What has an agent (or a past you)
|
|
122
|
+
tried to change that must stay, and why?" Write those first.
|
|
123
|
+
|
|
124
|
+
Cap the backfill at decisions that still bind (typically 5–15). This is
|
|
125
|
+
memory, not archaeology for its own sake.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Phase 4 — Keep it alive [LOW freedom — supersede, do not edit Accepted]
|
|
130
|
+
|
|
131
|
+
- New ADR in the same PR as the decision it records.
|
|
132
|
+
- `/handoff` / completion: any decision that meets the Phase-2 bar gets
|
|
133
|
+
filed before closure (`enhance-agent-guardrails` can install the
|
|
134
|
+
reminder).
|
|
135
|
+
- When an agent's proposal contradicts an Accepted ADR: **surface, cite,
|
|
136
|
+
ask** — do not silently comply *or* silently override. Changing course
|
|
137
|
+
produces a superseding ADR, on purpose, by the human.
|
|
138
|
+
- Periodic sweep (fits `workflow-housekeep`): statuses current, index
|
|
139
|
+
matches files, superseded chains intact.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Definition of Done
|
|
144
|
+
|
|
145
|
+
- [ ] `docs/adr/` + INDEX.md exist; numbering and statuses in place
|
|
146
|
+
- [ ] Agent rules load the index each session and forbid silent contradiction of Accepted ADRs
|
|
147
|
+
- [ ] Format enforced: one page, rejected-alternatives section present, supersede-not-edit
|
|
148
|
+
- [ ] Scope rules recorded (what does / does not get an ADR)
|
|
149
|
+
- [ ] Backfill done for still-binding decisions, "things agents keep trying to change" first
|
|
150
|
+
- [ ] Same-PR rule and handoff hook wired
|
|
151
|
+
- [ ] Index verified against files (no dangling numbers, no unindexed ADRs)
|
|
152
|
+
|
|
153
|
+
## Self-critique before writing ADRs [LOW freedom — do not skip]
|
|
154
|
+
|
|
155
|
+
1. **Backfill list shown first** — decisions are theirs; recording is yours
|
|
156
|
+
2. **Rejected alternatives filled** — an ADR without them will not stop re-proposal
|
|
157
|
+
3. **One page** — two decisions or it's docs (`docs-writer`)
|
|
158
|
+
4. **Never edit Accepted** — supersede
|
|
159
|
+
5. **Not everything** — linter-enforced and TODOs stay out
|
|
160
|
+
|
|
161
|
+
## Output format
|
|
162
|
+
|
|
163
|
+
1. **System files** — the directory, INDEX.md, agent-rule text added
|
|
164
|
+
2. **Backfilled ADRs** — each one page, rejected-alternatives filled
|
|
165
|
+
3. **Lifecycle wiring** — same-PR rule, handoff hook, housekeep sweep item
|
|
166
|
+
|
|
167
|
+
Present the backfill list for confirmation **before** writing the ADRs —
|
|
168
|
+
the decisions are theirs; the recording is yours.
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docs-coauthor
|
|
3
|
+
description: >
|
|
4
|
+
Co-author structured documents (specs, PRDs, RFCs, proposals) in three
|
|
5
|
+
stages: gather context, draft, reader-test. Use when writing a proposal,
|
|
6
|
+
technical spec, or similar long-form document. Decision records → docs-adr.
|
|
7
|
+
license: MIT
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Doc Co-Authoring Workflow
|
|
11
|
+
|
|
12
|
+
**Degree of freedom: MIXED.** What to ask and what to keep `[HIGH freedom]`;
|
|
13
|
+
the three-stage order, six-step section loop, and Reader Testing
|
|
14
|
+
`[LOW freedom — run exactly]`.
|
|
15
|
+
|
|
16
|
+
a structured workflow for guiding users through collaborative document creation. Act as an active guide, walking users through three stages: Context Gathering, Refinement & Structure, and Reader Testing.
|
|
17
|
+
|
|
18
|
+
> **Guiding principle — orient the reader before the mechanism.** Even a spec, PRD, or RFC should *open* by answering what this is, why it exists, and who it's for — in plain language — before diving into detail. That's the same reader-first instinct this workflow's Reader Testing stage enforces at the end; apply it from the first sentence. See `docs-writer` for the full "write for the reader's mental model first" rule.
|
|
19
|
+
|
|
20
|
+
## How to reason
|
|
21
|
+
|
|
22
|
+
1. **Observe** — doc type, audience, desired impact, template or existing draft
|
|
23
|
+
2. **Interpret** — what the next reader will lack that the authors already know
|
|
24
|
+
3. **Classify** — offer the workflow / work freeform / start at the highest-unknown section
|
|
25
|
+
4. **Test** — predict reader questions; a fresh instance must answer them from the doc alone
|
|
26
|
+
|
|
27
|
+
## Worked example
|
|
28
|
+
|
|
29
|
+
> **Observe:** "write a PRD for billing v2"; no audience named; a Slack thread already rejected a usage-only model.
|
|
30
|
+
> **Interpret:** that rejection is oral — a pasted PRD will fail when a reader (or a fresh agent) lacks it.
|
|
31
|
+
> **Classify:** offer the three stages; Context Gathering first (eng + finance; impact = stop re-arguing usage-only).
|
|
32
|
+
> **Do not** draft the PRD in the first reply.
|
|
33
|
+
|
|
34
|
+
## Self-critique before reporting
|
|
35
|
+
|
|
36
|
+
- **Reader-first open** — what / why / who before mechanism
|
|
37
|
+
- **Fresh-instance test ran** — an author reread is not Reader Testing
|
|
38
|
+
- **User owns the doc** — they confirm impact; you do not ship unreviewed
|
|
39
|
+
- **Right owner** — INDEX.md / rejected alternatives → `docs-adr`; README prose → `docs-writer`
|
|
40
|
+
|
|
41
|
+
## When to Offer This Workflow [HIGH freedom]
|
|
42
|
+
|
|
43
|
+
**Trigger conditions:**
|
|
44
|
+
- User mentions writing documentation: "write a doc", "draft a proposal", "create a spec", "write up"
|
|
45
|
+
- User mentions specific doc types: "PRD", "design doc", "decision doc", "RFC"
|
|
46
|
+
- User seems to be starting a substantial writing task
|
|
47
|
+
|
|
48
|
+
**Initial offer:**
|
|
49
|
+
Offer the user a structured workflow for co-authoring the document. Explain the three stages:
|
|
50
|
+
|
|
51
|
+
1. **Context Gathering**: User provides all relevant context while Claude asks clarifying questions
|
|
52
|
+
2. **Refinement & Structure**: Iteratively build each section through brainstorming and editing
|
|
53
|
+
3. **Reader Testing**: Test the doc with a fresh Claude (no context) to catch blind spots before others read it
|
|
54
|
+
|
|
55
|
+
Explain that this approach helps ensure the doc works well when others read it (including when they paste it into Claude). Ask if they want to try this workflow or prefer to work freeform.
|
|
56
|
+
|
|
57
|
+
If user declines, work freeform. If user accepts, proceed to Stage 1.
|
|
58
|
+
|
|
59
|
+
## Stage 1: Context Gathering [HIGH freedom]
|
|
60
|
+
|
|
61
|
+
**Goal:** Close the gap between what the user knows and what Claude knows, enabling smart guidance later.
|
|
62
|
+
|
|
63
|
+
### Initial Questions
|
|
64
|
+
|
|
65
|
+
Start by asking the user for meta-context about the document:
|
|
66
|
+
|
|
67
|
+
1. What type of document is this? (e.g., technical spec, decision doc, proposal)
|
|
68
|
+
2. Who's the primary audience?
|
|
69
|
+
3. What's the desired impact when someone reads this?
|
|
70
|
+
4. Is there a template or specific format to follow?
|
|
71
|
+
5. Any other constraints or context to know?
|
|
72
|
+
|
|
73
|
+
Inform them they can answer in shorthand or dump information however works best for them.
|
|
74
|
+
|
|
75
|
+
**If user provides a template or mentions a doc type:**
|
|
76
|
+
- Ask if they have a template document to share
|
|
77
|
+
- If they provide a link to a shared document, use the appropriate integration to fetch it
|
|
78
|
+
- If they provide a file, read it
|
|
79
|
+
|
|
80
|
+
**If user mentions editing an existing shared document:**
|
|
81
|
+
- Use the appropriate integration to read the current state
|
|
82
|
+
- Check for images without alt-text
|
|
83
|
+
- If images exist without alt-text, explain that when others use Claude to understand the doc, Claude won't be able to see them. Ask if they want alt-text generated. If so, request they paste each image into chat for descriptive alt-text generation.
|
|
84
|
+
|
|
85
|
+
### Info Dumping
|
|
86
|
+
|
|
87
|
+
Once initial questions are answered, encourage the user to dump all the context they have. Request information such as:
|
|
88
|
+
- Background on the project/problem
|
|
89
|
+
- Related team discussions or shared documents
|
|
90
|
+
- Why alternative solutions aren't being used
|
|
91
|
+
- Organizational context (team dynamics, past incidents, politics)
|
|
92
|
+
- Timeline pressures or constraints
|
|
93
|
+
- Technical architecture or dependencies
|
|
94
|
+
- Stakeholder concerns
|
|
95
|
+
|
|
96
|
+
Advise them not to worry about organizing it - just get it all out. Offer multiple ways to provide context:
|
|
97
|
+
- Info dump stream-of-consciousness
|
|
98
|
+
- Point to team channels or threads to read
|
|
99
|
+
- Link to shared documents
|
|
100
|
+
|
|
101
|
+
**If integrations are available** (e.g., Slack, Teams, Google Drive, SharePoint, or other MCP servers), mention that these can be used to pull in context directly.
|
|
102
|
+
|
|
103
|
+
**If no integrations are detected and in Claude.ai or Claude app:** Suggest they can enable connectors in their Claude settings to allow pulling context from messaging apps and document storage directly.
|
|
104
|
+
|
|
105
|
+
Inform them clarifying questions will be asked once they've done their initial dump.
|
|
106
|
+
|
|
107
|
+
**During context gathering:**
|
|
108
|
+
|
|
109
|
+
- If user mentions team channels or shared documents:
|
|
110
|
+
- If integrations available: Inform them the content will be read now, then use the appropriate integration
|
|
111
|
+
- If integrations not available: Explain lack of access. Suggest they enable connectors in Claude settings, or paste the relevant content directly.
|
|
112
|
+
|
|
113
|
+
- If user mentions entities/projects that are unknown:
|
|
114
|
+
- Ask if connected tools should be searched to learn more
|
|
115
|
+
- Wait for user confirmation before searching
|
|
116
|
+
|
|
117
|
+
- As user provides context, track what's being learned and what's still unclear
|
|
118
|
+
|
|
119
|
+
**Asking clarifying questions:**
|
|
120
|
+
|
|
121
|
+
When user signals they've done their initial dump (or after substantial context provided), ask clarifying questions to ensure understanding:
|
|
122
|
+
|
|
123
|
+
Generate 5-10 numbered questions based on gaps in the context.
|
|
124
|
+
|
|
125
|
+
Inform them they can use shorthand to answer (e.g., "1: yes, 2: see #channel, 3: no because backwards compat"), link to more docs, point to channels to read, or just keep info-dumping. Whatever's most efficient for them.
|
|
126
|
+
|
|
127
|
+
**Exit condition:**
|
|
128
|
+
Sufficient context has been gathered when questions show understanding - when edge cases and trade-offs can be asked about without needing basics explained.
|
|
129
|
+
|
|
130
|
+
**Transition:**
|
|
131
|
+
Ask if there's any more context they want to provide at this stage, or if it's time to move on to drafting the document.
|
|
132
|
+
|
|
133
|
+
If user wants to add more, let them. When ready, proceed to Stage 2.
|
|
134
|
+
|
|
135
|
+
## Stage 2: Refinement & Structure [LOW freedom — run the six steps]
|
|
136
|
+
|
|
137
|
+
**Goal:** Build the document section by section through brainstorming, curation, and iterative refinement.
|
|
138
|
+
|
|
139
|
+
**Instructions to user:**
|
|
140
|
+
Explain that the document will be built section by section. For each section:
|
|
141
|
+
1. Clarifying questions will be asked about what to include
|
|
142
|
+
2. 5-20 options will be brainstormed
|
|
143
|
+
3. User will indicate what to keep/remove/combine
|
|
144
|
+
4. The section will be drafted
|
|
145
|
+
5. It will be refined through surgical edits
|
|
146
|
+
|
|
147
|
+
Start with whichever section has the most unknowns (usually the core decision/proposal), then work through the rest.
|
|
148
|
+
|
|
149
|
+
**Section ordering:**
|
|
150
|
+
|
|
151
|
+
If the document structure is clear:
|
|
152
|
+
Ask which section they'd like to start with.
|
|
153
|
+
|
|
154
|
+
Suggest starting with whichever section has the most unknowns. For decision docs, that's usually the core proposal. For specs, it's typically the technical approach. Summary sections are best left for last.
|
|
155
|
+
|
|
156
|
+
If user doesn't know what sections they need:
|
|
157
|
+
Based on the type of document and template, suggest 3-5 sections appropriate for the doc type.
|
|
158
|
+
|
|
159
|
+
Ask if this structure works, or if they want to adjust it.
|
|
160
|
+
|
|
161
|
+
**Once structure is agreed:**
|
|
162
|
+
|
|
163
|
+
Create the initial document structure with placeholder text for all sections.
|
|
164
|
+
|
|
165
|
+
**For each section:**
|
|
166
|
+
|
|
167
|
+
### Step 1: Clarifying Questions
|
|
168
|
+
|
|
169
|
+
Announce work will begin on the [SECTION NAME] section. Ask 5-10 clarifying questions about what should be included:
|
|
170
|
+
|
|
171
|
+
Generate 5-10 specific questions based on context and section purpose.
|
|
172
|
+
|
|
173
|
+
Inform them they can answer in shorthand or just indicate what's important to cover.
|
|
174
|
+
|
|
175
|
+
### Step 2: Brainstorming
|
|
176
|
+
|
|
177
|
+
For the [SECTION NAME] section, brainstorm [5-20] things that might be included, depending on the section's complexity. Look for:
|
|
178
|
+
- Context shared that might have been forgotten
|
|
179
|
+
- Angles or considerations not yet mentioned
|
|
180
|
+
|
|
181
|
+
Generate 5-20 numbered options based on section complexity. At the end, offer to brainstorm more if they want additional options.
|
|
182
|
+
|
|
183
|
+
### Step 3: Curation
|
|
184
|
+
|
|
185
|
+
Ask which points should be kept, removed, or combined. Request brief justifications to help learn priorities for the next sections.
|
|
186
|
+
|
|
187
|
+
Provide examples:
|
|
188
|
+
- "Keep 1,4,7,9"
|
|
189
|
+
- "Remove 3 (duplicates 1)"
|
|
190
|
+
- "Remove 6 (audience already knows this)"
|
|
191
|
+
- "Combine 11 and 12"
|
|
192
|
+
|
|
193
|
+
**If user gives freeform feedback** (e.g., "looks good" or "I like most of it but...") instead of numbered selections, extract their preferences and proceed. Parse what they want kept/removed/changed and apply it.
|
|
194
|
+
|
|
195
|
+
### Step 4: Gap Check
|
|
196
|
+
|
|
197
|
+
Based on what they've selected, ask if there's anything important missing for the [SECTION NAME] section.
|
|
198
|
+
|
|
199
|
+
### Step 5: Drafting
|
|
200
|
+
|
|
201
|
+
Replace only this section's placeholder with the drafted content — an in-place edit, never a reprint of the whole document.
|
|
202
|
+
|
|
203
|
+
Announce the [SECTION NAME] section will be drafted now based on what they've selected.
|
|
204
|
+
|
|
205
|
+
Ask them to read through it and indicate what to change. Note that being specific helps learning for the next sections.
|
|
206
|
+
|
|
207
|
+
**Key instruction for user (include when drafting the first section):**
|
|
208
|
+
Provide a note: Instead of editing the doc directly, ask them to indicate what to change. This helps learning of their style for future sections. For example: "Remove the X bullet - already covered by Y" or "Make the third paragraph more concise".
|
|
209
|
+
|
|
210
|
+
### Step 6: Iterative Refinement
|
|
211
|
+
|
|
212
|
+
As user provides feedback:
|
|
213
|
+
- Edit in place, surgically — never reprint the whole doc
|
|
214
|
+
- If user edits doc directly and asks to read it: mentally note the changes they made and keep them in mind for future sections (this shows their preferences)
|
|
215
|
+
|
|
216
|
+
**Continue iterating** until user is satisfied with the section.
|
|
217
|
+
|
|
218
|
+
### Quality Checking
|
|
219
|
+
|
|
220
|
+
When iterations stop producing substantial changes, ask if anything can be removed without losing important information.
|
|
221
|
+
|
|
222
|
+
When section is done, confirm [SECTION NAME] is complete. Ask if ready to move to the next section.
|
|
223
|
+
|
|
224
|
+
**Repeat for all sections.**
|
|
225
|
+
|
|
226
|
+
### Near Completion
|
|
227
|
+
|
|
228
|
+
As approaching completion (80%+ of sections done), announce intention to re-read the entire document and check for:
|
|
229
|
+
- Flow and consistency across sections
|
|
230
|
+
- Redundancy or contradictions
|
|
231
|
+
- Mannered prose — sentences that perform writing instead of saying something: throat-clearing openers, stacked hedges, "it's worth noting", triplets for rhythm, a closing line that restates the paragraph. One plain sentence per idea; a list or table where the content is multifaceted, prose where it is one idea
|
|
232
|
+
- Whether every sentence carries weight
|
|
233
|
+
|
|
234
|
+
Read entire document and provide feedback.
|
|
235
|
+
|
|
236
|
+
**When all sections are drafted and refined:**
|
|
237
|
+
Announce all sections are drafted. Indicate intention to review the complete document one more time.
|
|
238
|
+
|
|
239
|
+
Review for overall coherence, flow, completeness.
|
|
240
|
+
|
|
241
|
+
Provide any final suggestions.
|
|
242
|
+
|
|
243
|
+
Ask if ready to move to Reader Testing, or if they want to refine anything else.
|
|
244
|
+
|
|
245
|
+
## Stage 3: Reader Testing [LOW freedom — run exactly]
|
|
246
|
+
|
|
247
|
+
**Goal:** Test the document with a fresh Claude (no context bleed) to verify it works for readers.
|
|
248
|
+
|
|
249
|
+
**Instructions to user:**
|
|
250
|
+
Explain that testing will now occur to see if the document actually works for readers. This catches blind spots - things that make sense to the authors but might confuse others.
|
|
251
|
+
|
|
252
|
+
### Testing Approach
|
|
253
|
+
|
|
254
|
+
**If access to sub-agents is available (e.g., in Claude Code):**
|
|
255
|
+
|
|
256
|
+
Perform the testing directly without user involvement.
|
|
257
|
+
|
|
258
|
+
### Step 1: Predict Reader Questions
|
|
259
|
+
|
|
260
|
+
Announce intention to predict what questions readers might ask when trying to discover this document.
|
|
261
|
+
|
|
262
|
+
Generate 5-10 questions that readers would realistically ask.
|
|
263
|
+
|
|
264
|
+
### Step 2: Test with Sub-Agent
|
|
265
|
+
|
|
266
|
+
Announce that these questions will be tested with a fresh Claude instance (no context from this conversation).
|
|
267
|
+
|
|
268
|
+
For each question, invoke a sub-agent with just the document content and the question. The questions are independent — launch all the sub-agents in one message so they run in parallel, and brief each once, precisely.
|
|
269
|
+
|
|
270
|
+
Summarize what Reader Claude got right/wrong for each question.
|
|
271
|
+
|
|
272
|
+
### Step 3: Run Additional Checks
|
|
273
|
+
|
|
274
|
+
Announce additional checks will be performed.
|
|
275
|
+
|
|
276
|
+
Invoke sub-agent to check for ambiguity, false assumptions, contradictions.
|
|
277
|
+
|
|
278
|
+
Summarize any issues found.
|
|
279
|
+
|
|
280
|
+
### Step 4: Report and Fix
|
|
281
|
+
|
|
282
|
+
If issues found:
|
|
283
|
+
Report that Reader Claude struggled with specific issues.
|
|
284
|
+
|
|
285
|
+
List the specific issues.
|
|
286
|
+
|
|
287
|
+
Indicate intention to fix these gaps.
|
|
288
|
+
|
|
289
|
+
Loop back to refinement for problematic sections.
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
**If no access to sub-agents (e.g., claude.ai web interface):**
|
|
294
|
+
|
|
295
|
+
The user will need to do the testing manually.
|
|
296
|
+
|
|
297
|
+
### Step 1: Predict Reader Questions with the User
|
|
298
|
+
|
|
299
|
+
Ask what questions people might ask when trying to discover this document. What would they type into Claude.ai?
|
|
300
|
+
|
|
301
|
+
Generate 5-10 questions that readers would realistically ask.
|
|
302
|
+
|
|
303
|
+
### Step 2: Setup Testing
|
|
304
|
+
|
|
305
|
+
Provide testing instructions:
|
|
306
|
+
1. Open a fresh Claude conversation: https://claude.ai
|
|
307
|
+
2. Paste or share the document content (if using a shared doc platform with connectors enabled, provide the link)
|
|
308
|
+
3. Ask Reader Claude the generated questions
|
|
309
|
+
|
|
310
|
+
For each question, instruct Reader Claude to provide:
|
|
311
|
+
- The answer
|
|
312
|
+
- Whether anything was ambiguous or unclear
|
|
313
|
+
- What knowledge/context the doc assumes is already known
|
|
314
|
+
|
|
315
|
+
Check if Reader Claude gives correct answers or misinterprets anything.
|
|
316
|
+
|
|
317
|
+
### Step 3: Additional Checks
|
|
318
|
+
|
|
319
|
+
Also ask Reader Claude:
|
|
320
|
+
- "What in this doc might be ambiguous or unclear to readers?"
|
|
321
|
+
- "What knowledge or context does this doc assume readers already have?"
|
|
322
|
+
- "Are there any internal contradictions or inconsistencies?"
|
|
323
|
+
|
|
324
|
+
### Step 4: Iterate Based on Results
|
|
325
|
+
|
|
326
|
+
Ask what Reader Claude got wrong or struggled with. Indicate intention to fix those gaps.
|
|
327
|
+
|
|
328
|
+
Loop back to refinement for any problematic sections.
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
|
|
332
|
+
### Exit Condition (Both Approaches)
|
|
333
|
+
|
|
334
|
+
When Reader Claude consistently answers questions correctly and doesn't surface new gaps or ambiguities, the doc is ready.
|
|
335
|
+
|
|
336
|
+
## Final Review [LOW freedom — do not skip]
|
|
337
|
+
|
|
338
|
+
When Reader Testing passes:
|
|
339
|
+
Announce the doc has passed Reader Claude testing. Before completion:
|
|
340
|
+
|
|
341
|
+
1. Recommend they do a final read-through themselves - they own this document and are responsible for its quality
|
|
342
|
+
2. Suggest double-checking any facts, links, or technical details
|
|
343
|
+
3. Ask them to verify it achieves the impact they wanted
|
|
344
|
+
|
|
345
|
+
Ask if they want one more review, or if the work is done.
|
|
346
|
+
|
|
347
|
+
**If user wants final review, provide it. Otherwise:**
|
|
348
|
+
Announce document completion. Provide a few final tips:
|
|
349
|
+
- Consider linking this conversation in an appendix so readers can see how the doc was developed
|
|
350
|
+
- Use appendices to provide depth without bloating the main doc
|
|
351
|
+
- Update the doc as feedback is received from real readers
|
|
352
|
+
|
|
353
|
+
## Tips for Effective Guidance
|
|
354
|
+
|
|
355
|
+
**Tone:**
|
|
356
|
+
- Be direct and procedural
|
|
357
|
+
- Explain rationale briefly when it affects user behavior
|
|
358
|
+
- Don't try to "sell" the approach - just execute it
|
|
359
|
+
|
|
360
|
+
**Handling Deviations:**
|
|
361
|
+
- If user wants to skip a stage: Ask if they want to skip this and write freeform
|
|
362
|
+
- If user seems frustrated: Acknowledge this is taking longer than expected. Suggest ways to move faster
|
|
363
|
+
- Always give user agency to adjust the process
|
|
364
|
+
|
|
365
|
+
**Context Management:**
|
|
366
|
+
- Throughout, if context is missing on something mentioned, proactively ask
|
|
367
|
+
- Don't let gaps accumulate - address them as they come up
|
|
368
|
+
|