@cregis-dev/cckit 0.3.0 → 0.4.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/README.md +15 -3
- package/package.json +1 -1
- package/registry.json +234 -200
- package/src/commands/init.js +19 -15
- package/src/commands/update.js +9 -4
- package/src/core/plugin-installer.js +59 -13
- package/src/utils/fs.js +6 -1
- package/templates/bmad/_config/bmad-help.csv +2 -1
- package/templates/bmad/_config/files-manifest.csv +437 -431
- package/templates/bmad/_config/ides/claude-code.yaml +5 -5
- package/templates/bmad/_config/ides/trae.yaml +5 -5
- package/templates/bmad/_config/task-manifest.csv +7 -6
- package/templates/bmad/_config/workflow-manifest.csv +34 -34
- package/templates/bmad/bmm/agents/qa.md +1 -1
- package/templates/bmad/bmm/config.yaml +1 -1
- package/templates/bmad/bmm/module-help.csv +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/document-project/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/generate-project-context/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +2 -2
- package/templates/bmad/commands/bmad-bmm-check-implementation-readiness.md +2 -2
- package/templates/bmad/commands/bmad-bmm-code-review.md +4 -4
- package/templates/bmad/commands/bmad-bmm-correct-course.md +4 -4
- package/templates/bmad/commands/bmad-bmm-create-architecture.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-epics-and-stories.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-prd.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-product-brief.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-story.md +4 -4
- package/templates/bmad/commands/bmad-bmm-create-ux-design.md +2 -2
- package/templates/bmad/commands/bmad-bmm-dev-story.md +4 -4
- package/templates/bmad/commands/bmad-bmm-document-project.md +4 -4
- package/templates/bmad/commands/bmad-bmm-domain-research.md +2 -2
- package/templates/bmad/commands/bmad-bmm-edit-prd.md +2 -2
- package/templates/bmad/commands/bmad-bmm-generate-project-context.md +2 -2
- package/templates/bmad/commands/bmad-bmm-market-research.md +2 -2
- package/templates/bmad/commands/bmad-bmm-qa-generate-e2e-tests.md +4 -4
- package/templates/bmad/commands/bmad-bmm-quick-dev.md +2 -2
- package/templates/bmad/commands/bmad-bmm-quick-spec.md +2 -2
- package/templates/bmad/commands/bmad-bmm-retrospective.md +4 -4
- package/templates/bmad/commands/bmad-bmm-sprint-planning.md +4 -4
- package/templates/bmad/commands/bmad-bmm-sprint-status.md +4 -4
- package/templates/bmad/commands/bmad-bmm-technical-research.md +2 -2
- package/templates/bmad/commands/bmad-bmm-validate-prd.md +2 -2
- package/templates/bmad/commands/bmad-brainstorming.md +2 -2
- package/templates/bmad/commands/bmad-editorial-review-prose.md +1 -1
- package/templates/bmad/commands/bmad-editorial-review-structure.md +1 -1
- package/templates/bmad/commands/bmad-help.md +1 -1
- package/templates/bmad/commands/bmad-index-docs.md +1 -1
- package/templates/bmad/commands/bmad-party-mode.md +2 -2
- package/templates/bmad/commands/bmad-review-adversarial-general.md +1 -1
- package/templates/bmad/commands/bmad-review-edge-case-hunter.md +10 -0
- package/templates/bmad/commands/bmad-shard-doc.md +1 -1
- package/templates/bmad/commands/bmad-tea-teach-me-testing.md +2 -2
- package/templates/bmad/commands/bmad-tea-testarch-atdd.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-automate.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-ci.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-framework.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-nfr.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-test-design.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-test-review.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-trace.md +4 -4
- package/templates/bmad/core/config.yaml +1 -1
- package/templates/bmad/core/module-help.csv +1 -0
- package/templates/bmad/core/tasks/editorial-review-prose.xml +1 -1
- package/templates/bmad/core/tasks/editorial-review-structure.xml +1 -1
- package/templates/bmad/core/tasks/help.md +1 -1
- package/templates/bmad/core/tasks/index-docs.xml +1 -1
- package/templates/bmad/core/tasks/review-adversarial-general.xml +1 -1
- package/templates/bmad/core/tasks/review-edge-case-hunter.xml +63 -0
- package/templates/bmad/core/tasks/shard-doc.xml +1 -1
- package/templates/bmad/core/workflows/advanced-elicitation/workflow.xml +1 -1
- package/templates/bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +31 -18
- package/templates/bmad/core/workflows/brainstorming/steps/step-01b-continue.md +1 -1
- package/templates/bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +2 -2
- package/templates/bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +2 -2
- package/templates/bmad/core/workflows/brainstorming/workflow.md +4 -2
- package/templates/bmad/core/workflows/party-mode/workflow.md +1 -1
- package/templates/bmad/tea/config.yaml +5 -1
- package/templates/bmad/tea/testarch/knowledge/contract-testing.md +24 -2
- package/templates/bmad/tea/testarch/knowledge/pact-mcp.md +204 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-consumer-helpers.md +211 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-overview.md +210 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-provider-verifier.md +315 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-request-filter.md +224 -0
- package/templates/bmad/tea/testarch/tea-index.csv +5 -0
- package/templates/bmad/tea/workflows/testarch/README.md +1 -1
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +30 -0
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +159 -57
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04a-subagent-api-failing.md +215 -0
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04b-subagent-e2e-failing.md +244 -0
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +31 -15
- package/templates/bmad/tea/workflows/testarch/atdd/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/atdd/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/atdd/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +32 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03-generate-tests.md +215 -101
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03a-subagent-api.md +193 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subagent-backend.md +246 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subagent-e2e.md +213 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03c-aggregate.md +38 -22
- package/templates/bmad/tea/workflows/testarch/automate/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/automate/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/automate/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +124 -1
- package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +7 -0
- package/templates/bmad/tea/workflows/testarch/ci/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/ci/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/ci/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +126 -3
- package/templates/bmad/tea/workflows/testarch/framework/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/framework/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/framework/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +150 -36
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04a-subagent-security.md +138 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04b-subagent-performance.md +84 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04c-subagent-reliability.md +85 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04d-subagent-scalability.md +88 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +27 -10
- package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/nfr-assess/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/tea-resources-index.yaml +3 -3
- package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow-plan-teach-me-testing.md +6 -6
- package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow.md +1 -1
- package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-02-load-context.md +30 -0
- package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-05-generate-output.md +72 -1
- package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/test-design/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-01-load-context.md +29 -1
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +147 -46
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03a-subagent-determinism.md +214 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03b-subagent-isolation.md +125 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03c-subagent-maintainability.md +102 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03e-subagent-performance.md +117 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +10 -10
- package/templates/bmad/tea/workflows/testarch/test-review/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/test-review/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/test-review/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +92 -1
- package/templates/bmad/tea/workflows/testarch/trace/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/trace/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/trace/workflow.yaml +2 -2
- package/templates/ecc/agents/chief-of-staff.md +151 -0
- package/templates/ecc/commands/claw.md +79 -0
- package/templates/ecc/rules/README.md +23 -2
- package/templates/ecc/rules/common/development-workflow.md +37 -0
- package/templates/ecc/rules/common/git-workflow.md +2 -23
- package/templates/ecc/rules/swift/coding-style.md +47 -0
- package/templates/ecc/rules/swift/hooks.md +20 -0
- package/templates/ecc/rules/swift/patterns.md +66 -0
- package/templates/ecc/rules/swift/security.md +33 -0
- package/templates/ecc/rules/swift/testing.md +45 -0
- package/templates/ecc/skills/api-design/SKILL.md +1 -0
- package/templates/ecc/skills/article-writing/SKILL.md +85 -0
- package/templates/ecc/skills/backend-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/clickhouse-io/SKILL.md +1 -0
- package/templates/ecc/skills/coding-standards/SKILL.md +1 -0
- package/templates/ecc/skills/configure-ecc/SKILL.md +32 -4
- package/templates/ecc/skills/content-engine/SKILL.md +88 -0
- package/templates/ecc/skills/content-hash-cache-pattern/SKILL.md +1 -0
- package/templates/ecc/skills/continuous-learning/SKILL.md +2 -1
- package/templates/ecc/skills/continuous-learning-v2/SKILL.md +4 -1
- package/templates/ecc/skills/continuous-learning-v2/hooks/observe.sh +14 -7
- package/templates/ecc/skills/cost-aware-llm-pipeline/SKILL.md +1 -0
- package/templates/ecc/skills/cpp-coding-standards/SKILL.md +1 -0
- package/templates/ecc/skills/cpp-testing/SKILL.md +1 -0
- package/templates/ecc/skills/database-migrations/SKILL.md +1 -0
- package/templates/ecc/skills/deployment-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/django-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/django-security/SKILL.md +1 -0
- package/templates/ecc/skills/django-tdd/SKILL.md +1 -0
- package/templates/ecc/skills/django-verification/SKILL.md +1 -0
- package/templates/ecc/skills/docker-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/e2e-testing/SKILL.md +1 -0
- package/templates/ecc/skills/eval-harness/SKILL.md +1 -0
- package/templates/ecc/skills/foundation-models-on-device/SKILL.md +243 -0
- package/templates/ecc/skills/frontend-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/frontend-slides/SKILL.md +184 -0
- package/templates/ecc/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/templates/ecc/skills/golang-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/golang-testing/SKILL.md +1 -0
- package/templates/ecc/skills/investor-materials/SKILL.md +96 -0
- package/templates/ecc/skills/investor-outreach/SKILL.md +76 -0
- package/templates/ecc/skills/iterative-retrieval/SKILL.md +1 -0
- package/templates/ecc/skills/java-coding-standards/SKILL.md +1 -0
- package/templates/ecc/skills/jpa-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/liquid-glass-design/SKILL.md +279 -0
- package/templates/ecc/skills/market-research/SKILL.md +75 -0
- package/templates/ecc/skills/nutrient-document-processing/SKILL.md +1 -1
- package/templates/ecc/skills/postgres-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/project-guidelines-example/SKILL.md +1 -0
- package/templates/ecc/skills/python-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/python-testing/SKILL.md +1 -0
- package/templates/ecc/skills/regex-vs-llm-structured-text/SKILL.md +1 -0
- package/templates/ecc/skills/search-first/SKILL.md +3 -1
- package/templates/ecc/skills/security-review/SKILL.md +1 -0
- package/templates/ecc/skills/security-scan/SKILL.md +1 -0
- package/templates/ecc/skills/skill-stocktake/SKILL.md +176 -0
- package/templates/ecc/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/templates/ecc/skills/skill-stocktake/scripts/save-results.sh +56 -0
- package/templates/ecc/skills/skill-stocktake/scripts/scan.sh +170 -0
- package/templates/ecc/skills/springboot-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/springboot-security/SKILL.md +1 -0
- package/templates/ecc/skills/springboot-tdd/SKILL.md +1 -0
- package/templates/ecc/skills/springboot-verification/SKILL.md +1 -0
- package/templates/ecc/skills/strategic-compact/SKILL.md +1 -0
- package/templates/ecc/skills/swift-actor-persistence/SKILL.md +1 -0
- package/templates/ecc/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/templates/ecc/skills/swift-protocol-di-testing/SKILL.md +1 -0
- package/templates/ecc/skills/swiftui-patterns/SKILL.md +259 -0
- package/templates/ecc/skills/tdd-workflow/SKILL.md +1 -0
- package/templates/ecc/skills/verification-loop/SKILL.md +1 -0
- package/templates/ecc/skills/visa-doc-translate/README.md +86 -0
- package/templates/ecc/skills/visa-doc-translate/SKILL.md +117 -0
- package/templates/ext-skills/pinchtab/SKILL.md +89 -486
- package/templates/ext-skills/pinchtab/TRUST.md +69 -0
- package/templates/ext-skills/pinchtab/references/api.md +297 -0
- package/templates/ext-skills/pinchtab/references/env.md +45 -0
- package/templates/ext-skills/pinchtab/references/profiles.md +107 -0
- package/templates/plugins/claude-code-setup/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/claude-code-setup/LICENSE +202 -0
- package/templates/plugins/claude-code-setup/README.md +29 -0
- package/templates/plugins/claude-code-setup/automation-recommender-example.png +0 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/SKILL.md +288 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/hooks-patterns.md +226 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/mcp-servers.md +263 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/plugins-reference.md +98 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/skills-reference.md +408 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/subagent-templates.md +181 -0
- package/templates/plugins/claude-md-management/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/claude-md-management/LICENSE +202 -0
- package/templates/plugins/claude-md-management/README.md +40 -0
- package/templates/plugins/claude-md-management/claude-md-improver-example.png +0 -0
- package/templates/plugins/claude-md-management/commands/revise-claude-md.md +54 -0
- package/templates/plugins/claude-md-management/revise-claude-md-example.png +0 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/SKILL.md +179 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/references/quality-criteria.md +109 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/references/templates.md +253 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/references/update-guidelines.md +150 -0
- package/templates/plugins/code-simplifier/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/code-simplifier/LICENSE +202 -0
- package/templates/plugins/code-simplifier/agents/code-simplifier.md +52 -0
- package/templates/plugins/commit-commands/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/commit-commands/LICENSE +202 -0
- package/templates/plugins/commit-commands/README.md +225 -0
- package/templates/plugins/commit-commands/commands/clean_gone.md +53 -0
- package/templates/plugins/commit-commands/commands/commit-push-pr.md +20 -0
- package/templates/plugins/commit-commands/commands/commit.md +17 -0
- package/templates/trae-bmad/rules/bmad-bmm-check-implementation-readiness.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-code-review.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-correct-course.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-create-architecture.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-epics-and-stories.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-prd.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-product-brief.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-story.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-create-ux-design.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-dev-story.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-document-project.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-domain-research.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-edit-prd.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-generate-project-context.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-market-research.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-qa-generate-e2e-tests.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-quick-dev.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-quick-spec.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-retrospective.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-sprint-planning.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-sprint-status.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-technical-research.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-validate-prd.md +2 -2
- package/templates/trae-bmad/rules/bmad-brainstorming.md +2 -2
- package/templates/trae-bmad/rules/bmad-editorial-review-prose.md +1 -1
- package/templates/trae-bmad/rules/bmad-editorial-review-structure.md +1 -1
- package/templates/trae-bmad/rules/bmad-help.md +1 -1
- package/templates/trae-bmad/rules/bmad-index-docs.md +1 -1
- package/templates/trae-bmad/rules/bmad-party-mode.md +2 -2
- package/templates/trae-bmad/rules/bmad-review-adversarial-general.md +1 -1
- package/templates/trae-bmad/rules/bmad-review-edge-case-hunter.md +10 -0
- package/templates/trae-bmad/rules/bmad-shard-doc.md +1 -1
- package/templates/trae-bmad/rules/bmad-tea-teach-me-testing.md +2 -2
- package/templates/trae-bmad/rules/bmad-tea-testarch-atdd.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-automate.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-ci.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-framework.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-nfr.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-test-design.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-test-review.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-trace.md +4 -4
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
# Skills Recommendations
|
|
2
|
+
|
|
3
|
+
Skills are packaged expertise with workflows, reference materials, and best practices. Create them in `.claude/skills/<name>/SKILL.md`. Skills can be invoked by Claude automatically when relevant, or by users directly with `/skill-name`.
|
|
4
|
+
|
|
5
|
+
Some pre-built skills are available through official plugins (install via `/plugin install`).
|
|
6
|
+
|
|
7
|
+
**Note**: These are common patterns. Use web search to find skill ideas specific to the codebase's tools and frameworks.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Available from Official Plugins
|
|
12
|
+
|
|
13
|
+
### Plugin Development (plugin-dev)
|
|
14
|
+
|
|
15
|
+
| Skill | Best For |
|
|
16
|
+
|-------|----------|
|
|
17
|
+
| **skill-development** | Creating new skills with proper structure |
|
|
18
|
+
| **hook-development** | Building hooks for automation |
|
|
19
|
+
| **command-development** | Creating slash commands |
|
|
20
|
+
| **agent-development** | Building specialized subagents |
|
|
21
|
+
| **mcp-integration** | Integrating MCP servers into plugins |
|
|
22
|
+
| **plugin-structure** | Understanding plugin architecture |
|
|
23
|
+
|
|
24
|
+
### Git Workflows (commit-commands)
|
|
25
|
+
|
|
26
|
+
| Skill | Best For |
|
|
27
|
+
|-------|----------|
|
|
28
|
+
| **commit** | Creating git commits with proper messages |
|
|
29
|
+
| **commit-push-pr** | Full commit, push, and PR workflow |
|
|
30
|
+
|
|
31
|
+
### Frontend (frontend-design)
|
|
32
|
+
|
|
33
|
+
| Skill | Best For |
|
|
34
|
+
|-------|----------|
|
|
35
|
+
| **frontend-design** | Creating polished UI components |
|
|
36
|
+
|
|
37
|
+
**Value**: Creates distinctive, high-quality UI instead of generic AI aesthetics.
|
|
38
|
+
|
|
39
|
+
### Automation Rules (hookify)
|
|
40
|
+
|
|
41
|
+
| Skill | Best For |
|
|
42
|
+
|-------|----------|
|
|
43
|
+
| **writing-rules** | Creating hookify rules for automation |
|
|
44
|
+
|
|
45
|
+
### Feature Development (feature-dev)
|
|
46
|
+
|
|
47
|
+
| Skill | Best For |
|
|
48
|
+
|-------|----------|
|
|
49
|
+
| **feature-dev** | End-to-end feature development workflow |
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Quick Reference: Official Plugin Skills
|
|
54
|
+
|
|
55
|
+
| Codebase Signal | Skill | Plugin |
|
|
56
|
+
|-----------------|-------|--------|
|
|
57
|
+
| Building plugins | skill-development | plugin-dev |
|
|
58
|
+
| Git commits | commit | commit-commands |
|
|
59
|
+
| React/Vue/Angular | frontend-design | frontend-design |
|
|
60
|
+
| Automation rules | writing-rules | hookify |
|
|
61
|
+
| Feature planning | feature-dev | feature-dev |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Custom Project Skills
|
|
66
|
+
|
|
67
|
+
Create project-specific skills in `.claude/skills/<name>/SKILL.md`.
|
|
68
|
+
|
|
69
|
+
### Skill Structure
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
.claude/skills/
|
|
73
|
+
└── my-skill/
|
|
74
|
+
├── SKILL.md # Main instructions (required)
|
|
75
|
+
├── template.yaml # Template to apply
|
|
76
|
+
├── scripts/
|
|
77
|
+
│ └── validate.sh # Script to run
|
|
78
|
+
└── examples/ # Reference examples
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Frontmatter Reference
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
---
|
|
85
|
+
name: skill-name
|
|
86
|
+
description: What this skill does and when to use it
|
|
87
|
+
disable-model-invocation: true # Only user can invoke (for side effects)
|
|
88
|
+
user-invocable: false # Only Claude can invoke (for background knowledge)
|
|
89
|
+
allowed-tools: Read, Grep, Glob # Restrict tool access
|
|
90
|
+
context: fork # Run in isolated subagent
|
|
91
|
+
agent: Explore # Which agent type when forked
|
|
92
|
+
---
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Invocation Control
|
|
96
|
+
|
|
97
|
+
| Setting | User | Claude | Use for |
|
|
98
|
+
|---------|------|--------|---------|
|
|
99
|
+
| (default) | ✓ | ✓ | General-purpose skills |
|
|
100
|
+
| `disable-model-invocation: true` | ✓ | ✗ | Side effects (deploy, send) |
|
|
101
|
+
| `user-invocable: false` | ✗ | ✓ | Background knowledge |
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Custom Skill Examples
|
|
106
|
+
|
|
107
|
+
### API Documentation with OpenAPI Template
|
|
108
|
+
|
|
109
|
+
Apply a YAML template to generate consistent API docs:
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
.claude/skills/api-doc/
|
|
113
|
+
├── SKILL.md
|
|
114
|
+
└── openapi-template.yaml
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**SKILL.md:**
|
|
118
|
+
```yaml
|
|
119
|
+
---
|
|
120
|
+
name: api-doc
|
|
121
|
+
description: Generate OpenAPI documentation for an endpoint. Use when documenting API routes.
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
Generate OpenAPI documentation for the endpoint at $ARGUMENTS.
|
|
125
|
+
|
|
126
|
+
Use the template in [openapi-template.yaml](openapi-template.yaml) as the structure.
|
|
127
|
+
|
|
128
|
+
1. Read the endpoint code
|
|
129
|
+
2. Extract path, method, parameters, request/response schemas
|
|
130
|
+
3. Fill in the template with actual values
|
|
131
|
+
4. Output the completed YAML
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**openapi-template.yaml:**
|
|
135
|
+
```yaml
|
|
136
|
+
paths:
|
|
137
|
+
/{path}:
|
|
138
|
+
{method}:
|
|
139
|
+
summary: ""
|
|
140
|
+
description: ""
|
|
141
|
+
parameters: []
|
|
142
|
+
requestBody:
|
|
143
|
+
content:
|
|
144
|
+
application/json:
|
|
145
|
+
schema: {}
|
|
146
|
+
responses:
|
|
147
|
+
"200":
|
|
148
|
+
description: ""
|
|
149
|
+
content:
|
|
150
|
+
application/json:
|
|
151
|
+
schema: {}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
### Database Migration Generator with Script
|
|
157
|
+
|
|
158
|
+
Generate and validate migrations using a bundled script:
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
.claude/skills/create-migration/
|
|
162
|
+
├── SKILL.md
|
|
163
|
+
└── scripts/
|
|
164
|
+
└── validate-migration.sh
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**SKILL.md:**
|
|
168
|
+
```yaml
|
|
169
|
+
---
|
|
170
|
+
name: create-migration
|
|
171
|
+
description: Create a database migration file
|
|
172
|
+
disable-model-invocation: true
|
|
173
|
+
allowed-tools: Read, Write, Bash
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
Create a migration for: $ARGUMENTS
|
|
177
|
+
|
|
178
|
+
1. Generate migration file in `migrations/` with timestamp prefix
|
|
179
|
+
2. Include up and down functions
|
|
180
|
+
3. Run validation: `bash ~/.claude/skills/create-migration/scripts/validate-migration.sh`
|
|
181
|
+
4. Report any issues found
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**scripts/validate-migration.sh:**
|
|
185
|
+
```bash
|
|
186
|
+
#!/bin/bash
|
|
187
|
+
# Validate migration syntax
|
|
188
|
+
npx prisma validate 2>&1 || echo "Validation failed"
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
### Test Generator with Examples
|
|
194
|
+
|
|
195
|
+
Generate tests following project patterns:
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
.claude/skills/gen-test/
|
|
199
|
+
├── SKILL.md
|
|
200
|
+
└── examples/
|
|
201
|
+
├── unit-test.ts
|
|
202
|
+
└── integration-test.ts
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**SKILL.md:**
|
|
206
|
+
```yaml
|
|
207
|
+
---
|
|
208
|
+
name: gen-test
|
|
209
|
+
description: Generate tests for a file following project conventions
|
|
210
|
+
disable-model-invocation: true
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
Generate tests for: $ARGUMENTS
|
|
214
|
+
|
|
215
|
+
Reference these examples for the expected patterns:
|
|
216
|
+
- Unit tests: [examples/unit-test.ts](examples/unit-test.ts)
|
|
217
|
+
- Integration tests: [examples/integration-test.ts](examples/integration-test.ts)
|
|
218
|
+
|
|
219
|
+
1. Analyze the source file
|
|
220
|
+
2. Identify functions/methods to test
|
|
221
|
+
3. Generate tests matching project conventions
|
|
222
|
+
4. Place in appropriate test directory
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
### Component Generator with Template
|
|
228
|
+
|
|
229
|
+
Scaffold new components from a template:
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
.claude/skills/new-component/
|
|
233
|
+
├── SKILL.md
|
|
234
|
+
└── templates/
|
|
235
|
+
├── component.tsx.template
|
|
236
|
+
├── component.test.tsx.template
|
|
237
|
+
└── component.stories.tsx.template
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
**SKILL.md:**
|
|
241
|
+
```yaml
|
|
242
|
+
---
|
|
243
|
+
name: new-component
|
|
244
|
+
description: Scaffold a new React component with tests and stories
|
|
245
|
+
disable-model-invocation: true
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
Create component: $ARGUMENTS
|
|
249
|
+
|
|
250
|
+
Use templates in [templates/](templates/) directory:
|
|
251
|
+
1. Generate component from component.tsx.template
|
|
252
|
+
2. Generate tests from component.test.tsx.template
|
|
253
|
+
3. Generate Storybook story from component.stories.tsx.template
|
|
254
|
+
|
|
255
|
+
Replace {{ComponentName}} with the PascalCase name.
|
|
256
|
+
Replace {{component-name}} with the kebab-case name.
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
### PR Review with Checklist
|
|
262
|
+
|
|
263
|
+
Review PRs against a project-specific checklist:
|
|
264
|
+
|
|
265
|
+
```
|
|
266
|
+
.claude/skills/pr-check/
|
|
267
|
+
├── SKILL.md
|
|
268
|
+
└── checklist.md
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
**SKILL.md:**
|
|
272
|
+
```yaml
|
|
273
|
+
---
|
|
274
|
+
name: pr-check
|
|
275
|
+
description: Review PR against project checklist
|
|
276
|
+
disable-model-invocation: true
|
|
277
|
+
context: fork
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## PR Context
|
|
281
|
+
- Diff: !`gh pr diff`
|
|
282
|
+
- Description: !`gh pr view`
|
|
283
|
+
|
|
284
|
+
Review against [checklist.md](checklist.md).
|
|
285
|
+
|
|
286
|
+
For each item, mark ✅ or ❌ with explanation.
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
**checklist.md:**
|
|
290
|
+
```markdown
|
|
291
|
+
## PR Checklist
|
|
292
|
+
|
|
293
|
+
- [ ] Tests added for new functionality
|
|
294
|
+
- [ ] No console.log statements
|
|
295
|
+
- [ ] Error handling includes user-facing messages
|
|
296
|
+
- [ ] API changes are backwards compatible
|
|
297
|
+
- [ ] Database migrations are reversible
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
### Release Notes Generator
|
|
303
|
+
|
|
304
|
+
Generate release notes from git history:
|
|
305
|
+
|
|
306
|
+
**SKILL.md:**
|
|
307
|
+
```yaml
|
|
308
|
+
---
|
|
309
|
+
name: release-notes
|
|
310
|
+
description: Generate release notes from commits since last tag
|
|
311
|
+
disable-model-invocation: true
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## Recent Changes
|
|
315
|
+
- Commits since last tag: !`git log $(git describe --tags --abbrev=0)..HEAD --oneline`
|
|
316
|
+
- Last tag: !`git describe --tags --abbrev=0`
|
|
317
|
+
|
|
318
|
+
Generate release notes:
|
|
319
|
+
1. Group commits by type (feat, fix, docs, etc.)
|
|
320
|
+
2. Write user-friendly descriptions
|
|
321
|
+
3. Highlight breaking changes
|
|
322
|
+
4. Format as markdown
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
### Project Conventions (Claude-only)
|
|
328
|
+
|
|
329
|
+
Background knowledge Claude applies automatically:
|
|
330
|
+
|
|
331
|
+
**SKILL.md:**
|
|
332
|
+
```yaml
|
|
333
|
+
---
|
|
334
|
+
name: project-conventions
|
|
335
|
+
description: Code style and patterns for this project. Apply when writing or reviewing code.
|
|
336
|
+
user-invocable: false
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
## Naming Conventions
|
|
340
|
+
- React components: PascalCase
|
|
341
|
+
- Utilities: camelCase
|
|
342
|
+
- Constants: UPPER_SNAKE_CASE
|
|
343
|
+
- Files: kebab-case
|
|
344
|
+
|
|
345
|
+
## Patterns
|
|
346
|
+
- Use `Result<T, E>` for fallible operations, not exceptions
|
|
347
|
+
- Prefer composition over inheritance
|
|
348
|
+
- All API responses use `{ data, error, meta }` shape
|
|
349
|
+
|
|
350
|
+
## Forbidden
|
|
351
|
+
- No `any` types
|
|
352
|
+
- No `console.log` in production code
|
|
353
|
+
- No synchronous file I/O
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
### Environment Setup
|
|
359
|
+
|
|
360
|
+
Onboard new developers with setup script:
|
|
361
|
+
|
|
362
|
+
```
|
|
363
|
+
.claude/skills/setup-dev/
|
|
364
|
+
├── SKILL.md
|
|
365
|
+
└── scripts/
|
|
366
|
+
└── check-prerequisites.sh
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**SKILL.md:**
|
|
370
|
+
```yaml
|
|
371
|
+
---
|
|
372
|
+
name: setup-dev
|
|
373
|
+
description: Set up development environment for new contributors
|
|
374
|
+
disable-model-invocation: true
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
Set up development environment:
|
|
378
|
+
|
|
379
|
+
1. Check prerequisites: `bash scripts/check-prerequisites.sh`
|
|
380
|
+
2. Install dependencies: `npm install`
|
|
381
|
+
3. Copy environment template: `cp .env.example .env`
|
|
382
|
+
4. Set up database: `npm run db:setup`
|
|
383
|
+
5. Verify setup: `npm test`
|
|
384
|
+
|
|
385
|
+
Report any issues encountered.
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
## Argument Patterns
|
|
391
|
+
|
|
392
|
+
| Pattern | Meaning | Example |
|
|
393
|
+
|---------|---------|---------|
|
|
394
|
+
| `$ARGUMENTS` | All args as string | `/deploy staging` → "staging" |
|
|
395
|
+
|
|
396
|
+
Arguments are appended as `ARGUMENTS: <value>` if `$ARGUMENTS` isn't in the skill.
|
|
397
|
+
|
|
398
|
+
## Dynamic Context Injection
|
|
399
|
+
|
|
400
|
+
Use `!`command`` to inject live data before the skill runs:
|
|
401
|
+
|
|
402
|
+
```yaml
|
|
403
|
+
## Current State
|
|
404
|
+
- Branch: !`git branch --show-current`
|
|
405
|
+
- Status: !`git status --short`
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
The command output replaces the placeholder before Claude sees the skill content.
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Subagent Recommendations
|
|
2
|
+
|
|
3
|
+
Subagents are specialized Claude instances that run in parallel, each with their own context window and tool access. They're ideal for focused reviews, analysis, or generation tasks.
|
|
4
|
+
|
|
5
|
+
**Note**: These are common patterns. Design custom subagents based on the codebase's specific review and analysis needs.
|
|
6
|
+
|
|
7
|
+
## Code Review Agents
|
|
8
|
+
|
|
9
|
+
### code-reviewer
|
|
10
|
+
**Best for**: Automated code quality checks on large codebases
|
|
11
|
+
|
|
12
|
+
| Recommend When | Detection |
|
|
13
|
+
|----------------|-----------|
|
|
14
|
+
| Large codebase (>500 files) | File count |
|
|
15
|
+
| Frequent code changes | Active development |
|
|
16
|
+
| Team wants consistent review | Quality focus |
|
|
17
|
+
|
|
18
|
+
**Value**: Runs code review in parallel while you continue working
|
|
19
|
+
**Model**: sonnet (balanced quality/speed)
|
|
20
|
+
**Tools**: Read, Grep, Glob, Bash
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
### security-reviewer
|
|
25
|
+
**Best for**: Security-focused code review
|
|
26
|
+
|
|
27
|
+
| Recommend When | Detection |
|
|
28
|
+
|----------------|-----------|
|
|
29
|
+
| Auth code present | `auth/`, `login`, `session` patterns |
|
|
30
|
+
| Payment processing | `stripe`, `payment`, `billing` patterns |
|
|
31
|
+
| User data handling | `user`, `profile`, `pii` patterns |
|
|
32
|
+
| API keys in code | Environment variable patterns |
|
|
33
|
+
|
|
34
|
+
**Value**: Catches OWASP vulnerabilities, auth issues, data exposure
|
|
35
|
+
**Model**: sonnet
|
|
36
|
+
**Tools**: Read, Grep, Glob (read-only for safety)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
### test-writer
|
|
41
|
+
**Best for**: Generating comprehensive test coverage
|
|
42
|
+
|
|
43
|
+
| Recommend When | Detection |
|
|
44
|
+
|----------------|-----------|
|
|
45
|
+
| Low test coverage | Few test files vs source files |
|
|
46
|
+
| Test suite exists | `tests/`, `__tests__/` present |
|
|
47
|
+
| Testing framework configured | jest, pytest, vitest in deps |
|
|
48
|
+
|
|
49
|
+
**Value**: Generates tests matching project conventions
|
|
50
|
+
**Model**: sonnet
|
|
51
|
+
**Tools**: Read, Write, Grep, Glob
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Specialized Agents
|
|
56
|
+
|
|
57
|
+
### api-documenter
|
|
58
|
+
**Best for**: API documentation generation
|
|
59
|
+
|
|
60
|
+
| Recommend When | Detection |
|
|
61
|
+
|----------------|-----------|
|
|
62
|
+
| REST endpoints | Express routes, FastAPI paths |
|
|
63
|
+
| GraphQL schema | `.graphql` files |
|
|
64
|
+
| OpenAPI exists | `openapi.yaml`, `swagger.json` |
|
|
65
|
+
| Undocumented APIs | Routes without docs |
|
|
66
|
+
|
|
67
|
+
**Value**: Generates OpenAPI specs, endpoint documentation
|
|
68
|
+
**Model**: sonnet
|
|
69
|
+
**Tools**: Read, Write, Grep, Glob
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### performance-analyzer
|
|
74
|
+
**Best for**: Finding performance bottlenecks
|
|
75
|
+
|
|
76
|
+
| Recommend When | Detection |
|
|
77
|
+
|----------------|-----------|
|
|
78
|
+
| Database queries | ORM usage, raw SQL |
|
|
79
|
+
| High-traffic code | API endpoints, hot paths |
|
|
80
|
+
| Performance complaints | User reports slowness |
|
|
81
|
+
| Complex algorithms | Nested loops, recursion |
|
|
82
|
+
|
|
83
|
+
**Value**: Finds N+1 queries, O(n²) algorithms, memory leaks
|
|
84
|
+
**Model**: sonnet
|
|
85
|
+
**Tools**: Read, Grep, Glob, Bash
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### ui-reviewer
|
|
90
|
+
**Best for**: Frontend accessibility and UX review
|
|
91
|
+
|
|
92
|
+
| Recommend When | Detection |
|
|
93
|
+
|----------------|-----------|
|
|
94
|
+
| React/Vue/Angular | Frontend framework detected |
|
|
95
|
+
| Component library | `components/` directory |
|
|
96
|
+
| User-facing UI | Not just API project |
|
|
97
|
+
|
|
98
|
+
**Value**: Catches accessibility issues, UX problems, responsive design gaps
|
|
99
|
+
**Model**: sonnet
|
|
100
|
+
**Tools**: Read, Grep, Glob
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Utility Agents
|
|
105
|
+
|
|
106
|
+
### dependency-updater
|
|
107
|
+
**Best for**: Safe dependency updates
|
|
108
|
+
|
|
109
|
+
| Recommend When | Detection |
|
|
110
|
+
|----------------|-----------|
|
|
111
|
+
| Outdated deps | `npm outdated` has results |
|
|
112
|
+
| Security advisories | `npm audit` warnings |
|
|
113
|
+
| Major version behind | Significant version gaps |
|
|
114
|
+
|
|
115
|
+
**Value**: Updates dependencies incrementally with testing
|
|
116
|
+
**Model**: sonnet
|
|
117
|
+
**Tools**: Read, Write, Bash, Grep
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### migration-helper
|
|
122
|
+
**Best for**: Framework/version migrations
|
|
123
|
+
|
|
124
|
+
| Recommend When | Detection |
|
|
125
|
+
|----------------|-----------|
|
|
126
|
+
| Major upgrade needed | Framework version very old |
|
|
127
|
+
| Breaking changes coming | Deprecation warnings |
|
|
128
|
+
| Refactoring planned | Architectural changes |
|
|
129
|
+
|
|
130
|
+
**Value**: Plans and executes migrations incrementally
|
|
131
|
+
**Model**: opus (complex reasoning needed)
|
|
132
|
+
**Tools**: Read, Write, Grep, Glob, Bash
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Quick Reference: Detection → Recommendation
|
|
137
|
+
|
|
138
|
+
| If You See | Recommend Subagent |
|
|
139
|
+
|------------|-------------------|
|
|
140
|
+
| Large codebase | code-reviewer |
|
|
141
|
+
| Auth/payment code | security-reviewer |
|
|
142
|
+
| Few tests | test-writer |
|
|
143
|
+
| API routes | api-documenter |
|
|
144
|
+
| Database heavy | performance-analyzer |
|
|
145
|
+
| Frontend components | ui-reviewer |
|
|
146
|
+
| Outdated packages | dependency-updater |
|
|
147
|
+
| Old framework version | migration-helper |
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Subagent Placement
|
|
152
|
+
|
|
153
|
+
Subagents go in `.claude/agents/`:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
.claude/
|
|
157
|
+
└── agents/
|
|
158
|
+
├── code-reviewer.md
|
|
159
|
+
├── security-reviewer.md
|
|
160
|
+
└── test-writer.md
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Model Selection Guide
|
|
166
|
+
|
|
167
|
+
| Model | Best For | Trade-off |
|
|
168
|
+
|-------|----------|-----------|
|
|
169
|
+
| **haiku** | Simple, repetitive checks | Fast, cheap, less thorough |
|
|
170
|
+
| **sonnet** | Most review/analysis tasks | Balanced (recommended default) |
|
|
171
|
+
| **opus** | Complex migrations, architecture | Thorough, slower, more expensive |
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## Tool Access Guide
|
|
176
|
+
|
|
177
|
+
| Access Level | Tools | Use Case |
|
|
178
|
+
|--------------|-------|----------|
|
|
179
|
+
| Read-only | Read, Grep, Glob | Reviews, analysis |
|
|
180
|
+
| Writing | + Write | Code generation, docs |
|
|
181
|
+
| Full | + Bash | Migrations, testing |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "claude-md-management",
|
|
3
|
+
"description": "Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Anthropic",
|
|
7
|
+
"email": "support@anthropic.com"
|
|
8
|
+
}
|
|
9
|
+
}
|