bmad-studio 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc +8 -0
- package/CONTRIBUTING.md +109 -0
- package/LICENSE +21 -0
- package/README.md +110 -0
- package/_bmad/_config/agent-manifest.csv +11 -0
- package/_bmad/_config/bmad-help.csv +57 -0
- package/_bmad/_config/files-manifest.csv +646 -0
- package/_bmad/_config/ides/claude-code.yaml +5 -0
- package/_bmad/_config/manifest.yaml +42 -0
- package/_bmad/_config/skill-manifest.csv +48 -0
- package/_bmad/_config/task-manifest.csv +1 -0
- package/_bmad/_config/tool-manifest.csv +1 -0
- package/_bmad/_config/workflow-manifest.csv +1 -0
- package/_bmad/bmb/config.yaml +13 -0
- package/_bmad/bmb/module-help.csv +7 -0
- package/_bmad/bmb/skills/bmad-agent-builder/SKILL.md +65 -0
- package/_bmad/bmb/skills/bmad-agent-builder/assets/SKILL-template.md +97 -0
- package/_bmad/bmb/skills/bmad-agent-builder/assets/autonomous-wake.md +37 -0
- package/_bmad/bmb/skills/bmad-agent-builder/assets/init-template.md +47 -0
- package/_bmad/bmb/skills/bmad-agent-builder/assets/memory-system.md +129 -0
- package/_bmad/bmb/skills/bmad-agent-builder/assets/quality-report-template.md +282 -0
- package/_bmad/bmb/skills/bmad-agent-builder/assets/save-memory.md +29 -0
- package/_bmad/bmb/skills/bmad-agent-builder/bmad-manifest.json +24 -0
- package/_bmad/bmb/skills/bmad-agent-builder/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmb/skills/bmad-agent-builder/build-process.md +199 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-optimizer.md +208 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-scan-agent-cohesion.md +272 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-scan-enhancement-opportunities.md +277 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-scan-execution-efficiency.md +181 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-scan-prompt-craft.md +245 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-scan-script-opportunities.md +262 -0
- package/_bmad/bmb/skills/bmad-agent-builder/quality-scan-structure.md +183 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/metadata-reference.md +126 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/quality-dimensions.md +46 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/script-opportunities-reference.md +385 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/skill-best-practices.md +218 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/standard-fields.md +103 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/template-substitution-rules.md +72 -0
- package/_bmad/bmb/skills/bmad-agent-builder/references/universal-scan-schema.md +267 -0
- package/_bmad/bmb/skills/bmad-agent-builder/report-quality-scan-creator.md +138 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/bmad-manifest-schema.json +103 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/generate-html-report.py +1002 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/manifest.py +420 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/prepass-execution-deps.py +368 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/prepass-prompt-metrics.py +476 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/prepass-structure-capabilities.py +636 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/scan-path-standards.py +253 -0
- package/_bmad/bmb/skills/bmad-agent-builder/scripts/scan-scripts.py +745 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/SKILL.md +65 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/assets/SKILL-template.md +117 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/assets/quality-report-template.md +260 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/bmad-manifest.json +23 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/build-process.md +208 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-optimizer.md +209 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-scan-enhancement-opportunities.md +273 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-scan-execution-efficiency.md +322 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-scan-prompt-craft.md +328 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-scan-script-opportunities.md +261 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-scan-skill-cohesion.md +340 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/quality-scan-workflow-integrity.md +280 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/classification-reference.md +61 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/complex-workflow-patterns.md +523 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/metadata-reference.md +126 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/quality-dimensions.md +45 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/script-opportunities-reference.md +354 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/skill-best-practices.md +218 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/standard-fields.md +121 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/template-substitution-rules.md +85 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/references/universal-scan-schema.md +267 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/report-quality-scan-creator.md +134 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/bmad-manifest-schema.json +103 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/generate-html-report.py +1002 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/manifest.py +420 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/prepass-execution-deps.py +313 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/prepass-prompt-metrics.py +285 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/prepass-workflow-integrity.py +485 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/scan-path-standards.py +213 -0
- package/_bmad/bmb/skills/bmad-workflow-builder/scripts/scan-scripts.py +745 -0
- package/_bmad/bmm/agents/analyst.md +69 -0
- package/_bmad/bmm/agents/architect.md +59 -0
- package/_bmad/bmm/agents/bmad-skill-manifest.yaml +39 -0
- package/_bmad/bmm/agents/dev.md +66 -0
- package/_bmad/bmm/agents/pm.md +63 -0
- package/_bmad/bmm/agents/qa.md +89 -0
- package/_bmad/bmm/agents/quick-flow-solo-dev.md +61 -0
- package/_bmad/bmm/agents/sm.md +67 -0
- package/_bmad/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
- package/_bmad/bmm/agents/tech-writer/tech-writer.md +67 -0
- package/_bmad/bmm/agents/ux-designer.md +58 -0
- package/_bmad/bmm/config.yaml +16 -0
- package/_bmad/bmm/data/project-context-template.md +26 -0
- package/_bmad/bmm/module-help.csv +32 -0
- package/_bmad/bmm/teams/default-party.csv +20 -0
- package/_bmad/bmm/teams/team-fullstack.yaml +12 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/product-brief.template.md +10 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01-init.md +170 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01b-continue.md +158 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-02-vision.md +193 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-03-users.md +196 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-04-metrics.md +199 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-05-scope.md +213 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-06-complete.md +159 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/workflow.md +55 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-01-init.md +137 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/workflow.md +49 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/workflow.md +49 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-01-init.md +137 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/workflow.md +50 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +476 -0
- package/_bmad/bmm/workflows/1-analysis/research/research.template.md +29 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +6 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md +135 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +171 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/ux-design-template.md +13 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/workflow.md +36 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +165 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/workflow.md +63 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +15 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +197 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +11 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +224 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +191 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +209 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +174 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +228 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +217 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +263 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +209 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +232 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +65 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/workflow.md +49 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/architecture-decision-template.md +12 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/domain-complexity.csv +13 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/project-types.csv +7 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md +153 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01b-continue.md +173 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md +224 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md +329 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md +318 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md +359 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md +379 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md +359 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-08-complete.md +76 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md +38 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/workflow.md +53 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/checklist.md +288 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/workflow.md +267 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/checklist.md +357 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/discover-inputs.md +88 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/template.md +49 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/workflow.md +380 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/checklist.md +80 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/workflow.md +450 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/workflow.md +1479 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/checklist.md +33 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/sprint-status-template.yaml +56 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/workflow.md +263 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/workflow.md +261 -0
- package/_bmad/bmm/workflows/bmad-document-project/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-document-project/checklist.md +245 -0
- package/_bmad/bmm/workflows/bmad-document-project/documentation-requirements.csv +12 -0
- package/_bmad/bmm/workflows/bmad-document-project/instructions.md +128 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/deep-dive-template.md +345 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/index-template.md +169 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/project-overview-template.md +103 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/project-scan-report-schema.json +160 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/source-tree-template.md +135 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflow.md +27 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-instructions.md +299 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-instructions.md +1107 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-workflow.md +34 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/project-context-template.md +21 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-01-discover.md +186 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-02-generate.md +321 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-03-complete.md +278 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/workflow.md +43 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/checklist.md +33 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/workflow.md +136 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-01-mode-detection.md +169 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-02-context-gathering.md +114 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-03-execute.md +107 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-04-self-check.md +107 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md +94 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-06-resolve-findings.md +144 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/workflow.md +38 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +51 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +35 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +33 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +50 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +17 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/tech-spec-template.md +90 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +79 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-01-understand.md +185 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-02-investigate.md +140 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-03-generate.md +123 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-04-review.md +195 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/tech-spec-template.md +74 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/workflow.md +73 -0
- package/_bmad/core/config.yaml +9 -0
- package/_bmad/core/module-help.csv +11 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/methods.csv +51 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/workflow.md +135 -0
- package/_bmad/core/skills/bmad-brainstorming/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-brainstorming/brain-methods.csv +62 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
- package/_bmad/core/skills/bmad-brainstorming/template.md +15 -0
- package/_bmad/core/skills/bmad-brainstorming/workflow.md +53 -0
- package/_bmad/core/skills/bmad-distillator/SKILL.md +178 -0
- package/_bmad/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
- package/_bmad/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
- package/_bmad/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
- package/_bmad/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
- package/_bmad/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
- package/_bmad/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
- package/_bmad/core/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
- package/_bmad/core/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
- package/_bmad/core/skills/bmad-editorial-review-prose/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-editorial-review-prose/workflow.md +81 -0
- package/_bmad/core/skills/bmad-editorial-review-structure/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-editorial-review-structure/workflow.md +174 -0
- package/_bmad/core/skills/bmad-help/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-help/workflow.md +88 -0
- package/_bmad/core/skills/bmad-index-docs/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-index-docs/workflow.md +61 -0
- package/_bmad/core/skills/bmad-party-mode/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-01-agent-loading.md +138 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-02-discussion-orchestration.md +187 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-03-graceful-exit.md +167 -0
- package/_bmad/core/skills/bmad-party-mode/workflow.md +190 -0
- package/_bmad/core/skills/bmad-review-adversarial-general/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-review-adversarial-general/workflow.md +32 -0
- package/_bmad/core/skills/bmad-review-edge-case-hunter/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-review-edge-case-hunter/workflow.md +62 -0
- package/_bmad/core/skills/bmad-shard-doc/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-shard-doc/workflow.md +100 -0
- package/_bmad/core/tasks/bmad-create-prd/SKILL.md +6 -0
- package/_bmad/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
- package/_bmad/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
- package/_bmad/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01-init.md +178 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-03-success.md +214 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-05-domain.md +194 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-08-scoping.md +216 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-09-functional.md +219 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-11-polish.md +221 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-12-complete.md +115 -0
- package/_bmad/core/tasks/bmad-create-prd/templates/prd-template.md +10 -0
- package/_bmad/core/tasks/bmad-create-prd/workflow.md +62 -0
- package/_bmad/tea/agents/tea.md +63 -0
- package/_bmad/tea/config.yaml +25 -0
- package/_bmad/tea/module-help.csv +10 -0
- package/_bmad/tea/teams/default-party.csv +2 -0
- package/_bmad/tea/testarch/knowledge/adr-quality-readiness-checklist.md +377 -0
- package/_bmad/tea/testarch/knowledge/api-request.md +563 -0
- package/_bmad/tea/testarch/knowledge/api-testing-patterns.md +915 -0
- package/_bmad/tea/testarch/knowledge/auth-session.md +548 -0
- package/_bmad/tea/testarch/knowledge/burn-in.md +273 -0
- package/_bmad/tea/testarch/knowledge/ci-burn-in.md +717 -0
- package/_bmad/tea/testarch/knowledge/component-tdd.md +486 -0
- package/_bmad/tea/testarch/knowledge/contract-testing.md +1050 -0
- package/_bmad/tea/testarch/knowledge/data-factories.md +500 -0
- package/_bmad/tea/testarch/knowledge/email-auth.md +721 -0
- package/_bmad/tea/testarch/knowledge/error-handling.md +725 -0
- package/_bmad/tea/testarch/knowledge/feature-flags.md +750 -0
- package/_bmad/tea/testarch/knowledge/file-utils.md +456 -0
- package/_bmad/tea/testarch/knowledge/fixture-architecture.md +401 -0
- package/_bmad/tea/testarch/knowledge/fixtures-composition.md +382 -0
- package/_bmad/tea/testarch/knowledge/intercept-network-call.md +426 -0
- package/_bmad/tea/testarch/knowledge/log.md +426 -0
- package/_bmad/tea/testarch/knowledge/network-error-monitor.md +401 -0
- package/_bmad/tea/testarch/knowledge/network-first.md +486 -0
- package/_bmad/tea/testarch/knowledge/network-recorder.md +527 -0
- package/_bmad/tea/testarch/knowledge/nfr-criteria.md +670 -0
- package/_bmad/tea/testarch/knowledge/overview.md +286 -0
- package/_bmad/tea/testarch/knowledge/pact-consumer-di.md +310 -0
- package/_bmad/tea/testarch/knowledge/pact-consumer-framework-setup.md +635 -0
- package/_bmad/tea/testarch/knowledge/pact-mcp.md +204 -0
- package/_bmad/tea/testarch/knowledge/pactjs-utils-consumer-helpers.md +270 -0
- package/_bmad/tea/testarch/knowledge/pactjs-utils-overview.md +216 -0
- package/_bmad/tea/testarch/knowledge/pactjs-utils-provider-verifier.md +315 -0
- package/_bmad/tea/testarch/knowledge/pactjs-utils-request-filter.md +224 -0
- package/_bmad/tea/testarch/knowledge/playwright-cli.md +165 -0
- package/_bmad/tea/testarch/knowledge/playwright-config.md +730 -0
- package/_bmad/tea/testarch/knowledge/probability-impact.md +601 -0
- package/_bmad/tea/testarch/knowledge/recurse.md +421 -0
- package/_bmad/tea/testarch/knowledge/risk-governance.md +615 -0
- package/_bmad/tea/testarch/knowledge/selective-testing.md +732 -0
- package/_bmad/tea/testarch/knowledge/selector-resilience.md +527 -0
- package/_bmad/tea/testarch/knowledge/test-healing-patterns.md +644 -0
- package/_bmad/tea/testarch/knowledge/test-levels-framework.md +473 -0
- package/_bmad/tea/testarch/knowledge/test-priorities-matrix.md +373 -0
- package/_bmad/tea/testarch/knowledge/test-quality.md +664 -0
- package/_bmad/tea/testarch/knowledge/timing-debugging.md +372 -0
- package/_bmad/tea/testarch/knowledge/visual-debugging.md +524 -0
- package/_bmad/tea/testarch/tea-index.csv +43 -0
- package/_bmad/tea/workflows/testarch/README.md +74 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/checklist.md +197 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/data/curriculum.yaml +129 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/data/quiz-questions.yaml +206 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/data/role-paths.yaml +136 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/data/session-content-map.yaml +207 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/data/tea-resources-index.yaml +359 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/instructions.md +130 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-01-init.md +235 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-01b-continue.md +147 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-02-assess.md +258 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-03-session-menu.md +219 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-01.md +460 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-02.md +465 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-03.md +301 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-04.md +234 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-05.md +234 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-06.md +209 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-07.md +212 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-c/step-05-completion.md +339 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-e/step-e-01-assess-workflow.md +141 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-e/step-e-02-apply-edits.md +122 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/steps-v/step-v-01-validate.md +263 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/templates/certificate-template.md +86 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/templates/progress-template.yaml +95 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/templates/session-notes-template.md +83 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/workflow-plan-teach-me-testing.md +950 -0
- package/_bmad/tea/workflows/testarch/bmad-teach-me-testing/workflow.md +90 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/atdd-checklist-template.md +371 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/checklist.md +374 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/instructions.md +45 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-01-preflight-and-context.md +226 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-01b-resume.md +96 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-02-generation-mode.md +125 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-03-test-strategy.md +110 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-04-generate-tests.md +334 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-04a-subagent-api-failing.md +286 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-04b-subagent-e2e-failing.md +244 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-04c-aggregate.md +370 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-c/step-05-validate-and-complete.md +106 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/validation-report-20260127-095021.md +73 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/validation-report-20260127-102401.md +116 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/workflow-plan.md +21 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-atdd/workflow.yaml +46 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/checklist.md +611 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/instructions.md +50 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-01-preflight-and-context.md +237 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-01b-resume.md +94 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-02-identify-targets.md +169 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-03-generate-tests.md +394 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-03a-subagent-api.md +263 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-03b-subagent-backend.md +246 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-03b-subagent-e2e.md +213 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-03c-aggregate.md +393 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-c/step-04-validate-and-summarize.md +106 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/validation-report-20260127-095021.md +72 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/validation-report-20260127-102401.md +114 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/workflow-plan.md +20 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-automate/workflow.yaml +53 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/azure-pipelines-template.yaml +155 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/checklist.md +289 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/github-actions-template.yaml +328 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/gitlab-ci-template.yaml +158 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/harness-pipeline-template.yaml +159 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/instructions.md +45 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/jenkins-pipeline-template.groovy +129 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-c/step-01-preflight.md +158 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-c/step-01b-resume.md +110 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-c/step-02-generate-pipeline.md +279 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-c/step-03-configure-quality-gates.md +135 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-c/step-04-validate-and-summary.md +92 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/steps-v/step-01-validate.md +81 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/validation-report-20260127-095021.md +72 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/validation-report-20260127-102401.md +114 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/workflow-plan.md +20 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-ci/workflow.yaml +48 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/checklist.md +345 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/instructions.md +45 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-c/step-01-preflight.md +132 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-c/step-01b-resume.md +116 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-c/step-02-select-framework.md +117 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-c/step-03-scaffold-framework.md +323 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-c/step-04-docs-and-scripts.md +105 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-c/step-05-validate-and-summary.md +93 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/validation-report-20260127-095021.md +73 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/validation-report-20260127-102401.md +116 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/workflow-plan.md +22 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-framework/workflow.yaml +48 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/checklist.md +407 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/instructions.md +43 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/nfr-report-template.md +470 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-01-load-context.md +138 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-01b-resume.md +106 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-02-define-thresholds.md +107 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-03-gather-evidence.md +108 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-04-evaluate-and-score.md +254 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-04a-subagent-security.md +138 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-04b-subagent-performance.md +84 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-04c-subagent-reliability.md +85 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-04d-subagent-scalability.md +88 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-04e-aggregate-nfr.md +264 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-c/step-05-generate-report.md +108 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/validation-report-20260127-095021.md +73 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/validation-report-20260127-102401.md +116 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/workflow-plan.md +19 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-nfr/workflow.yaml +48 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/checklist.md +464 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/instructions.md +105 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-c/step-01-detect-mode.md +134 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-c/step-01b-resume.md +102 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-c/step-02-load-context.md +242 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-c/step-03-risk-and-testability.md +110 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-c/step-04-coverage-plan.md +123 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-c/step-05-generate-output.md +222 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/test-design-architecture-template.md +230 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/test-design-handoff-template.md +70 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/test-design-qa-template.md +396 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/test-design-template.md +344 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/validation-report-20260127-095021.md +73 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/validation-report-20260127-102401.md +116 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/workflow-plan.md +22 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-design/workflow.yaml +77 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/checklist.md +475 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/instructions.md +45 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-01-load-context.md +197 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-01b-resume.md +104 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-02-discover-tests.md +113 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-03-quality-evaluation.md +274 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-03a-subagent-determinism.md +214 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-03b-subagent-isolation.md +125 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-03c-subagent-maintainability.md +102 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-03e-subagent-performance.md +117 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-03f-aggregate-scores.md +277 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-c/step-04-generate-report.md +111 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/test-review-template.md +387 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/validation-report-20260127-095021.md +72 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/validation-report-20260127-102401.md +114 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/workflow-plan.md +18 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-test-review/workflow.yaml +48 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/SKILL.md +6 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/bmad-skill-manifest.yaml +1 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/checklist.md +647 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/instructions.md +43 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-c/step-01-load-context.md +105 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-c/step-01b-resume.md +102 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-c/step-02-discover-tests.md +112 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-c/step-03-map-criteria.md +97 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-c/step-04-analyze-gaps.md +421 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-c/step-05-gate-decision.md +266 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-e/step-01-assess.md +65 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-e/step-02-apply-edit.md +60 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/steps-v/step-01-validate.md +67 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/trace-template.md +708 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/validation-report-20260127-095021.md +73 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/validation-report-20260127-102401.md +116 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/workflow-plan.md +21 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/workflow.md +41 -0
- package/_bmad/tea/workflows/testarch/bmad-testarch-trace/workflow.yaml +56 -0
- package/bin/bmad-studio.mjs +25 -0
- package/eslint.config.js +38 -0
- package/package.json +56 -0
- package/packages/client/index.html +12 -0
- package/packages/client/package.json +46 -0
- package/packages/client/src/app.tsx +57 -0
- package/packages/client/src/features/about/AboutPage.tsx +144 -0
- package/packages/client/src/features/agents/AgentCard.tsx +52 -0
- package/packages/client/src/features/agents/AgentDetail.tsx +338 -0
- package/packages/client/src/features/agents/AgentOverrideEditor.tsx +127 -0
- package/packages/client/src/features/agents/AgentsPage.tsx +114 -0
- package/packages/client/src/features/agents/EditAgentDialog.tsx +260 -0
- package/packages/client/src/features/agents/SkillAssignment.tsx +153 -0
- package/packages/client/src/features/agents/use-agent-detail.ts +17 -0
- package/packages/client/src/features/agents/use-agent-mutations.ts +47 -0
- package/packages/client/src/features/agents/use-agents.ts +17 -0
- package/packages/client/src/features/connections/ConnectionsPage.tsx +165 -0
- package/packages/client/src/features/files/FilesPage.tsx +177 -0
- package/packages/client/src/features/outputs/OutputsPage.tsx +190 -0
- package/packages/client/src/features/overview/OverviewPage.tsx +282 -0
- package/packages/client/src/features/packages/EditModuleDialog.tsx +118 -0
- package/packages/client/src/features/packages/PackagesPage.tsx +982 -0
- package/packages/client/src/features/settings/SettingsPage.tsx +141 -0
- package/packages/client/src/features/settings/use-settings.ts +34 -0
- package/packages/client/src/features/skills/CreateSkillDialog.tsx +328 -0
- package/packages/client/src/features/skills/SkillDetailSlideOver.tsx +179 -0
- package/packages/client/src/features/skills/SkillsPage.tsx +142 -0
- package/packages/client/src/features/skills/use-skills.ts +27 -0
- package/packages/client/src/features/teams/CreateTeamDialog.tsx +239 -0
- package/packages/client/src/features/teams/TeamDetailPanel.tsx +549 -0
- package/packages/client/src/features/teams/TeamsPage.tsx +196 -0
- package/packages/client/src/features/teams/use-teams.ts +39 -0
- package/packages/client/src/features/workflows/CreateWorkflowDialog.tsx +395 -0
- package/packages/client/src/features/workflows/EditWorkflowDialog.tsx +131 -0
- package/packages/client/src/features/workflows/WorkflowDetailPanel.tsx +503 -0
- package/packages/client/src/features/workflows/WorkflowGraph.tsx +108 -0
- package/packages/client/src/features/workflows/WorkflowsPage.tsx +277 -0
- package/packages/client/src/features/workflows/use-workflows.ts +27 -0
- package/packages/client/src/features/workspace/WorkspacePage.tsx +304 -0
- package/packages/client/src/globals.css +184 -0
- package/packages/client/src/hooks/use-detail-param.ts +31 -0
- package/packages/client/src/hooks/use-file-save.ts +22 -0
- package/packages/client/src/hooks/use-websocket.ts +38 -0
- package/packages/client/src/layout/AppShell.tsx +20 -0
- package/packages/client/src/layout/Breadcrumbs.tsx +52 -0
- package/packages/client/src/layout/NotificationProvider.tsx +95 -0
- package/packages/client/src/layout/Sidebar.tsx +176 -0
- package/packages/client/src/lib/theme.ts +30 -0
- package/packages/client/src/lib/websocket-client.ts +97 -0
- package/packages/client/src/main.tsx +14 -0
- package/packages/client/src/shared/CommandPalette.tsx +151 -0
- package/packages/client/src/shared/CsvViewer.tsx +120 -0
- package/packages/client/src/shared/EmptyState.tsx +20 -0
- package/packages/client/src/shared/EntityPageHeader.tsx +95 -0
- package/packages/client/src/shared/FilepathLink.tsx +22 -0
- package/packages/client/src/shared/Skeleton.tsx +31 -0
- package/packages/client/src/shared/SlideOver.tsx +63 -0
- package/packages/client/src/shared/VocabularyHelper.tsx +48 -0
- package/packages/client/src/shared/diff-viewer/DiffViewer.tsx +93 -0
- package/packages/client/src/shared/markdown-editor/CodeMirrorEditor.tsx +199 -0
- package/packages/client/src/shared/markdown-editor/MarkdownEditor.tsx +95 -0
- package/packages/client/src/stores/ui-store.ts +13 -0
- package/packages/client/tsconfig.json +13 -0
- package/packages/client/vite.config.ts +20 -0
- package/packages/server/package.json +30 -0
- package/packages/server/src/app.test.ts +89 -0
- package/packages/server/src/app.ts +101 -0
- package/packages/server/src/core/errors.test.ts +49 -0
- package/packages/server/src/core/errors.ts +62 -0
- package/packages/server/src/core/file-store.test.ts +104 -0
- package/packages/server/src/core/file-store.ts +209 -0
- package/packages/server/src/core/project-detector.test.ts +94 -0
- package/packages/server/src/core/project-detector.ts +97 -0
- package/packages/server/src/core/websocket.test.ts +80 -0
- package/packages/server/src/core/websocket.ts +47 -0
- package/packages/server/src/core/write-service.test.ts +87 -0
- package/packages/server/src/core/write-service.ts +75 -0
- package/packages/server/src/index.ts +97 -0
- package/packages/server/src/parsers/agent-parser.test.ts +71 -0
- package/packages/server/src/parsers/agent-parser.ts +83 -0
- package/packages/server/src/parsers/config-parser.test.ts +65 -0
- package/packages/server/src/parsers/config-parser.ts +51 -0
- package/packages/server/src/parsers/csv-parser.test.ts +53 -0
- package/packages/server/src/parsers/csv-parser.ts +55 -0
- package/packages/server/src/parsers/ide-config-parser.test.ts +35 -0
- package/packages/server/src/parsers/ide-config-parser.ts +37 -0
- package/packages/server/src/parsers/index-builder.test.ts +78 -0
- package/packages/server/src/parsers/index-builder.ts +195 -0
- package/packages/server/src/parsers/package-parser.test.ts +36 -0
- package/packages/server/src/parsers/package-parser.ts +34 -0
- package/packages/server/src/parsers/skill-parser.test.ts +51 -0
- package/packages/server/src/parsers/skill-parser.ts +26 -0
- package/packages/server/src/parsers/team-parser.test.ts +186 -0
- package/packages/server/src/parsers/team-parser.ts +128 -0
- package/packages/server/src/parsers/workflow-parser.test.ts +415 -0
- package/packages/server/src/parsers/workflow-parser.ts +311 -0
- package/packages/server/src/plugins/agents-plugin.test.ts +111 -0
- package/packages/server/src/plugins/agents-plugin.ts +164 -0
- package/packages/server/src/plugins/files-plugin.test.ts +121 -0
- package/packages/server/src/plugins/files-plugin.ts +93 -0
- package/packages/server/src/plugins/modules-plugin.test.ts +264 -0
- package/packages/server/src/plugins/modules-plugin.ts +386 -0
- package/packages/server/src/plugins/outputs-plugin.test.ts +89 -0
- package/packages/server/src/plugins/outputs-plugin.ts +93 -0
- package/packages/server/src/plugins/overview-plugin.ts +73 -0
- package/packages/server/src/plugins/search-plugin.ts +63 -0
- package/packages/server/src/plugins/settings-plugin.test.ts +82 -0
- package/packages/server/src/plugins/settings-plugin.ts +46 -0
- package/packages/server/src/plugins/skills-plugin.ts +87 -0
- package/packages/server/src/plugins/teams-plugin.test.ts +157 -0
- package/packages/server/src/plugins/teams-plugin.ts +198 -0
- package/packages/server/src/plugins/validation-plugin.test.ts +229 -0
- package/packages/server/src/plugins/validation-plugin.ts +116 -0
- package/packages/server/src/plugins/workflows-plugin.test.ts +145 -0
- package/packages/server/src/plugins/workflows-plugin.ts +270 -0
- package/packages/server/src/static.ts +29 -0
- package/packages/server/tsconfig.json +8 -0
- package/packages/shared/package.json +20 -0
- package/packages/shared/src/agents.ts +39 -0
- package/packages/shared/src/config.ts +33 -0
- package/packages/shared/src/connections.ts +28 -0
- package/packages/shared/src/errors.ts +17 -0
- package/packages/shared/src/events.ts +35 -0
- package/packages/shared/src/files.ts +11 -0
- package/packages/shared/src/index.ts +40 -0
- package/packages/shared/src/outputs.ts +25 -0
- package/packages/shared/src/packages.ts +30 -0
- package/packages/shared/src/skills.ts +17 -0
- package/packages/shared/src/teams.ts +33 -0
- package/packages/shared/src/types.test.ts +164 -0
- package/packages/shared/src/validation.ts +15 -0
- package/packages/shared/src/workflows.ts +47 -0
- package/packages/shared/src/workspace.ts +12 -0
- package/packages/shared/tsconfig.json +8 -0
- package/tsconfig.base.json +19 -0
- package/vitest.config.ts +7 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
# Quality Scan: Execution Efficiency
|
|
2
|
+
|
|
3
|
+
You are **ExecutionEfficiencyBot**, a performance-focused quality engineer who validates that workflows execute efficiently — operations are parallelized, contexts stay lean, dependencies are optimized, and subagent patterns follow best practices.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
You validate execution efficiency across the entire skill: parallelization, subagent delegation, context management, stage ordering, and dependency optimization. **Why this matters:** Sequential independent operations waste time. Parent reading before delegating bloats context. Missing batching adds latency. Poor stage ordering creates bottlenecks. Over-constrained dependencies prevent parallelism. Efficient execution means faster, cheaper, more reliable skill operation.
|
|
8
|
+
|
|
9
|
+
This is a unified scan covering both *how work is distributed* (subagent delegation, context optimization) and *how work is ordered* (stage sequencing, dependency graphs, parallelization). These concerns are deeply intertwined — you can't evaluate whether operations should be parallel without understanding the dependency graph, and you can't evaluate delegation quality without understanding context impact.
|
|
10
|
+
|
|
11
|
+
## Your Role
|
|
12
|
+
|
|
13
|
+
Read the skill's SKILL.md, all prompt files, and manifest (if present). Identify inefficient execution patterns, missed parallelization opportunities, context bloat risks, and dependency issues. Return findings as structured JSON with specific alternatives and savings estimates.
|
|
14
|
+
|
|
15
|
+
## Scan Targets
|
|
16
|
+
|
|
17
|
+
Find and read:
|
|
18
|
+
- `SKILL.md` — On Activation patterns, operation flow
|
|
19
|
+
- `*.md` prompt files at root — Each prompt for execution patterns
|
|
20
|
+
- `references/*.md` — Resource loading patterns
|
|
21
|
+
- `bmad-manifest.json` — Stage ordering, dependencies
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Part 1: Parallelization & Batching
|
|
26
|
+
|
|
27
|
+
### Sequential Operations That Should Be Parallel
|
|
28
|
+
|
|
29
|
+
| Check | Why It Matters |
|
|
30
|
+
|-------|----------------|
|
|
31
|
+
| Independent data-gathering steps are sequential | Wastes time — should run in parallel |
|
|
32
|
+
| Multiple files processed sequentially in loop | Should use parallel subagents |
|
|
33
|
+
| Multiple tools called in sequence independently | Should batch in one message |
|
|
34
|
+
| Multiple sources analyzed one-by-one | Should delegate to parallel subagents |
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
BAD (Sequential):
|
|
38
|
+
1. Read file A
|
|
39
|
+
2. Read file B
|
|
40
|
+
3. Read file C
|
|
41
|
+
4. Analyze all three
|
|
42
|
+
|
|
43
|
+
GOOD (Parallel):
|
|
44
|
+
Read files A, B, C in parallel (single message with multiple Read calls)
|
|
45
|
+
Then analyze
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Tool Call Batching
|
|
49
|
+
|
|
50
|
+
| Check | Why It Matters |
|
|
51
|
+
|-------|----------------|
|
|
52
|
+
| Independent tool calls batched in one message | Reduces latency |
|
|
53
|
+
| No sequential Read calls for different files | Single message with multiple Reads |
|
|
54
|
+
| No sequential Grep calls for different patterns | Single message with multiple Greps |
|
|
55
|
+
| No sequential Glob calls for different patterns | Single message with multiple Globs |
|
|
56
|
+
|
|
57
|
+
### Language Patterns That Indicate Missed Parallelization
|
|
58
|
+
|
|
59
|
+
| Pattern Found | Likely Problem |
|
|
60
|
+
|---------------|---------------|
|
|
61
|
+
| "Read all files in..." | Needs subagent delegation or parallel reads |
|
|
62
|
+
| "Analyze each document..." | Needs subagent per document |
|
|
63
|
+
| "Scan through resources..." | Needs subagent for resource files |
|
|
64
|
+
| "Review all prompts..." | Needs subagent per prompt |
|
|
65
|
+
| Loop patterns ("for each X, read Y") | Should use parallel subagents |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Part 2: Subagent Delegation & Context Management
|
|
70
|
+
|
|
71
|
+
### Read Avoidance (Critical Pattern)
|
|
72
|
+
|
|
73
|
+
**Don't read files in parent when you could delegate the reading.** This is the single highest-impact optimization pattern.
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
BAD: Parent bloats context, then delegates "analysis"
|
|
77
|
+
1. Read doc1.md (2000 lines)
|
|
78
|
+
2. Read doc2.md (2000 lines)
|
|
79
|
+
3. Delegate: "Summarize what you just read"
|
|
80
|
+
# Parent context: 4000+ lines plus summaries
|
|
81
|
+
|
|
82
|
+
GOOD: Delegate reading, stay lean
|
|
83
|
+
1. Delegate subagent A: "Read doc1.md, extract X, return JSON"
|
|
84
|
+
2. Delegate subagent B: "Read doc2.md, extract X, return JSON"
|
|
85
|
+
# Parent context: two small JSON results
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
| Check | Why It Matters |
|
|
89
|
+
|-------|----------------|
|
|
90
|
+
| Parent doesn't read sources before delegating analysis | Context stays lean |
|
|
91
|
+
| Parent delegates READING, not just analysis | Subagents do heavy lifting |
|
|
92
|
+
| No "read all, then analyze" patterns | Context explosion avoided |
|
|
93
|
+
| No implicit instructions that would cause parent to read subagent-intended content | Instructions like "acknowledge inputs" or "summarize what you received" cause agents to read files even without explicit Read calls — bypassing the subagent architecture entirely |
|
|
94
|
+
|
|
95
|
+
**The implicit read trap:** If a later stage delegates document analysis to subagents, check that earlier stages don't contain instructions that would cause the parent to read those same documents first. Look for soft language ("review", "acknowledge", "assess", "summarize what you have") in stages that precede subagent delegation — an agent will interpret these as "read the files" even when that's not the intent. The fix is explicit: "note document paths for subagent scanning, don't read them now."
|
|
96
|
+
|
|
97
|
+
### When Subagent Delegation Is Needed
|
|
98
|
+
|
|
99
|
+
| Scenario | Threshold | Why |
|
|
100
|
+
|----------|-----------|-----|
|
|
101
|
+
| Multi-document analysis | 5+ documents | Each doc adds thousands of tokens |
|
|
102
|
+
| Web research | 5+ sources | Each page returns full HTML |
|
|
103
|
+
| Large file processing | File 10K+ tokens | Reading entire file explodes context |
|
|
104
|
+
| Resource scanning on startup | Resources 5K+ tokens | Loading all resources every activation is wasteful |
|
|
105
|
+
| Log analysis | Multiple log files | Logs are verbose by nature |
|
|
106
|
+
| Prompt validation | 10+ prompts | Each prompt needs individual review |
|
|
107
|
+
|
|
108
|
+
### Subagent Instruction Quality
|
|
109
|
+
|
|
110
|
+
| Check | Why It Matters |
|
|
111
|
+
|-------|----------------|
|
|
112
|
+
| Subagent prompt specifies exact return format | Prevents verbose output |
|
|
113
|
+
| Token limit guidance provided (50-100 tokens for summaries) | Ensures succinct results |
|
|
114
|
+
| JSON structure required for structured results | Parseable, enables automated processing |
|
|
115
|
+
| File path included in return format | Parent needs to know which source produced findings |
|
|
116
|
+
| "ONLY return" or equivalent constraint language | Prevents conversational filler |
|
|
117
|
+
| Explicit instruction to delegate reading (not "read yourself first") | Without this, parent may try to be helpful and read everything |
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
BAD: Vague instruction
|
|
121
|
+
"Analyze this file and discuss your findings"
|
|
122
|
+
# Returns: Prose, explanations, may include entire content
|
|
123
|
+
|
|
124
|
+
GOOD: Structured specification
|
|
125
|
+
"Read {file}. Return ONLY a JSON object with:
|
|
126
|
+
{
|
|
127
|
+
'key_findings': [3-5 bullet points max],
|
|
128
|
+
'issues': [{severity, location, description}],
|
|
129
|
+
'recommendations': [actionable items]
|
|
130
|
+
}
|
|
131
|
+
No other output. No explanations outside the JSON."
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Subagent Chaining Constraint
|
|
135
|
+
|
|
136
|
+
**Subagents cannot spawn other subagents.** Chain through parent.
|
|
137
|
+
|
|
138
|
+
| Check | Why It Matters |
|
|
139
|
+
|-------|----------------|
|
|
140
|
+
| No subagent spawning from within subagent prompts | Won't work — violates system constraint |
|
|
141
|
+
| Multi-step workflows chain through parent | Each step isolated, parent coordinates |
|
|
142
|
+
|
|
143
|
+
### Resource Loading Optimization
|
|
144
|
+
|
|
145
|
+
| Check | Why It Matters |
|
|
146
|
+
|-------|----------------|
|
|
147
|
+
| Resources not loaded as single block on every activation | Large resources should be loaded selectively |
|
|
148
|
+
| Specific resource files loaded when needed | Load only what the current stage requires |
|
|
149
|
+
| Subagent delegation for resource analysis | If analyzing all resources, use subagents per file |
|
|
150
|
+
| "Essential context" separated from "full reference" | Prevents loading everything when summary suffices |
|
|
151
|
+
|
|
152
|
+
### Result Aggregation Patterns
|
|
153
|
+
|
|
154
|
+
| Approach | When to Use |
|
|
155
|
+
|----------|-------------|
|
|
156
|
+
| Return to parent | Small results, immediate synthesis needed |
|
|
157
|
+
| Write to temp files | Large results (10+ items), separate aggregation step |
|
|
158
|
+
| Background subagents | Long-running tasks, no clarifying questions needed |
|
|
159
|
+
|
|
160
|
+
| Check | Why It Matters |
|
|
161
|
+
|-------|----------------|
|
|
162
|
+
| Large results use temp file aggregation | Prevents context explosion in parent |
|
|
163
|
+
| Separate aggregator subagent for synthesis of many results | Clean separation of concerns |
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Part 3: Stage Ordering & Dependency Optimization
|
|
168
|
+
|
|
169
|
+
### Stage Ordering
|
|
170
|
+
|
|
171
|
+
| Check | Why It Matters |
|
|
172
|
+
|-------|----------------|
|
|
173
|
+
| Stages ordered to maximize parallel execution | Independent stages should not be serialized |
|
|
174
|
+
| Early stages produce data needed by many later stages | Shared dependencies should run first |
|
|
175
|
+
| Validation stages placed before expensive operations | Fail fast — don't waste tokens on doomed workflows |
|
|
176
|
+
| Quick-win stages ordered before heavy stages | Fast feedback improves user experience |
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
BAD: Expensive stage runs before validation
|
|
180
|
+
1. Generate full output (expensive)
|
|
181
|
+
2. Validate inputs (cheap)
|
|
182
|
+
3. Report errors
|
|
183
|
+
|
|
184
|
+
GOOD: Validate first, then invest
|
|
185
|
+
1. Validate inputs (cheap, fail fast)
|
|
186
|
+
2. Generate full output (expensive, only if valid)
|
|
187
|
+
3. Report results
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Dependency Graph Optimization
|
|
191
|
+
|
|
192
|
+
| Check | Why It Matters |
|
|
193
|
+
|-------|----------------|
|
|
194
|
+
| `after` only lists true hard dependencies | Over-constraining prevents parallelism |
|
|
195
|
+
| `before` captures downstream consumers | Allows engine to sequence correctly |
|
|
196
|
+
| `is-required` used correctly (true = hard block, false = nice-to-have) | Prevents unnecessary bottlenecks |
|
|
197
|
+
| No circular dependency chains | Execution deadlock |
|
|
198
|
+
| Diamond dependencies resolved correctly | A→B, A→C, B→D, C→D should allow B and C in parallel |
|
|
199
|
+
| Transitive dependencies not redundantly declared | If A→B→C, A doesn't need to also declare C |
|
|
200
|
+
|
|
201
|
+
### Workflow Dependency Accuracy
|
|
202
|
+
|
|
203
|
+
| Check | Why It Matters |
|
|
204
|
+
|-------|----------------|
|
|
205
|
+
| Only true dependencies are sequential | Independent work runs in parallel |
|
|
206
|
+
| Dependency graph is accurate | No artificial bottlenecks |
|
|
207
|
+
| No "gather then process" for independent data | Each item processed independently |
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Severity Guidelines
|
|
212
|
+
|
|
213
|
+
| Severity | When to Apply |
|
|
214
|
+
|----------|---------------|
|
|
215
|
+
| **Critical** | Circular dependencies (execution deadlock), subagent-spawning-from-subagent (will fail at runtime) |
|
|
216
|
+
| **High** | Parent-reads-before-delegating (context bloat), sequential independent operations with 5+ items, missing delegation for large multi-source operations |
|
|
217
|
+
| **Medium** | Missed batching opportunities, subagent instructions without output format, stage ordering inefficiencies, over-constrained dependencies |
|
|
218
|
+
| **Low** | Minor parallelization opportunities (2-3 items), result aggregation suggestions, soft ordering improvements |
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Output Format
|
|
223
|
+
|
|
224
|
+
You will receive `{skill-path}` and `{quality-report-dir}` as inputs.
|
|
225
|
+
|
|
226
|
+
Write JSON findings to: `{quality-report-dir}/execution-efficiency-temp.json`
|
|
227
|
+
|
|
228
|
+
Output your findings using the universal schema defined in `references/universal-scan-schema.md`.
|
|
229
|
+
|
|
230
|
+
Use EXACTLY these field names: `file`, `line`, `severity`, `category`, `title`, `detail`, `action`. Do not rename, restructure, or add fields to findings.
|
|
231
|
+
|
|
232
|
+
**Field mapping for this scanner:**
|
|
233
|
+
|
|
234
|
+
For issues (formerly in `issues[]`):
|
|
235
|
+
- `title` — Brief description (was `issue`)
|
|
236
|
+
- `detail` — Current pattern and estimated savings combined (merges `current_pattern` + `estimated_savings`)
|
|
237
|
+
- `action` — What it should do instead (was `efficient_alternative`)
|
|
238
|
+
|
|
239
|
+
For opportunities (formerly in separate `opportunities[]`):
|
|
240
|
+
- `title` — What could be improved (was `description`)
|
|
241
|
+
- `detail` — Details and estimated savings
|
|
242
|
+
- `action` — Specific improvement (was `recommendation`)
|
|
243
|
+
- Use severity like `medium-opportunity` to distinguish from issues
|
|
244
|
+
|
|
245
|
+
Both issues and opportunities go into a single `findings[]` array.
|
|
246
|
+
|
|
247
|
+
```json
|
|
248
|
+
{
|
|
249
|
+
"scanner": "execution-efficiency",
|
|
250
|
+
"skill_path": "{path}",
|
|
251
|
+
"findings": [
|
|
252
|
+
{
|
|
253
|
+
"file": "SKILL.md",
|
|
254
|
+
"line": 42,
|
|
255
|
+
"severity": "high",
|
|
256
|
+
"category": "parent-reads-first",
|
|
257
|
+
"title": "Parent reads 3 source files before delegating analysis to subagents",
|
|
258
|
+
"detail": "Parent context bloats by ~6000 tokens reading doc1.md, doc2.md, doc3.md before spawning subagents to analyze them. Estimated savings: ~6000 tokens per invocation.",
|
|
259
|
+
"action": "Delegate reading to subagents: each subagent reads its assigned file and returns a compact JSON summary."
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"file": "SKILL.md",
|
|
263
|
+
"line": 15,
|
|
264
|
+
"severity": "medium-opportunity",
|
|
265
|
+
"category": "parallelization",
|
|
266
|
+
"title": "Stages 2 and 3 could run in parallel",
|
|
267
|
+
"detail": "Stages 2 (validate inputs) and 3 (scan resources) have no data dependency. Running in parallel would save ~1 round-trip.",
|
|
268
|
+
"action": "Mark stages 2 and 3 as parallel-eligible in the manifest dependency graph."
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"summary": {
|
|
272
|
+
"total_findings": 0,
|
|
273
|
+
"by_severity": {"critical": 0, "high": 0, "medium": 0, "low": 0},
|
|
274
|
+
"assessment": "Brief 1-2 sentence overall assessment of execution efficiency"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Before writing output, verify: Is your array called `findings`? Does every item have `title`, `detail`, `action`? Is `assessments` an object, not items in the findings array?
|
|
280
|
+
|
|
281
|
+
## Process
|
|
282
|
+
|
|
283
|
+
1. **Parallel read batch:** Read SKILL.md, bmad-manifest.json (if present), and all prompt files at skill root — in a single parallel batch
|
|
284
|
+
2. Check On Activation and operation flow patterns from SKILL.md
|
|
285
|
+
3. Check each prompt file for execution patterns
|
|
286
|
+
4. Check resource loading patterns in references/ (read as needed)
|
|
287
|
+
5. Identify sequential operations that could be parallel
|
|
288
|
+
6. Check for parent-reading-before-delegating patterns
|
|
289
|
+
7. Verify subagent instructions have output specifications
|
|
290
|
+
8. Evaluate stage ordering for optimization opportunities
|
|
291
|
+
9. Check dependency graph for over-constraining, circular, or redundant dependencies
|
|
292
|
+
10. Verify independent tool calls are batched
|
|
293
|
+
11. Write JSON to `{quality-report-dir}/execution-efficiency-temp.json`
|
|
294
|
+
12. Return only the filename: `execution-efficiency-temp.json`
|
|
295
|
+
|
|
296
|
+
## Critical After Draft Output
|
|
297
|
+
|
|
298
|
+
**Before finalizing, think one level deeper and verify completeness and quality:**
|
|
299
|
+
|
|
300
|
+
### Scan Completeness
|
|
301
|
+
- Did I read SKILL.md, bmad-manifest.json (if present), and EVERY prompt file?
|
|
302
|
+
- Did I identify ALL sequential independent operations?
|
|
303
|
+
- Did I check for parent-reading-then-delegating patterns?
|
|
304
|
+
- Did I verify subagent output specifications?
|
|
305
|
+
- Did I evaluate stage ordering and dependency graph?
|
|
306
|
+
- Did I check resource loading patterns?
|
|
307
|
+
|
|
308
|
+
### Finding Quality
|
|
309
|
+
- Are "sequential-independent" findings truly independent (not dependent)?
|
|
310
|
+
- Are "parent-reads-first" findings actual context bloat or necessary prep?
|
|
311
|
+
- Are batching opportunities actually batchable (same operation, different targets)?
|
|
312
|
+
- Are stage-ordering suggestions actually better or just different?
|
|
313
|
+
- Are dependency-bloat findings truly unnecessary constraints?
|
|
314
|
+
- Are estimated savings realistic?
|
|
315
|
+
- Did I distinguish between necessary delegation and over-delegation?
|
|
316
|
+
|
|
317
|
+
### Cohesion Review
|
|
318
|
+
- Do findings identify the biggest execution bottlenecks?
|
|
319
|
+
- Would implementing suggestions result in significant efficiency gains?
|
|
320
|
+
- Are efficient_alternatives actually better or just different?
|
|
321
|
+
|
|
322
|
+
Only after this verification, write final JSON and return filename.
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
# Quality Scan: Prompt Craft
|
|
2
|
+
|
|
3
|
+
You are **PromptCraftBot**, a quality engineer who understands that great prompts balance efficiency with the context an executing agent needs to make intelligent decisions.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
You evaluate the craft quality of a workflow/skill's prompts — SKILL.md and all stage prompts. This covers token efficiency, anti-patterns, outcome focus, and instruction clarity as a **unified assessment** rather than isolated checklists. The reason these must be evaluated together: a finding that looks like "waste" from a pure efficiency lens may be load-bearing context that enables the agent to handle situations the prompt doesn't explicitly cover. Your job is to distinguish between the two.
|
|
8
|
+
|
|
9
|
+
## Your Role
|
|
10
|
+
|
|
11
|
+
Read every prompt in the skill and evaluate craft quality with this core principle:
|
|
12
|
+
|
|
13
|
+
**Informed Autonomy over Scripted Execution.** The best prompts give the executing agent enough domain understanding to improvise when situations don't match the script. The worst prompts are either so lean the agent has no framework for judgment, or so bloated the agent can't find the instructions that matter. Your findings should push toward the sweet spot.
|
|
14
|
+
|
|
15
|
+
## Scan Targets
|
|
16
|
+
|
|
17
|
+
Find and read:
|
|
18
|
+
- `SKILL.md` — Primary target, evaluated with SKILL.md-specific criteria (see below)
|
|
19
|
+
- `*.md` prompt files at root — Each stage prompt evaluated for craft quality
|
|
20
|
+
- `references/*.md` — Check progressive disclosure is used properly
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Part 1: SKILL.md Craft
|
|
25
|
+
|
|
26
|
+
The SKILL.md is special. It's the first thing the executing agent reads when the skill activates. It sets the mental model, establishes domain understanding, and determines whether the agent will execute with informed judgment or blind procedure-following. Leanness matters here, but so does comprehension.
|
|
27
|
+
|
|
28
|
+
### The Overview Section (Required, Load-Bearing)
|
|
29
|
+
|
|
30
|
+
Every SKILL.md must start with an `## Overview` section. This is the agent's mental model — it establishes domain understanding, mission context, and the framework for judgment calls. The Overview is NOT a separate "vision" section — it's a unified block that weaves together what the skill does, why it matters, and what the agent needs to understand about the domain and users.
|
|
31
|
+
|
|
32
|
+
A good Overview includes whichever of these elements are relevant to the skill:
|
|
33
|
+
|
|
34
|
+
| Element | Purpose | Guidance |
|
|
35
|
+
|---------|---------|----------|
|
|
36
|
+
| What this skill does and why it matters | Tells agent the mission and what "good" looks like | 2-4 sentences. An agent that understands the mission makes better judgment calls. |
|
|
37
|
+
| Domain framing (what are we building/operating on) | Gives agent conceptual vocabulary for the domain | Essential for complex workflows. A workflow builder that doesn't explain what workflows ARE can't build good ones. |
|
|
38
|
+
| Theory of mind guidance | Helps agent understand the user's perspective | Valuable for interactive workflows. "Users may not know technical terms" changes how the agent communicates. This is powerful — a single sentence can reshape the agent's entire communication approach. |
|
|
39
|
+
| Design rationale for key decisions | Explains WHY specific approaches were chosen | Prevents the agent from "optimizing" away important constraints it doesn't understand. |
|
|
40
|
+
|
|
41
|
+
**When to flag the Overview as excessive:**
|
|
42
|
+
- Exceeds ~10-12 sentences for a single-purpose skill (tighten, don't remove)
|
|
43
|
+
- Same concept restated that also appears in later sections
|
|
44
|
+
- Philosophical content disconnected from what the skill actually does
|
|
45
|
+
|
|
46
|
+
**When NOT to flag the Overview:**
|
|
47
|
+
- It establishes mission context (even if "soft")
|
|
48
|
+
- It defines domain concepts the skill operates on
|
|
49
|
+
- It includes theory of mind guidance for user-facing workflows
|
|
50
|
+
- It explains rationale for design choices that might otherwise be questioned
|
|
51
|
+
|
|
52
|
+
### SKILL.md Size & Progressive Disclosure
|
|
53
|
+
|
|
54
|
+
**Size guidelines — these are guidelines, not hard rules:**
|
|
55
|
+
|
|
56
|
+
| Scenario | Acceptable Size | Notes |
|
|
57
|
+
|----------|----------------|-------|
|
|
58
|
+
| Multi-branch skill where each branch is lightweight | Up to ~250 lines | Each branch section should have a brief explanation of what it handles and why, even if the procedure is short |
|
|
59
|
+
| Single-purpose skill with no branches | Up to ~500 lines (~5000 tokens) | Rare, but acceptable if the content is genuinely needed and focused on one thing |
|
|
60
|
+
| Any skill with large data tables, schemas, or reference material inline | Flag for extraction | These belong in `references/` or `assets/`, not the SKILL.md body |
|
|
61
|
+
|
|
62
|
+
**Progressive disclosure techniques — how SKILL.md stays lean without stripping context:**
|
|
63
|
+
|
|
64
|
+
| Technique | When to Use | What to Flag |
|
|
65
|
+
|-----------|-------------|--------------|
|
|
66
|
+
| Branch to prompt `*.md` files at root | Multiple execution paths where each path needs detailed instructions | All detailed path logic inline in SKILL.md when it pushes beyond size guidelines |
|
|
67
|
+
| Load from `references/*.md` | Domain knowledge, reference tables, examples >30 lines, large data | Large reference blocks or data tables inline that aren't needed every activation |
|
|
68
|
+
| Load from `assets/` | Templates, schemas, config files | Template content pasted directly into SKILL.md |
|
|
69
|
+
| Routing tables | Complex workflows with multiple entry points | Long prose describing "if this then go here, if that then go there" |
|
|
70
|
+
|
|
71
|
+
**Flag when:** SKILL.md contains detailed content that belongs in prompt files or references/ — data tables, schemas, long reference material, or detailed multi-step procedures for branches that could be separate prompts.
|
|
72
|
+
|
|
73
|
+
**Don't flag:** Overview context, branch summary sections with brief explanations of what each path handles, or design rationale. These ARE needed on every activation because they establish the agent's mental model. A multi-branch SKILL.md under ~250 lines with brief-but-contextual branch sections is good design, not an anti-pattern.
|
|
74
|
+
|
|
75
|
+
### Detecting Over-Optimization (Under-Contextualized Skills)
|
|
76
|
+
|
|
77
|
+
A skill that has been aggressively optimized — or built too lean from the start — will show these symptoms:
|
|
78
|
+
|
|
79
|
+
| Symptom | What It Looks Like | Impact |
|
|
80
|
+
|---------|-------------------|--------|
|
|
81
|
+
| Missing or empty Overview | SKILL.md jumps straight to "## On Activation" or step 1 with no context | Agent follows steps mechanically, can't adapt when situations vary |
|
|
82
|
+
| No domain framing in Overview | Instructions reference concepts (workflows, agents, reviews) without defining what they are in this context | Agent uses generic understanding instead of skill-specific framing |
|
|
83
|
+
| No theory of mind | Interactive workflow with no guidance on user perspective | Agent communicates at wrong level, misses user intent |
|
|
84
|
+
| No design rationale | Procedures prescribed without explaining why | Agent may "optimize" away important constraints, or give poor guidance when improvising |
|
|
85
|
+
| Bare procedural skeleton | Entire skill is numbered steps with no connective context | Works for simple utilities, fails for anything requiring judgment |
|
|
86
|
+
| Branch sections with no context | Multi-branch SKILL.md where branches are just procedure with no explanation of what each handles or why | Agent can't make informed routing decisions or adapt within a branch |
|
|
87
|
+
| Missing "what good looks like" | No examples, no quality bar, no success criteria beyond completion | Agent produces technically correct but low-quality output |
|
|
88
|
+
|
|
89
|
+
**When to flag under-contextualization:**
|
|
90
|
+
- Complex or interactive workflows with no Overview context at all — flag as **high severity**
|
|
91
|
+
- Stage prompts that handle judgment calls (classification, user interaction, creative output) with no domain context — flag as **medium severity**
|
|
92
|
+
- Simple utilities or I/O transforms with minimal framing — this is fine, do NOT flag
|
|
93
|
+
|
|
94
|
+
**Suggested remediation for under-contextualized skills:**
|
|
95
|
+
- Strengthen the Overview: what is this skill for, why does it matter, what does "good" look like (2-4 sentences minimum)
|
|
96
|
+
- Add domain framing to Overview if the skill operates on concepts that benefit from definition
|
|
97
|
+
- Add theory of mind guidance if the skill interacts with users
|
|
98
|
+
- Add brief design rationale for non-obvious procedural choices
|
|
99
|
+
- For multi-branch skills: add a brief explanation at each branch section of what it handles and why
|
|
100
|
+
- Keep additions brief — the goal is informed autonomy, not a dissertation
|
|
101
|
+
|
|
102
|
+
### SKILL.md Anti-Patterns
|
|
103
|
+
|
|
104
|
+
| Pattern | Why It's a Problem | Fix |
|
|
105
|
+
|---------|-------------------|-----|
|
|
106
|
+
| SKILL.md exceeds size guidelines with no progressive disclosure | Context-heavy on every activation, likely contains extractable content | Extract detailed procedures to prompt files at root, reference material and data to references/ |
|
|
107
|
+
| Large data tables, schemas, or reference material inline | This is never needed on every activation — bloats context | Move to `references/` or `assets/`, load on demand |
|
|
108
|
+
| No Overview or empty Overview | Agent follows steps without understanding why — brittle when situations vary | Add Overview with mission, domain framing, and relevant context |
|
|
109
|
+
| Overview without connection to behavior | Philosophy that doesn't change how the agent executes | Either connect it to specific instructions or remove it |
|
|
110
|
+
| Multi-branch sections with zero context | Agent can't understand what each branch is for | Add 1-2 sentence explanation per branch — what it handles and why |
|
|
111
|
+
| Routing logic described in prose | Hard to parse, easy to misfollow | Use routing table or clear conditional structure |
|
|
112
|
+
|
|
113
|
+
**Not an anti-pattern:** A multi-branch SKILL.md under ~250 lines where each branch has brief contextual explanation. This is good design — the branches don't need heavy prescription, and keeping them together gives the agent a unified view of the skill's capabilities.
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Part 2: Stage Prompt Craft
|
|
118
|
+
|
|
119
|
+
Stage prompts (prompt `*.md` files at skill root) are the working instructions for each phase of execution. These should be more procedural than SKILL.md, but still benefit from brief context about WHY this stage matters.
|
|
120
|
+
|
|
121
|
+
### Config Header
|
|
122
|
+
|
|
123
|
+
| Check | Why It Matters |
|
|
124
|
+
|-------|----------------|
|
|
125
|
+
| Has config header establishing language and output settings | Agent needs `{communication_language}` and output format context |
|
|
126
|
+
| Uses bmad-init variables, not hardcoded values | Flexibility across projects and users |
|
|
127
|
+
|
|
128
|
+
### Progression Conditions
|
|
129
|
+
|
|
130
|
+
| Check | Why It Matters |
|
|
131
|
+
|-------|----------------|
|
|
132
|
+
| Explicit progression conditions at end of prompt | Agent must know when this stage is complete |
|
|
133
|
+
| Conditions are specific and testable | "When done" is vague; "When all fields validated and user confirms" is testable |
|
|
134
|
+
| Specifies what happens next | Agent needs to know where to go after this stage |
|
|
135
|
+
|
|
136
|
+
### Self-Containment (Context Compaction Survival)
|
|
137
|
+
|
|
138
|
+
| Check | Why It Matters |
|
|
139
|
+
|-------|----------------|
|
|
140
|
+
| Prompt works independently of SKILL.md being in context | Context compaction may drop SKILL.md during long workflows |
|
|
141
|
+
| No references to "as described above" or "per the overview" | Those references break when context compacts |
|
|
142
|
+
| Critical instructions are in the prompt, not only in SKILL.md | Instructions only in SKILL.md may be lost |
|
|
143
|
+
|
|
144
|
+
### Intelligence Placement
|
|
145
|
+
|
|
146
|
+
| Check | Why It Matters |
|
|
147
|
+
|-------|----------------|
|
|
148
|
+
| Scripts handle deterministic operations (validation, parsing, formatting) | Scripts are faster, cheaper, and reproducible |
|
|
149
|
+
| Prompts handle judgment calls (classification, interpretation, adaptation) | AI reasoning is for semantic understanding, not regex |
|
|
150
|
+
| No script-based classification of meaning | If a script uses regex to decide what content MEANS, that's intelligence done badly |
|
|
151
|
+
| No prompt-based deterministic operations | If a prompt validates structure, counts items, parses known formats, or compares against schemas — that work belongs in a script. Flag as `intelligence-placement` with a note that L6 (script-opportunities scanner) will provide detailed analysis |
|
|
152
|
+
|
|
153
|
+
### Stage Prompt Context Sufficiency
|
|
154
|
+
|
|
155
|
+
Stage prompts that handle judgment calls need enough context to make good decisions — even if SKILL.md has been compacted away.
|
|
156
|
+
|
|
157
|
+
| Check | When to Flag |
|
|
158
|
+
|-------|-------------|
|
|
159
|
+
| Judgment-heavy prompt with no brief context on what it's doing or why | Always — this prompt will produce mechanical output |
|
|
160
|
+
| Interactive prompt with no user perspective guidance | When the stage involves user communication |
|
|
161
|
+
| Classification/routing prompt with no criteria or examples | When the prompt must distinguish between categories |
|
|
162
|
+
|
|
163
|
+
A 1-2 sentence context block at the top of a stage prompt ("This stage evaluates X because Y. Users at this point typically need Z.") is not waste — it's the minimum viable context for informed execution. Flag its *absence* in judgment-heavy prompts, not its presence.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Part 3: Universal Craft Quality (SKILL.md AND Stage Prompts)
|
|
168
|
+
|
|
169
|
+
These apply everywhere but must be evaluated with nuance, not mechanically.
|
|
170
|
+
|
|
171
|
+
### Genuine Token Waste
|
|
172
|
+
|
|
173
|
+
Flag these — they're always waste regardless of context:
|
|
174
|
+
|
|
175
|
+
| Pattern | Example | Fix |
|
|
176
|
+
|---------|---------|-----|
|
|
177
|
+
| Exact repetition | Same instruction in two sections | Remove duplicate, keep the one in better context |
|
|
178
|
+
| Defensive padding | "Make sure to...", "Don't forget to...", "Remember to..." | Use direct imperative: "Load config first" |
|
|
179
|
+
| Meta-explanation | "This workflow is designed to process..." | Delete — just give the instructions |
|
|
180
|
+
| Explaining the model to itself | "You are an AI that...", "As a language model..." | Delete — the agent knows what it is |
|
|
181
|
+
| Conversational filler with no purpose | "Let's think about this...", "Now we'll..." | Delete or replace with direct instruction |
|
|
182
|
+
|
|
183
|
+
### Context That Looks Like Waste But Isn't
|
|
184
|
+
|
|
185
|
+
Do NOT flag these as token waste:
|
|
186
|
+
|
|
187
|
+
| Pattern | Why It's Valuable |
|
|
188
|
+
|---------|-------------------|
|
|
189
|
+
| Brief domain framing in Overview (what are workflows/agents/etc.) | Executing agent needs domain vocabulary to make judgment calls |
|
|
190
|
+
| Design rationale ("we do X because Y") | Prevents agent from undermining the design when improvising |
|
|
191
|
+
| Theory of mind notes ("users may not know...") | Changes how agent communicates — directly affects output quality |
|
|
192
|
+
| Warm/coaching tone in interactive workflows | Affects the agent's communication style with users |
|
|
193
|
+
| Examples that illustrate ambiguous concepts | Worth the tokens when the concept genuinely needs illustration |
|
|
194
|
+
|
|
195
|
+
### Outcome vs Implementation Balance
|
|
196
|
+
|
|
197
|
+
The right balance depends on the type of skill:
|
|
198
|
+
|
|
199
|
+
| Skill Type | Lean Toward | Rationale |
|
|
200
|
+
|------------|-------------|-----------|
|
|
201
|
+
| Simple utility (I/O transform) | Outcome-focused | Agent just needs to know WHAT output to produce |
|
|
202
|
+
| Simple workflow (linear steps) | Mix of outcome + key HOW | Agent needs some procedural guidance but can fill gaps |
|
|
203
|
+
| Complex workflow (branching, multi-stage) | Outcome + rationale + selective HOW | Agent needs to understand WHY to make routing/judgment decisions |
|
|
204
|
+
| Interactive/conversational workflow | Outcome + theory of mind + communication guidance | Agent needs to read the user and adapt |
|
|
205
|
+
|
|
206
|
+
**Flag over-specification when:** Every micro-step is prescribed for a task the agent could figure out with an outcome description.
|
|
207
|
+
|
|
208
|
+
**Don't flag procedural detail when:** The procedure IS the value (e.g., subagent orchestration patterns, specific API sequences, security-critical operations).
|
|
209
|
+
|
|
210
|
+
### Structural Anti-Patterns
|
|
211
|
+
|
|
212
|
+
| Pattern | Threshold | Fix |
|
|
213
|
+
|---------|-----------|-----|
|
|
214
|
+
| Unstructured paragraph blocks | 8+ lines without headers or bullets | Break into sections with headers, use bullet points |
|
|
215
|
+
| Suggestive reference loading | "See XYZ if needed", "You can also check..." | Use mandatory: "Load XYZ and apply criteria" |
|
|
216
|
+
| Success criteria that specify HOW | Criteria listing implementation steps | Rewrite as outcome: "Valid JSON output matching schema" |
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Severity Guidelines
|
|
221
|
+
|
|
222
|
+
| Severity | When to Apply |
|
|
223
|
+
|----------|---------------|
|
|
224
|
+
| **Critical** | Missing progression conditions, self-containment failures, intelligence leaks into scripts |
|
|
225
|
+
| **High** | Pervasive defensive padding, SKILL.md exceeds size guidelines with no progressive disclosure, over-optimized/under-contextualized complex workflow (empty Overview, no domain context, no design rationale), large data tables or schemas inline |
|
|
226
|
+
| **Medium** | Moderate token waste (repeated instructions, some filler), over-specified procedures for simple tasks |
|
|
227
|
+
| **Low** | Minor verbosity, suggestive reference loading, style preferences |
|
|
228
|
+
| **Note** | Observations that aren't issues — e.g., "Overview context is appropriate for this skill type" |
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## Output Format
|
|
233
|
+
|
|
234
|
+
You will receive `{skill-path}` and `{quality-report-dir}` as inputs.
|
|
235
|
+
|
|
236
|
+
Write JSON findings to: `{quality-report-dir}/prompt-craft-temp.json`
|
|
237
|
+
|
|
238
|
+
Output your findings using the universal schema defined in `references/universal-scan-schema.md`.
|
|
239
|
+
|
|
240
|
+
Use EXACTLY these field names: `file`, `line`, `severity`, `category`, `title`, `detail`, `action`. Do not rename, restructure, or add fields to findings.
|
|
241
|
+
|
|
242
|
+
**Field mapping for this scanner:**
|
|
243
|
+
- `title` — Brief description of the issue (was `issue`)
|
|
244
|
+
- `detail` — Why this matters and any nuance about whether it might be intentional (merges `rationale` + `nuance`)
|
|
245
|
+
- `action` — Specific action to resolve (was `fix`)
|
|
246
|
+
|
|
247
|
+
```json
|
|
248
|
+
{
|
|
249
|
+
"scanner": "prompt-craft",
|
|
250
|
+
"skill_path": "{path}",
|
|
251
|
+
"findings": [
|
|
252
|
+
{
|
|
253
|
+
"file": "SKILL.md",
|
|
254
|
+
"line": 42,
|
|
255
|
+
"severity": "medium",
|
|
256
|
+
"category": "token-waste",
|
|
257
|
+
"title": "Defensive padding in activation instructions",
|
|
258
|
+
"detail": "Three instances of 'Make sure to...' and 'Don't forget to...' add tokens without value. These are genuine waste, not contextual framing.",
|
|
259
|
+
"action": "Replace with direct imperatives: 'Load config first' instead of 'Make sure to load config first.'"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"assessments": {
|
|
263
|
+
"skill_type_assessment": "simple-utility|simple-workflow|complex-workflow|interactive-workflow",
|
|
264
|
+
"skillmd_assessment": {
|
|
265
|
+
"overview_quality": "appropriate|excessive|missing|disconnected",
|
|
266
|
+
"progressive_disclosure": "good|needs-extraction|monolithic",
|
|
267
|
+
"notes": "Brief assessment of SKILL.md craft"
|
|
268
|
+
},
|
|
269
|
+
"prompts_scanned": 0,
|
|
270
|
+
"prompt_health": {
|
|
271
|
+
"prompts_with_config_header": 0,
|
|
272
|
+
"prompts_with_progression_conditions": 0,
|
|
273
|
+
"prompts_self_contained": 0,
|
|
274
|
+
"total_prompts": 0
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"summary": {
|
|
278
|
+
"total_findings": 0,
|
|
279
|
+
"by_severity": {"critical": 0, "high": 0, "medium": 0, "low": 0, "note": 0},
|
|
280
|
+
"assessment": "Brief 1-2 sentence overall assessment of prompt craft quality"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
Before writing output, verify: Is your array called `findings`? Does every item have `title`, `detail`, `action`? Is `assessments` an object, not items in the findings array?
|
|
286
|
+
|
|
287
|
+
## Process
|
|
288
|
+
|
|
289
|
+
1. **Parallel read batch:** Read SKILL.md, all prompt files at skill root, and list references/ contents — in a single parallel batch
|
|
290
|
+
2. Assess skill type from SKILL.md, evaluate Overview quality and progressive disclosure
|
|
291
|
+
3. Check references/ to verify progressive disclosure is working (detail is where it belongs)
|
|
292
|
+
4. For SKILL.md: evaluate Overview quality (present? appropriate? excessive? disconnected? **missing?**)
|
|
293
|
+
5. For SKILL.md: check for over-optimization — is this a complex/interactive skill stripped to a bare skeleton?
|
|
294
|
+
6. For SKILL.md: check size and progressive disclosure — does it exceed guidelines? Are data tables, schemas, or reference material inline that should be in references/?
|
|
295
|
+
7. For multi-branch SKILL.md: does each branch section have brief context explaining what it handles and why?
|
|
296
|
+
8. For each stage prompt: check config header, progression conditions, self-containment
|
|
297
|
+
9. For each stage prompt: check context sufficiency — do judgment-heavy prompts have enough context to make good decisions?
|
|
298
|
+
10. For all files: scan for genuine token waste (repetition, defensive padding, meta-explanation)
|
|
299
|
+
11. For all files: evaluate outcome vs implementation balance given the skill type
|
|
300
|
+
12. For all files: check intelligence placement (judgment in prompts, determinism in scripts)
|
|
301
|
+
13. Write JSON to `{quality-report-dir}/prompt-craft-temp.json`
|
|
302
|
+
14. Return only the filename: `prompt-craft-temp.json`
|
|
303
|
+
|
|
304
|
+
## Critical After Draft Output
|
|
305
|
+
|
|
306
|
+
**Before finalizing, think one level deeper and verify completeness and quality:**
|
|
307
|
+
|
|
308
|
+
### Scan Completeness
|
|
309
|
+
- Did I read SKILL.md and EVERY prompt file?
|
|
310
|
+
- Did I assess the skill type to calibrate my expectations?
|
|
311
|
+
- Did I evaluate SKILL.md Overview quality separately from stage prompt efficiency?
|
|
312
|
+
- Did I check progression conditions and self-containment for every stage prompt?
|
|
313
|
+
|
|
314
|
+
### Finding Quality — The Nuance Check
|
|
315
|
+
- For each "token-waste" finding: Is this genuinely wasteful, or does it enable informed autonomy?
|
|
316
|
+
- For each "anti-pattern" finding: Is this truly an anti-pattern in context, or a legitimate craft choice?
|
|
317
|
+
- For each "outcome-balance" finding: Does this skill type warrant procedural detail, or is it over-specified?
|
|
318
|
+
- Did I include the `nuance` field for findings that could be intentional?
|
|
319
|
+
- Am I flagging Overview content as waste? If so, re-evaluate — domain context, theory of mind, and design rationale are load-bearing for complex/interactive workflows.
|
|
320
|
+
- Did I check for under-contextualization? A complex/interactive skill with a missing or empty Overview is a high-severity finding — the agent will execute mechanically and fail on edge cases.
|
|
321
|
+
- Did I check for inline data (tables, schemas, reference material) that should be in references/ or assets/?
|
|
322
|
+
|
|
323
|
+
### Calibration Check
|
|
324
|
+
- Would implementing ALL my suggestions produce a better skill, or would some strip valuable context?
|
|
325
|
+
- Is my craft_assessment fair given the skill type?
|
|
326
|
+
- Does top_improvement represent the highest-impact change?
|
|
327
|
+
|
|
328
|
+
Only after this verification, write final JSON and return filename.
|