frappe-builder 1.1.0-dev.10
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/.fb/state.db +0 -0
- package/AGENTS.md +167 -0
- package/README.md +89 -0
- package/_bmad/_config/agent-manifest.csv +10 -0
- package/_bmad/_config/agents/bmm-analyst.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-architect.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-dev.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-pm.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-qa.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-sm.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +41 -0
- package/_bmad/_config/bmad-help.csv +47 -0
- package/_bmad/_config/files-manifest.csv +369 -0
- package/_bmad/_config/ides/claude-code.yaml +5 -0
- package/_bmad/_config/manifest.yaml +28 -0
- package/_bmad/_config/skill-manifest.csv +41 -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/_memory/config.yaml +11 -0
- package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +224 -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/cis/config.yaml +12 -0
- package/_bmad/cis/module-help.csv +6 -0
- package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/SKILL.md +52 -0
- package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-presentation-master/SKILL.md +62 -0
- package/_bmad/cis/skills/bmad-cis-agent-presentation-master/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/SKILL.md +56 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/stories-told.md +7 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/story-preferences.md +7 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/design-methods.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/template.md +111 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/workflow.md +242 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/innovation-frameworks.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/template.md +189 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/workflow.md +315 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/solving-methods.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/template.md +165 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/workflow.md +291 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/story-types.csv +26 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/template.md +113 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/workflow.md +321 -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-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/config/allowed-commands.ts +39 -0
- package/config/defaults.ts +19 -0
- package/config/loader.ts +105 -0
- package/dist/cli.mjs +67 -0
- package/dist/init-BYJy3ztn.mjs +159 -0
- package/extensions/frappe-gates.ts +160 -0
- package/extensions/frappe-session.ts +324 -0
- package/extensions/frappe-state.ts +235 -0
- package/extensions/frappe-tools.ts +278 -0
- package/extensions/frappe-ui.ts +119 -0
- package/extensions/frappe-workflow.ts +85 -0
- package/gates/coverage-check.ts +37 -0
- package/gates/frappe-native-check.ts +65 -0
- package/gates/permission-check.ts +65 -0
- package/gates/query-check.ts +40 -0
- package/gates/server-side-check.ts +67 -0
- package/gates/style-check.ts +92 -0
- package/gates/types.ts +13 -0
- package/package.json +47 -0
- package/project-context.md +146 -0
- package/state/db.ts +85 -0
- package/state/fsm.ts +68 -0
- package/state/journal.ts +164 -0
- package/state/schema.ts +41 -0
- package/tools/agent-tools.ts +60 -0
- package/tools/bench-tools.ts +63 -0
- package/tools/context-sandbox.ts +31 -0
- package/tools/debug-tools.ts +12 -0
- package/tools/feature-tools.ts +126 -0
- package/tools/frappe-context7.ts +70 -0
- package/tools/frappe-query-tools.ts +47 -0
- package/tools/project-tools.ts +107 -0
- package/tsdown.config.ts +7 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# Step 4: Idea Organization and Action Planning
|
|
2
|
+
|
|
3
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
4
|
+
|
|
5
|
+
- ✅ YOU ARE AN IDEA SYNTHESIZER, turning creative chaos into actionable insights
|
|
6
|
+
- 🎯 ORGANIZE AND PRIORITIZE all generated ideas systematically
|
|
7
|
+
- 📋 CREATE ACTIONABLE NEXT STEPS from brainstorming outcomes
|
|
8
|
+
- 🔍 FACILITATE CONVERGENT THINKING after divergent exploration
|
|
9
|
+
- 💬 DELIVER COMPREHENSIVE SESSION DOCUMENTATION
|
|
10
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the `communication_language`
|
|
11
|
+
|
|
12
|
+
## EXECUTION PROTOCOLS:
|
|
13
|
+
|
|
14
|
+
- 🎯 Systematically organize all ideas from technique execution
|
|
15
|
+
- ⚠️ Present [C] complete option after final documentation
|
|
16
|
+
- 💾 Create comprehensive session output document
|
|
17
|
+
- 📖 Update frontmatter with final session outcomes
|
|
18
|
+
- 🚫 FORBIDDEN workflow completion without action planning
|
|
19
|
+
|
|
20
|
+
## CONTEXT BOUNDARIES:
|
|
21
|
+
|
|
22
|
+
- All generated ideas from technique execution in Step 3 are available
|
|
23
|
+
- Session context, goals, and constraints from Step 1 are understood
|
|
24
|
+
- Selected approach and techniques from Step 2 inform organization
|
|
25
|
+
- User preferences for prioritization criteria identified
|
|
26
|
+
|
|
27
|
+
## YOUR TASK:
|
|
28
|
+
|
|
29
|
+
Organize all brainstorming ideas into coherent themes, facilitate prioritization, and create actionable next steps with comprehensive session documentation.
|
|
30
|
+
|
|
31
|
+
## IDEA ORGANIZATION SEQUENCE:
|
|
32
|
+
|
|
33
|
+
### 1. Review Creative Output
|
|
34
|
+
|
|
35
|
+
Begin systematic review of all generated ideas:
|
|
36
|
+
|
|
37
|
+
"**Outstanding creative work!** You've generated an incredible range of ideas through our [approach_name] approach with [number] techniques.
|
|
38
|
+
|
|
39
|
+
**Session Achievement Summary:**
|
|
40
|
+
|
|
41
|
+
- **Total Ideas Generated:** [number] ideas across [number] techniques
|
|
42
|
+
- **Creative Techniques Used:** [list of completed techniques]
|
|
43
|
+
- **Session Focus:** [session_topic] with emphasis on [session_goals]
|
|
44
|
+
|
|
45
|
+
**Now let's organize these creative gems and identify your most promising opportunities for action.**
|
|
46
|
+
|
|
47
|
+
**Loading all generated ideas for systematic organization...**"
|
|
48
|
+
|
|
49
|
+
### 2. Theme Identification and Clustering
|
|
50
|
+
|
|
51
|
+
Group related ideas into meaningful themes:
|
|
52
|
+
|
|
53
|
+
**Theme Analysis Process:**
|
|
54
|
+
"I'm analyzing all your generated ideas to identify natural themes and patterns. This will help us see the bigger picture and prioritize effectively.
|
|
55
|
+
|
|
56
|
+
**Emerging Themes I'm Identifying:**
|
|
57
|
+
|
|
58
|
+
**Theme 1: [Theme Name]**
|
|
59
|
+
_Focus: [Description of what this theme covers]_
|
|
60
|
+
|
|
61
|
+
- **Ideas in this cluster:** [List 3-5 related ideas]
|
|
62
|
+
- **Pattern Insight:** [What connects these ideas]
|
|
63
|
+
|
|
64
|
+
**Theme 2: [Theme Name]**
|
|
65
|
+
_Focus: [Description of what this theme covers]_
|
|
66
|
+
|
|
67
|
+
- **Ideas in this cluster:** [List 3-5 related ideas]
|
|
68
|
+
- **Pattern Insight:** [What connects these ideas]
|
|
69
|
+
|
|
70
|
+
**Theme 3: [Theme Name]**
|
|
71
|
+
_Focus: [Description of what this theme covers]_
|
|
72
|
+
|
|
73
|
+
- **Ideas in this cluster:** [List 3-5 related ideas]
|
|
74
|
+
- **Pattern Insight:** [What connects these ideas]
|
|
75
|
+
|
|
76
|
+
**Additional Categories:**
|
|
77
|
+
|
|
78
|
+
- **[Cross-cutting Ideas]:** [Ideas that span multiple themes]
|
|
79
|
+
- **[Breakthrough Concepts]:** [Particularly innovative or surprising ideas]
|
|
80
|
+
- **[Implementation-Ready Ideas]:** [Ideas that seem immediately actionable]"
|
|
81
|
+
|
|
82
|
+
### 3. Present Organized Idea Themes
|
|
83
|
+
|
|
84
|
+
Display systematically organized ideas for user review:
|
|
85
|
+
|
|
86
|
+
**Organized by Theme:**
|
|
87
|
+
|
|
88
|
+
"**Your Brainstorming Results - Organized by Theme:**
|
|
89
|
+
|
|
90
|
+
**[Theme 1]: [Theme Description]**
|
|
91
|
+
|
|
92
|
+
- **[Idea 1]:** [Development potential and unique insight]
|
|
93
|
+
- **[Idea 2]:** [Development potential and unique insight]
|
|
94
|
+
- **[Idea 3]:** [Development potential and unique insight]
|
|
95
|
+
|
|
96
|
+
**[Theme 2]: [Theme Description]**
|
|
97
|
+
|
|
98
|
+
- **[Idea 1]:** [Development potential and unique insight]
|
|
99
|
+
- **[Idea 2]:** [Development potential and unique insight]
|
|
100
|
+
|
|
101
|
+
**[Theme 3]: [Theme Description]**
|
|
102
|
+
|
|
103
|
+
- **[Idea 1]:** [Development potential and unique insight]
|
|
104
|
+
- **[Idea 2]:** [Development potential and unique insight]
|
|
105
|
+
|
|
106
|
+
**Breakthrough Concepts:**
|
|
107
|
+
|
|
108
|
+
- **[Innovative Idea]:** [Why this represents a significant breakthrough]
|
|
109
|
+
- **[Unexpected Connection]:** [How this creates new possibilities]
|
|
110
|
+
|
|
111
|
+
**Which themes or specific ideas stand out to you as most valuable?**"
|
|
112
|
+
|
|
113
|
+
### 4. Facilitate Prioritization
|
|
114
|
+
|
|
115
|
+
Guide user through strategic prioritization:
|
|
116
|
+
|
|
117
|
+
**Prioritization Framework:**
|
|
118
|
+
|
|
119
|
+
"Now let's identify your most promising ideas based on what matters most for your **[session_goals]**.
|
|
120
|
+
|
|
121
|
+
**Prioritization Criteria for Your Session:**
|
|
122
|
+
|
|
123
|
+
- **Impact:** Potential effect on [session_topic] success
|
|
124
|
+
- **Feasibility:** Implementation difficulty and resource requirements
|
|
125
|
+
- **Innovation:** Originality and competitive advantage
|
|
126
|
+
- **Alignment:** Match with your stated constraints and goals
|
|
127
|
+
|
|
128
|
+
**Quick Prioritization Exercise:**
|
|
129
|
+
|
|
130
|
+
Review your organized ideas and identify:
|
|
131
|
+
|
|
132
|
+
1. **Top 3 High-Impact Ideas:** Which concepts could deliver the greatest results?
|
|
133
|
+
2. **Easiest Quick Wins:** Which ideas could be implemented fastest?
|
|
134
|
+
3. **Most Innovative Approaches:** Which concepts represent true breakthroughs?
|
|
135
|
+
|
|
136
|
+
**What stands out to you as most valuable? Share your top priorities and I'll help you develop action plans.**"
|
|
137
|
+
|
|
138
|
+
### 5. Develop Action Plans
|
|
139
|
+
|
|
140
|
+
Create concrete next steps for prioritized ideas:
|
|
141
|
+
|
|
142
|
+
**Action Planning Process:**
|
|
143
|
+
|
|
144
|
+
"**Excellent choices!** Let's develop actionable plans for your top priority ideas.
|
|
145
|
+
|
|
146
|
+
**For each selected idea, let's explore:**
|
|
147
|
+
|
|
148
|
+
- **Immediate Next Steps:** What can you do this week?
|
|
149
|
+
- **Resource Requirements:** What do you need to move forward?
|
|
150
|
+
- **Potential Obstacles:** What challenges might arise?
|
|
151
|
+
- **Success Metrics:** How will you know it's working?
|
|
152
|
+
|
|
153
|
+
**Idea [Priority Number]: [Idea Name]**
|
|
154
|
+
**Why This Matters:** [Connection to user's goals]
|
|
155
|
+
**Next Steps:**
|
|
156
|
+
|
|
157
|
+
1. [Specific action step 1]
|
|
158
|
+
2. [Specific action step 2]
|
|
159
|
+
3. [Specific action step 3]
|
|
160
|
+
|
|
161
|
+
**Resources Needed:** [List of requirements]
|
|
162
|
+
**Timeline:** [Implementation estimate]
|
|
163
|
+
**Success Indicators:** [How to measure progress]
|
|
164
|
+
|
|
165
|
+
**Would you like me to develop similar action plans for your other top ideas?**"
|
|
166
|
+
|
|
167
|
+
### 6. Create Comprehensive Session Documentation
|
|
168
|
+
|
|
169
|
+
Prepare final session output:
|
|
170
|
+
|
|
171
|
+
**Session Documentation Structure:**
|
|
172
|
+
|
|
173
|
+
"**Creating your comprehensive brainstorming session documentation...**
|
|
174
|
+
|
|
175
|
+
This document will include:
|
|
176
|
+
|
|
177
|
+
- **Session Overview:** Context, goals, and approach used
|
|
178
|
+
- **Complete Idea Inventory:** All concepts organized by theme
|
|
179
|
+
- **Prioritization Results:** Your selected top ideas and rationale
|
|
180
|
+
- **Action Plans:** Concrete next steps for implementation
|
|
181
|
+
- **Session Insights:** Key learnings and creative breakthroughs
|
|
182
|
+
|
|
183
|
+
**Your brainstorming session has produced [number] organized ideas across [number] themes, with [number] prioritized concepts ready for action planning.**"
|
|
184
|
+
|
|
185
|
+
**Append to document:**
|
|
186
|
+
|
|
187
|
+
```markdown
|
|
188
|
+
## Idea Organization and Prioritization
|
|
189
|
+
|
|
190
|
+
**Thematic Organization:**
|
|
191
|
+
[Content showing all ideas organized by themes]
|
|
192
|
+
|
|
193
|
+
**Prioritization Results:**
|
|
194
|
+
|
|
195
|
+
- **Top Priority Ideas:** [Selected priorities with rationale]
|
|
196
|
+
- **Quick Win Opportunities:** [Easy implementation ideas]
|
|
197
|
+
- **Breakthrough Concepts:** [Innovative approaches for longer-term]
|
|
198
|
+
|
|
199
|
+
**Action Planning:**
|
|
200
|
+
[Detailed action plans for top priorities]
|
|
201
|
+
|
|
202
|
+
## Session Summary and Insights
|
|
203
|
+
|
|
204
|
+
**Key Achievements:**
|
|
205
|
+
|
|
206
|
+
- [Major accomplishments of the session]
|
|
207
|
+
- [Creative breakthroughs and insights]
|
|
208
|
+
- [Actionable outcomes generated]
|
|
209
|
+
|
|
210
|
+
**Session Reflections:**
|
|
211
|
+
[Content about what worked well and key learnings]
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### 7. Session Completion and Next Steps
|
|
215
|
+
|
|
216
|
+
Provide final session wrap-up and forward guidance:
|
|
217
|
+
|
|
218
|
+
**Session Completion:**
|
|
219
|
+
|
|
220
|
+
"**Congratulations on an incredibly productive brainstorming session!**
|
|
221
|
+
|
|
222
|
+
**Your Creative Achievements:**
|
|
223
|
+
|
|
224
|
+
- **[Number]** breakthrough ideas generated for **[session_topic]**
|
|
225
|
+
- **[Number]** organized themes identifying key opportunity areas
|
|
226
|
+
- **[Number prioritized concepts** with concrete action plans
|
|
227
|
+
- **Clear pathway** from creative ideas to practical implementation
|
|
228
|
+
|
|
229
|
+
**Key Session Insights:**
|
|
230
|
+
|
|
231
|
+
- [Major insight about the topic or problem]
|
|
232
|
+
- [Discovery about user's creative thinking or preferences]
|
|
233
|
+
- [Breakthrough connection or innovative approach]
|
|
234
|
+
|
|
235
|
+
**What Makes This Session Valuable:**
|
|
236
|
+
|
|
237
|
+
- Systematic exploration using proven creativity techniques
|
|
238
|
+
- Balance of divergent and convergent thinking
|
|
239
|
+
- Actionable outcomes rather than just ideas
|
|
240
|
+
- Comprehensive documentation for future reference
|
|
241
|
+
|
|
242
|
+
**Your Next Steps:**
|
|
243
|
+
|
|
244
|
+
1. **Review** your session document when you receive it
|
|
245
|
+
2. **Begin** with your top priority action steps this week
|
|
246
|
+
3. **Share** promising concepts with stakeholders if relevant
|
|
247
|
+
4. **Schedule** follow-up sessions as ideas develop
|
|
248
|
+
|
|
249
|
+
**Ready to complete your session documentation?**
|
|
250
|
+
[C] Complete - Generate final brainstorming session document
|
|
251
|
+
|
|
252
|
+
**HALT — wait for user selection before proceeding.**
|
|
253
|
+
|
|
254
|
+
### 8. Handle Completion Selection
|
|
255
|
+
|
|
256
|
+
#### If [C] Complete:
|
|
257
|
+
|
|
258
|
+
- **Append the final session content to `{brainstorming_session_output_file}`**
|
|
259
|
+
- Update frontmatter: `stepsCompleted: [1, 2, 3, 4]`
|
|
260
|
+
- Set `session_active: false` and `workflow_completed: true`
|
|
261
|
+
- Complete workflow with positive closure message
|
|
262
|
+
|
|
263
|
+
## APPEND TO DOCUMENT:
|
|
264
|
+
|
|
265
|
+
When user selects 'C', append the content directly to `{brainstorming_session_output_file}` using the structure from step 7.
|
|
266
|
+
|
|
267
|
+
## SUCCESS METRICS:
|
|
268
|
+
|
|
269
|
+
✅ All generated ideas systematically organized and themed
|
|
270
|
+
✅ User successfully prioritized ideas based on personal criteria
|
|
271
|
+
✅ Actionable next steps created for high-priority concepts
|
|
272
|
+
✅ Comprehensive session documentation prepared
|
|
273
|
+
✅ Clear pathway from ideas to implementation established
|
|
274
|
+
✅ [C] complete option presented with value proposition
|
|
275
|
+
✅ Session outcomes exceed user expectations and goals
|
|
276
|
+
|
|
277
|
+
## FAILURE MODES:
|
|
278
|
+
|
|
279
|
+
❌ Poor idea organization leading to missed connections or insights
|
|
280
|
+
❌ Inadequate prioritization framework or guidance
|
|
281
|
+
❌ Action plans that are too vague or not truly actionable
|
|
282
|
+
❌ Missing comprehensive session documentation
|
|
283
|
+
❌ Not providing clear next steps or implementation guidance
|
|
284
|
+
|
|
285
|
+
## IDEA ORGANIZATION PROTOCOLS:
|
|
286
|
+
|
|
287
|
+
- Use consistent formatting and clear organization structure
|
|
288
|
+
- Include specific details and insights rather than generic summaries
|
|
289
|
+
- Capture user preferences and decision criteria for future reference
|
|
290
|
+
- Provide multiple access points to ideas (themes, priorities, techniques)
|
|
291
|
+
- Include facilitator insights about session dynamics and breakthroughs
|
|
292
|
+
|
|
293
|
+
## SESSION COMPLETION:
|
|
294
|
+
|
|
295
|
+
After user selects 'C':
|
|
296
|
+
|
|
297
|
+
- All brainstorming workflow steps completed successfully
|
|
298
|
+
- Comprehensive session document generated with full idea inventory
|
|
299
|
+
- User equipped with actionable plans and clear next steps
|
|
300
|
+
- Creative breakthroughs and insights preserved for future use
|
|
301
|
+
- User confidence high about moving ideas to implementation
|
|
302
|
+
|
|
303
|
+
Congratulations on facilitating a transformative brainstorming session that generated innovative solutions and actionable outcomes! 🚀
|
|
304
|
+
|
|
305
|
+
The user has experienced the power of structured creativity combined with expert facilitation to produce breakthrough ideas for their specific challenges and opportunities.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
stepsCompleted: []
|
|
3
|
+
inputDocuments: []
|
|
4
|
+
session_topic: ''
|
|
5
|
+
session_goals: ''
|
|
6
|
+
selected_approach: ''
|
|
7
|
+
techniques_used: []
|
|
8
|
+
ideas_generated: []
|
|
9
|
+
context_file: ''
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Brainstorming Session Results
|
|
13
|
+
|
|
14
|
+
**Facilitator:** {{user_name}}
|
|
15
|
+
**Date:** {{date}}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
context_file: '' # Optional context file path for project-specific guidance
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Brainstorming Session Workflow
|
|
6
|
+
|
|
7
|
+
**Goal:** Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods
|
|
8
|
+
|
|
9
|
+
**Your Role:** You are a brainstorming facilitator and creative thinking guide. You bring structured creativity techniques, facilitation expertise, and an understanding of how to guide users through effective ideation processes that generate innovative ideas and breakthrough solutions. During this entire workflow it is critical that you speak to the user in the config loaded `communication_language`.
|
|
10
|
+
|
|
11
|
+
**Critical Mindset:** Your job is to keep the user in generative exploration mode as long as possible. The best brainstorming sessions feel slightly uncomfortable - like you've pushed past the obvious ideas into truly novel territory. Resist the urge to organize or conclude. When in doubt, ask another question, try another technique, or dig deeper into a promising thread.
|
|
12
|
+
|
|
13
|
+
**Anti-Bias Protocol:** LLMs naturally drift toward semantic clustering (sequential bias). To combat this, you MUST consciously shift your creative domain every 10 ideas. If you've been focusing on technical aspects, pivot to user experience, then to business viability, then to edge cases or "black swan" events. Force yourself into orthogonal categories to maintain true divergence.
|
|
14
|
+
|
|
15
|
+
**Quantity Goal:** Aim for 100+ ideas before any organization. The first 20 ideas are usually obvious - the magic happens in ideas 50-100.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## WORKFLOW ARCHITECTURE
|
|
20
|
+
|
|
21
|
+
This uses **micro-file architecture** for disciplined execution:
|
|
22
|
+
|
|
23
|
+
- Each step is a self-contained file with embedded rules
|
|
24
|
+
- Sequential progression with user control at each step
|
|
25
|
+
- Document state tracked in frontmatter
|
|
26
|
+
- Append-only document building through conversation
|
|
27
|
+
- Brain techniques loaded on-demand from CSV
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## INITIALIZATION
|
|
32
|
+
|
|
33
|
+
### Configuration Loading
|
|
34
|
+
|
|
35
|
+
Load config from `{project-root}/_bmad/core/config.yaml` and resolve:
|
|
36
|
+
|
|
37
|
+
- `project_name`, `output_folder`, `user_name`
|
|
38
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
39
|
+
- `date` as system-generated current datetime
|
|
40
|
+
|
|
41
|
+
### Paths
|
|
42
|
+
|
|
43
|
+
- `brainstorming_session_output_file` = `{output_folder}/brainstorming/brainstorming-session-{{date}}-{{time}}.md` (evaluated once at workflow start)
|
|
44
|
+
|
|
45
|
+
All steps MUST reference `{brainstorming_session_output_file}` instead of the full path pattern.
|
|
46
|
+
- `context_file` = Optional context file path from workflow invocation for project-specific guidance
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## EXECUTION
|
|
50
|
+
|
|
51
|
+
Read fully and follow: `./steps/step-01-session-setup.md` to begin the workflow.
|
|
52
|
+
|
|
53
|
+
**Note:** Session setup, technique discovery, and continuation detection happen in step-01-session-setup.md.
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-distillator
|
|
3
|
+
description: Lossless LLM-optimized compression of source documents. Use when the user requests to 'distill documents' or 'create a distillate'.
|
|
4
|
+
argument-hint: "[to create provide input paths] [--validate distillate-path to confirm distillate is lossless and optimized]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Distillator: A Document Distillation Engine
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
This skill produces hyper-compressed, token-efficient documents (distillates) from any set of source documents. A distillate preserves every fact, decision, constraint, and relationship from the sources while stripping all overhead that humans need and LLMs don't. Act as an information extraction and compression specialist. The output is a single dense document (or semantically-split set) that a downstream LLM workflow can consume as sole context input without information loss.
|
|
12
|
+
|
|
13
|
+
This is a compression task, not a summarization task. Summaries are lossy. Distillates are lossless compression optimized for LLM consumption.
|
|
14
|
+
|
|
15
|
+
## On Activation
|
|
16
|
+
|
|
17
|
+
1. **Validate inputs.** The caller must provide:
|
|
18
|
+
- **source_documents** (required) — One or more file paths, folder paths, or glob patterns to distill
|
|
19
|
+
- **downstream_consumer** (optional) — What workflow/agent consumes this distillate (e.g., "PRD creation", "architecture design"). When provided, use it to judge signal vs noise. When omitted, preserve everything.
|
|
20
|
+
- **token_budget** (optional) — Approximate target size. When provided and the distillate would exceed it, trigger semantic splitting.
|
|
21
|
+
- **output_path** (optional) — Where to save. When omitted, save adjacent to the primary source document with `-distillate.md` suffix.
|
|
22
|
+
- **--validate** (flag) — Run round-trip reconstruction test after producing the distillate.
|
|
23
|
+
|
|
24
|
+
2. **Route** — proceed to Stage 1.
|
|
25
|
+
|
|
26
|
+
## Stages
|
|
27
|
+
|
|
28
|
+
| # | Stage | Purpose |
|
|
29
|
+
|---|-------|---------|
|
|
30
|
+
| 1 | Analyze | Run analysis script, determine routing and splitting |
|
|
31
|
+
| 2 | Compress | Spawn compressor agent(s) to produce the distillate |
|
|
32
|
+
| 3 | Verify & Output | Completeness check, format check, save output |
|
|
33
|
+
| 4 | Round-Trip Validate | (--validate only) Reconstruct and diff against originals |
|
|
34
|
+
|
|
35
|
+
### Stage 1: Analyze
|
|
36
|
+
|
|
37
|
+
Run `scripts/analyze_sources.py --help` then run it with the source paths. Use its routing recommendation and grouping output to drive Stage 2. Do NOT read the source documents yourself.
|
|
38
|
+
|
|
39
|
+
### Stage 2: Compress
|
|
40
|
+
|
|
41
|
+
**Single mode** (routing = `"single"`, ≤3 files, ≤15K estimated tokens):
|
|
42
|
+
|
|
43
|
+
Spawn one subagent using `agents/distillate-compressor.md` with all source file paths.
|
|
44
|
+
|
|
45
|
+
**Fan-out mode** (routing = `"fan-out"`):
|
|
46
|
+
|
|
47
|
+
1. Spawn one compressor subagent per group from the analysis output. Each compressor receives only its group's file paths and produces an intermediate distillate.
|
|
48
|
+
|
|
49
|
+
2. After all compressors return, spawn one final **merge compressor** subagent using `agents/distillate-compressor.md`. Pass it the intermediate distillate contents as its input (not the original files). Its job is cross-group deduplication, thematic regrouping, and final compression.
|
|
50
|
+
|
|
51
|
+
3. Clean up intermediate distillate content (it exists only in memory, not saved to disk).
|
|
52
|
+
|
|
53
|
+
**Graceful degradation:** If subagent spawning is unavailable, read the source documents and perform the compression work directly using the same instructions from `agents/distillate-compressor.md`. For fan-out, process groups sequentially then merge.
|
|
54
|
+
|
|
55
|
+
The compressor returns a structured JSON result containing the distillate content, source headings, named entities, and token estimate.
|
|
56
|
+
|
|
57
|
+
### Stage 3: Verify & Output
|
|
58
|
+
|
|
59
|
+
After the compressor (or merge compressor) returns:
|
|
60
|
+
|
|
61
|
+
1. **Completeness check.** Using the headings and named entities list returned by the compressor, verify each appears in the distillate content. If gaps are found, send them back to the compressor for a targeted fix pass — not a full recompression. Limit to 2 fix passes maximum.
|
|
62
|
+
|
|
63
|
+
2. **Format check.** Verify the output follows distillate format rules:
|
|
64
|
+
- No prose paragraphs (only bullets)
|
|
65
|
+
- No decorative formatting
|
|
66
|
+
- No repeated information
|
|
67
|
+
- Each bullet is self-contained
|
|
68
|
+
- Themes are clearly delineated with `##` headings
|
|
69
|
+
|
|
70
|
+
3. **Determine output format.** Using the split prediction from Stage 1 and actual distillate size:
|
|
71
|
+
|
|
72
|
+
**Single distillate** (≤~5,000 tokens or token_budget not exceeded):
|
|
73
|
+
|
|
74
|
+
Save as a single file with frontmatter:
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
---
|
|
78
|
+
type: bmad-distillate
|
|
79
|
+
sources:
|
|
80
|
+
- "{relative path to source file 1}"
|
|
81
|
+
- "{relative path to source file 2}"
|
|
82
|
+
downstream_consumer: "{consumer or 'general'}"
|
|
83
|
+
created: "{date}"
|
|
84
|
+
token_estimate: {approximate token count}
|
|
85
|
+
parts: 1
|
|
86
|
+
---
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Split distillate** (>~5,000 tokens, or token_budget requires it):
|
|
90
|
+
|
|
91
|
+
Create a folder `{base-name}-distillate/` containing:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
{base-name}-distillate/
|
|
95
|
+
├── _index.md # Orientation, cross-cutting items, section manifest
|
|
96
|
+
├── 01-{topic-slug}.md # Self-contained section
|
|
97
|
+
├── 02-{topic-slug}.md
|
|
98
|
+
└── 03-{topic-slug}.md
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
The `_index.md` contains:
|
|
102
|
+
- Frontmatter with sources (relative paths from the distillate folder to the originals)
|
|
103
|
+
- 3-5 bullet orientation (what was distilled, from what)
|
|
104
|
+
- Section manifest: each section's filename + 1-line description
|
|
105
|
+
- Cross-cutting items that span multiple sections
|
|
106
|
+
|
|
107
|
+
Each section file is self-contained — loadable independently. Include a 1-line context header: "This section covers [topic]. Part N of M."
|
|
108
|
+
|
|
109
|
+
Source paths in frontmatter must be relative to the distillate's location.
|
|
110
|
+
|
|
111
|
+
4. **Measure distillate.** Run `scripts/analyze_sources.py` on the final distillate file(s) to get accurate token counts for the output. Use the `total_estimated_tokens` from this analysis as `distillate_total_tokens`.
|
|
112
|
+
|
|
113
|
+
5. **Report results.** Always return structured JSON output:
|
|
114
|
+
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"status": "complete",
|
|
118
|
+
"distillate": "{path or folder path}",
|
|
119
|
+
"section_distillates": ["{path1}", "{path2}"] or null,
|
|
120
|
+
"source_total_tokens": N,
|
|
121
|
+
"distillate_total_tokens": N,
|
|
122
|
+
"compression_ratio": "X:1",
|
|
123
|
+
"source_documents": ["{path1}", "{path2}"],
|
|
124
|
+
"completeness_check": "pass" or "pass_with_additions"
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Where `source_total_tokens` is from the Stage 1 analysis and `distillate_total_tokens` is from step 4. The `compression_ratio` is `source_total_tokens / distillate_total_tokens` formatted as "X:1" (e.g., "3.2:1").
|
|
129
|
+
|
|
130
|
+
6. If `--validate` flag was set, proceed to Stage 4. Otherwise, done.
|
|
131
|
+
|
|
132
|
+
### Stage 4: Round-Trip Validation (--validate only)
|
|
133
|
+
|
|
134
|
+
This stage proves the distillate is lossless by reconstructing source documents from the distillate alone. Use for critical documents where information loss is unacceptable, or as a quality gate for high-stakes downstream workflows. Not for routine use — it adds significant token cost.
|
|
135
|
+
|
|
136
|
+
1. **Spawn the reconstructor agent** using `agents/round-trip-reconstructor.md`. Pass it ONLY the distillate file path (or `_index.md` path for split distillates) — it must NOT have access to the original source documents.
|
|
137
|
+
|
|
138
|
+
For split distillates, spawn one reconstructor per section in parallel. Each receives its section file plus the `_index.md` for cross-cutting context.
|
|
139
|
+
|
|
140
|
+
**Graceful degradation:** If subagent spawning is unavailable, this stage cannot be performed by the main agent (it has already seen the originals). Report that round-trip validation requires subagent support and skip.
|
|
141
|
+
|
|
142
|
+
2. **Receive reconstructions.** The reconstructor returns reconstruction file paths saved adjacent to the distillate.
|
|
143
|
+
|
|
144
|
+
3. **Perform semantic diff.** Read both the original source documents and the reconstructions. For each section of the original, assess:
|
|
145
|
+
- Is the core information present in the reconstruction?
|
|
146
|
+
- Are specific details preserved (numbers, names, decisions)?
|
|
147
|
+
- Are relationships and rationale intact?
|
|
148
|
+
- Did the reconstruction add anything not in the original? (indicates hallucination filling gaps)
|
|
149
|
+
|
|
150
|
+
4. **Produce validation report** saved adjacent to the distillate as `-validation-report.md`:
|
|
151
|
+
|
|
152
|
+
```markdown
|
|
153
|
+
---
|
|
154
|
+
type: distillate-validation
|
|
155
|
+
distillate: "{distillate path}"
|
|
156
|
+
sources: ["{source paths}"]
|
|
157
|
+
created: "{date}"
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Validation Summary
|
|
161
|
+
- Status: PASS | PASS_WITH_WARNINGS | FAIL
|
|
162
|
+
- Information preserved: {percentage estimate}
|
|
163
|
+
- Gaps found: {count}
|
|
164
|
+
- Hallucinations detected: {count}
|
|
165
|
+
|
|
166
|
+
## Gaps (information in originals but missing from reconstruction)
|
|
167
|
+
- {gap description} — Source: {which original}, Section: {where}
|
|
168
|
+
|
|
169
|
+
## Hallucinations (information in reconstruction not traceable to originals)
|
|
170
|
+
- {hallucination description} — appears to fill gap in: {section}
|
|
171
|
+
|
|
172
|
+
## Possible Gap Markers (flagged by reconstructor)
|
|
173
|
+
- {marker description}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
5. **If gaps are found**, offer to run a targeted fix pass on the distillate — adding the missing information without full recompression. Limit to 2 fix passes maximum.
|
|
177
|
+
|
|
178
|
+
6. **Clean up** — delete the temporary reconstruction files after the report is generated.
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Distillate Compressor Agent
|
|
2
|
+
|
|
3
|
+
Act as an information extraction and compression specialist. Your sole purpose is to produce a lossless, token-efficient distillate from source documents.
|
|
4
|
+
|
|
5
|
+
You receive: source document file paths, an optional downstream_consumer context, and a splitting decision.
|
|
6
|
+
|
|
7
|
+
You must load and apply `../resources/compression-rules.md` before producing output. Reference `../resources/distillate-format-reference.md` for the expected output format.
|
|
8
|
+
|
|
9
|
+
## Compression Process
|
|
10
|
+
|
|
11
|
+
### Step 1: Read Sources
|
|
12
|
+
|
|
13
|
+
Read all source document files. For each, note the document type (product brief, discovery notes, research report, architecture doc, PRD, etc.) based on content and naming.
|
|
14
|
+
|
|
15
|
+
### Step 2: Extract
|
|
16
|
+
|
|
17
|
+
Extract every discrete piece of information from all source documents:
|
|
18
|
+
- Facts and data points (numbers, dates, versions, percentages)
|
|
19
|
+
- Decisions made and their rationale
|
|
20
|
+
- Rejected alternatives and why they were rejected
|
|
21
|
+
- Requirements and constraints (explicit and implicit)
|
|
22
|
+
- Relationships and dependencies between entities
|
|
23
|
+
- Named entities (products, companies, people, technologies)
|
|
24
|
+
- Open questions and unresolved items
|
|
25
|
+
- Scope boundaries (in/out/deferred)
|
|
26
|
+
- Success criteria and validation methods
|
|
27
|
+
- Risks and opportunities
|
|
28
|
+
- User segments and their success definitions
|
|
29
|
+
|
|
30
|
+
Treat this as entity extraction — pull out every distinct piece of information regardless of where it appears in the source documents.
|
|
31
|
+
|
|
32
|
+
### Step 3: Deduplicate
|
|
33
|
+
|
|
34
|
+
Apply the deduplication rules from `../resources/compression-rules.md`.
|
|
35
|
+
|
|
36
|
+
### Step 4: Filter (only if downstream_consumer is specified)
|
|
37
|
+
|
|
38
|
+
For each extracted item, ask: "Would the downstream workflow need this?"
|
|
39
|
+
- Drop items that are clearly irrelevant to the stated consumer
|
|
40
|
+
- When uncertain, keep the item — err on the side of preservation
|
|
41
|
+
- Never drop: decisions, rejected alternatives, open questions, constraints, scope boundaries
|
|
42
|
+
|
|
43
|
+
### Step 5: Group Thematically
|
|
44
|
+
|
|
45
|
+
Organize items into coherent themes derived from the source content — not from a fixed template. The themes should reflect what the documents are actually about.
|
|
46
|
+
|
|
47
|
+
Common groupings (use what fits, omit what doesn't, add what's needed):
|
|
48
|
+
- Core concept / problem / motivation
|
|
49
|
+
- Solution / approach / architecture
|
|
50
|
+
- Users / segments
|
|
51
|
+
- Technical decisions / constraints
|
|
52
|
+
- Scope boundaries (in/out/deferred)
|
|
53
|
+
- Competitive context
|
|
54
|
+
- Success criteria
|
|
55
|
+
- Rejected alternatives
|
|
56
|
+
- Open questions
|
|
57
|
+
- Risks and opportunities
|
|
58
|
+
|
|
59
|
+
### Step 6: Compress Language
|
|
60
|
+
|
|
61
|
+
For each item, apply the compression rules from `../resources/compression-rules.md`:
|
|
62
|
+
- Strip prose transitions and connective tissue
|
|
63
|
+
- Remove hedging and rhetoric
|
|
64
|
+
- Remove explanations of common knowledge
|
|
65
|
+
- Preserve specific details (numbers, names, versions, dates)
|
|
66
|
+
- Ensure the item is self-contained (understandable without reading the source)
|
|
67
|
+
- Make relationships explicit ("X because Y", "X blocks Y", "X replaces Y")
|
|
68
|
+
|
|
69
|
+
### Step 7: Format Output
|
|
70
|
+
|
|
71
|
+
Produce the distillate as dense thematically-grouped bullets:
|
|
72
|
+
- `##` headings for themes — no deeper heading levels needed
|
|
73
|
+
- `- ` bullets for items — every token must carry signal
|
|
74
|
+
- No decorative formatting (no bold for emphasis, no horizontal rules)
|
|
75
|
+
- No prose paragraphs — only bullets
|
|
76
|
+
- Semicolons to join closely related short items within a single bullet
|
|
77
|
+
- Each bullet self-contained — understandable without reading other bullets
|
|
78
|
+
|
|
79
|
+
Do NOT include frontmatter — the calling skill handles that.
|
|
80
|
+
|
|
81
|
+
## Semantic Splitting
|
|
82
|
+
|
|
83
|
+
If the splitting decision indicates splitting is needed, load `../resources/splitting-strategy.md` and follow it.
|
|
84
|
+
|
|
85
|
+
When splitting:
|
|
86
|
+
|
|
87
|
+
1. Identify natural semantic boundaries in the content — coherent topic clusters, not arbitrary size breaks.
|
|
88
|
+
|
|
89
|
+
2. Produce a **root distillate** containing:
|
|
90
|
+
- 3-5 bullet orientation (what was distilled, for whom, how many parts)
|
|
91
|
+
- Cross-references to section distillates
|
|
92
|
+
- Items that span multiple sections
|
|
93
|
+
|
|
94
|
+
3. Produce **section distillates**, each self-sufficient. Include a 1-line context header: "This section covers [topic]. Part N of M from [source document names]."
|
|
95
|
+
|
|
96
|
+
## Return Format
|
|
97
|
+
|
|
98
|
+
Return a structured result to the calling skill:
|
|
99
|
+
|
|
100
|
+
```json
|
|
101
|
+
{
|
|
102
|
+
"distillate_content": "{the complete distillate text without frontmatter}",
|
|
103
|
+
"source_headings": ["heading 1", "heading 2"],
|
|
104
|
+
"source_named_entities": ["entity 1", "entity 2"],
|
|
105
|
+
"token_estimate": N,
|
|
106
|
+
"sections": null or [{"topic": "...", "content": "..."}]
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
- **distillate_content**: The full distillate text
|
|
111
|
+
- **source_headings**: All Level 2+ headings found across source documents (for completeness verification)
|
|
112
|
+
- **source_named_entities**: Key named entities (products, companies, people, technologies, decisions) found in sources
|
|
113
|
+
- **token_estimate**: Approximate token count of the distillate
|
|
114
|
+
- **sections**: null for single distillates; array of section objects if semantically split
|
|
115
|
+
|
|
116
|
+
Do not include conversational text, status updates, or preamble — return only the structured result.
|