@codemcp/workflows 5.3.0 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -0
- package/package.json +78 -17
- package/packages/cli/dist/chunk-R5U7XKVJ.js +16 -0
- package/packages/cli/dist/chunk-RTDQR2KY.js +6718 -0
- package/packages/cli/dist/cli-CZ4FMSWR.js +1421 -0
- package/packages/cli/dist/dist-KZOA4GL5.js +65 -0
- package/packages/cli/dist/dist-UGVUJIDN.js +14475 -0
- package/packages/cli/dist/index.js +21 -0
- package/packages/cli/package.json +28 -0
- package/packages/cli/resources/agents/architect.yaml +61 -0
- package/packages/cli/resources/agents/business-analyst.yaml +60 -0
- package/packages/cli/resources/agents/developer.yaml +61 -0
- package/packages/cli/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/cli/resources/templates/architecture/c4.md +224 -0
- package/packages/cli/resources/templates/architecture/freestyle.md +53 -0
- package/packages/cli/resources/templates/architecture/game.md +250 -0
- package/packages/cli/resources/templates/architecture/none.md +17 -0
- package/packages/cli/resources/templates/design/comprehensive.md +207 -0
- package/packages/cli/resources/templates/design/freestyle.md +37 -0
- package/packages/cli/resources/templates/design/game.md +66 -0
- package/packages/cli/resources/templates/design/none.md +17 -0
- package/packages/cli/resources/templates/requirements/ears.md +90 -0
- package/packages/cli/resources/templates/requirements/freestyle.md +42 -0
- package/packages/cli/resources/templates/requirements/game.md +162 -0
- package/packages/cli/resources/templates/requirements/none.md +17 -0
- package/packages/cli/resources/templates/skills/POWER.md +23 -0
- package/packages/cli/resources/templates/skills/SKILL.md +19 -0
- package/packages/cli/resources/workflows/adr.yaml +157 -0
- package/packages/cli/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/cli/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/cli/resources/workflows/bugfix.yaml +177 -0
- package/packages/cli/resources/workflows/business-analysis.yaml +597 -0
- package/packages/cli/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/cli/resources/workflows/epcc.yaml +183 -0
- package/packages/cli/resources/workflows/game-beginner.yaml +434 -0
- package/packages/cli/resources/workflows/greenfield.yaml +201 -0
- package/packages/cli/resources/workflows/minor.yaml +138 -0
- package/packages/cli/resources/workflows/posts.yaml +193 -0
- package/packages/cli/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/cli/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/cli/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/cli/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/cli/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/cli/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/cli/resources/workflows/slides.yaml +237 -0
- package/packages/cli/resources/workflows/tdd.yaml +160 -0
- package/packages/cli/resources/workflows/waterfall.yaml +209 -0
- package/packages/core/dist/beads-integration.d.ts +50 -0
- package/packages/core/dist/beads-integration.js +387 -0
- package/packages/core/dist/beads-integration.js.map +1 -0
- package/packages/core/dist/beads-state-manager.d.ts +58 -0
- package/packages/core/dist/beads-state-manager.js +212 -0
- package/packages/core/dist/beads-state-manager.js.map +1 -0
- package/packages/core/dist/config-manager.d.ts +24 -0
- package/packages/core/dist/config-manager.js +68 -0
- package/packages/core/dist/config-manager.js.map +1 -0
- package/packages/core/dist/conversation-manager.d.ts +98 -0
- package/packages/core/dist/conversation-manager.js +382 -0
- package/packages/core/dist/conversation-manager.js.map +1 -0
- package/packages/core/dist/file-detection-manager.d.ts +53 -0
- package/packages/core/dist/file-detection-manager.js +221 -0
- package/packages/core/dist/file-detection-manager.js.map +1 -0
- package/packages/core/dist/file-storage.d.ts +93 -0
- package/packages/core/dist/file-storage.js +301 -0
- package/packages/core/dist/file-storage.js.map +1 -0
- package/packages/core/dist/git-manager.d.ts +22 -0
- package/packages/core/dist/git-manager.js +123 -0
- package/packages/core/dist/git-manager.js.map +1 -0
- package/packages/core/dist/index.d.ts +24 -0
- package/packages/core/dist/index.js +31 -0
- package/packages/core/dist/index.js.map +1 -0
- package/packages/core/dist/instruction-generator.d.ts +40 -0
- package/packages/core/dist/instruction-generator.js +89 -0
- package/packages/core/dist/instruction-generator.js.map +1 -0
- package/packages/core/dist/interaction-logger.d.ts +37 -0
- package/packages/core/dist/interaction-logger.js +87 -0
- package/packages/core/dist/interaction-logger.js.map +1 -0
- package/packages/core/dist/interfaces/index.d.ts +9 -0
- package/packages/core/dist/interfaces/index.js +10 -0
- package/packages/core/dist/interfaces/index.js.map +1 -0
- package/packages/core/dist/interfaces/instruction-generator.interface.d.ts +41 -0
- package/packages/core/dist/interfaces/instruction-generator.interface.js +8 -0
- package/packages/core/dist/interfaces/instruction-generator.interface.js.map +1 -0
- package/packages/core/dist/interfaces/plan-manager.interface.d.ts +55 -0
- package/packages/core/dist/interfaces/plan-manager.interface.js +8 -0
- package/packages/core/dist/interfaces/plan-manager.interface.js.map +1 -0
- package/packages/core/dist/interfaces/task-backend-client.interface.d.ts +52 -0
- package/packages/core/dist/interfaces/task-backend-client.interface.js +8 -0
- package/packages/core/dist/interfaces/task-backend-client.interface.js.map +1 -0
- package/packages/core/dist/logger.d.ts +64 -0
- package/packages/core/dist/logger.js +283 -0
- package/packages/core/dist/logger.js.map +1 -0
- package/packages/core/dist/path-validation-utils.d.ts +75 -0
- package/packages/core/dist/path-validation-utils.js +238 -0
- package/packages/core/dist/path-validation-utils.js.map +1 -0
- package/packages/core/dist/persistence-interface.d.ts +91 -0
- package/packages/core/dist/persistence-interface.js +9 -0
- package/packages/core/dist/persistence-interface.js.map +1 -0
- package/{dist/components/beads/beads-plan-manager.d.ts → packages/core/dist/plan-manager.d.ts} +15 -15
- package/{dist/components/beads/beads-plan-manager.js → packages/core/dist/plan-manager.js} +66 -50
- package/packages/core/dist/plan-manager.js.map +1 -0
- package/packages/core/dist/project-docs-manager.d.ts +119 -0
- package/packages/core/dist/project-docs-manager.js +366 -0
- package/packages/core/dist/project-docs-manager.js.map +1 -0
- package/packages/core/dist/state-machine-loader.d.ts +61 -0
- package/packages/core/dist/state-machine-loader.js +273 -0
- package/packages/core/dist/state-machine-loader.js.map +1 -0
- package/packages/core/dist/state-machine-types.d.ts +64 -0
- package/packages/core/dist/state-machine-types.js +7 -0
- package/packages/core/dist/state-machine-types.js.map +1 -0
- package/packages/core/dist/state-machine.d.ts +52 -0
- package/packages/core/dist/state-machine.js +256 -0
- package/packages/core/dist/state-machine.js.map +1 -0
- package/packages/core/dist/system-prompt-generator.d.ts +14 -0
- package/packages/core/dist/system-prompt-generator.js +42 -0
- package/packages/core/dist/system-prompt-generator.js.map +1 -0
- package/packages/core/dist/task-backend.d.ts +45 -0
- package/packages/core/dist/task-backend.js +176 -0
- package/packages/core/dist/task-backend.js.map +1 -0
- package/packages/core/dist/template-manager.d.ts +61 -0
- package/packages/core/dist/template-manager.js +231 -0
- package/packages/core/dist/template-manager.js.map +1 -0
- package/packages/core/dist/transition-engine.d.ts +77 -0
- package/packages/core/dist/transition-engine.js +244 -0
- package/packages/core/dist/transition-engine.js.map +1 -0
- package/packages/core/dist/types.d.ts +54 -0
- package/packages/core/dist/types.js +5 -0
- package/packages/core/dist/workflow-manager.d.ts +89 -0
- package/packages/core/dist/workflow-manager.js +468 -0
- package/packages/core/dist/workflow-manager.js.map +1 -0
- package/packages/core/package.json +33 -0
- package/packages/core/resources/agents/architect.yaml +61 -0
- package/packages/core/resources/agents/business-analyst.yaml +60 -0
- package/packages/core/resources/agents/developer.yaml +61 -0
- package/packages/core/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/core/resources/templates/architecture/c4.md +224 -0
- package/packages/core/resources/templates/architecture/freestyle.md +53 -0
- package/packages/core/resources/templates/architecture/game.md +250 -0
- package/packages/core/resources/templates/architecture/none.md +17 -0
- package/packages/core/resources/templates/design/comprehensive.md +207 -0
- package/packages/core/resources/templates/design/freestyle.md +37 -0
- package/packages/core/resources/templates/design/game.md +66 -0
- package/packages/core/resources/templates/design/none.md +17 -0
- package/packages/core/resources/templates/requirements/ears.md +90 -0
- package/packages/core/resources/templates/requirements/freestyle.md +42 -0
- package/packages/core/resources/templates/requirements/game.md +162 -0
- package/packages/core/resources/templates/requirements/none.md +17 -0
- package/packages/core/resources/templates/skills/POWER.md +23 -0
- package/packages/core/resources/templates/skills/SKILL.md +19 -0
- package/packages/core/resources/workflows/adr.yaml +157 -0
- package/packages/core/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/core/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/core/resources/workflows/bugfix.yaml +177 -0
- package/packages/core/resources/workflows/business-analysis.yaml +597 -0
- package/packages/core/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/core/resources/workflows/epcc.yaml +183 -0
- package/packages/core/resources/workflows/game-beginner.yaml +434 -0
- package/packages/core/resources/workflows/greenfield.yaml +201 -0
- package/packages/core/resources/workflows/minor.yaml +138 -0
- package/packages/core/resources/workflows/posts.yaml +193 -0
- package/packages/core/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/core/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/core/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/core/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/core/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/core/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/core/resources/workflows/slides.yaml +237 -0
- package/packages/core/resources/workflows/tdd.yaml +160 -0
- package/packages/core/resources/workflows/waterfall.yaml +209 -0
- package/packages/docs/.vitepress/dist/.gitignore +2 -0
- package/packages/docs/.vitepress/dist/404.html +23 -0
- package/packages/docs/.vitepress/dist/assets/app.Dz3lZH3M.js +1 -0
- package/packages/docs/.vitepress/dist/assets/chunks/framework.DZS7lpav.js +19 -0
- package/packages/docs/.vitepress/dist/assets/chunks/theme.q5Ewb3F1.js +206 -0
- package/packages/docs/.vitepress/dist/assets/dev_ARCHITECTURE.md.da_vFDwM.js +130 -0
- package/packages/docs/.vitepress/dist/assets/dev_ARCHITECTURE.md.da_vFDwM.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_DEVELOPMENT.md.DWl9cccE.js +72 -0
- package/packages/docs/.vitepress/dist/assets/dev_DEVELOPMENT.md.DWl9cccE.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_LOGGING.md.BebvbW7z.js +34 -0
- package/packages/docs/.vitepress/dist/assets/dev_LOGGING.md.BebvbW7z.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_PUBLISHING.md.CQqbiIOF.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_PUBLISHING.md.CQqbiIOF.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/index.md.D6ROLohf.js +2 -0
- package/packages/docs/.vitepress/dist/assets/index.md.D6ROLohf.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/mcp-interaction-pattern.VdvOPuTt.png +0 -0
- package/packages/docs/.vitepress/dist/assets/placeholder-demo-greenfield.B8lG_tBI.png +0 -0
- package/packages/docs/.vitepress/dist/assets/style.CAgdBzOq.css +1 -0
- package/packages/docs/.vitepress/dist/assets/user_advanced-engineering.md.MkETYNtq.js +50 -0
- package/packages/docs/.vitepress/dist/assets/user_advanced-engineering.md.MkETYNtq.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_agent-setup.md.B54OLL2H.js +24 -0
- package/packages/docs/.vitepress/dist/assets/user_agent-setup.md.B54OLL2H.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_beads-integration.md.BzdR5Fif.js +15 -0
- package/packages/docs/.vitepress/dist/assets/user_beads-integration.md.BzdR5Fif.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_crowd-mcp-integration.md.C15kSdIJ.js +157 -0
- package/packages/docs/.vitepress/dist/assets/user_crowd-mcp-integration.md.C15kSdIJ.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_custom-workflows.md.Cz4IYCXa.js +143 -0
- package/packages/docs/.vitepress/dist/assets/user_custom-workflows.md.Cz4IYCXa.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_git-commit-feature.md.UcTvDR-O.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_git-commit-feature.md.UcTvDR-O.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_how-it-works.md.DiOXNgaL.js +23 -0
- package/packages/docs/.vitepress/dist/assets/user_how-it-works.md.DiOXNgaL.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_long-term-memory.md.DZh0tjNa.js +43 -0
- package/packages/docs/.vitepress/dist/assets/user_long-term-memory.md.DZh0tjNa.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_packaged-workflows.md.s1HT89ZU.js +2 -0
- package/packages/docs/.vitepress/dist/assets/user_packaged-workflows.md.s1HT89ZU.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_tutorial.md.Dmj8zLB2.js +3 -0
- package/packages/docs/.vitepress/dist/assets/user_tutorial.md.Dmj8zLB2.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_workflow-selection.md.CrPGw9Hr.js +7 -0
- package/packages/docs/.vitepress/dist/assets/user_workflow-selection.md.CrPGw9Hr.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows.md.Bm5sGt3u.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows.md.Bm5sGt3u.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_adr.md.DEaXkbRp.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_adr.md.DEaXkbRp.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_big-bang-conversion.md.BA5R1LxZ.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_big-bang-conversion.md.BA5R1LxZ.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_boundary-testing.md.DBcYnMhx.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_boundary-testing.md.DBcYnMhx.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_bugfix.md.CZRCL0Hp.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_bugfix.md.CZRCL0Hp.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_business-analysis.md.fGLml8Hw.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_business-analysis.md.fGLml8Hw.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_c4-analysis.md.Dnssqzuf.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_c4-analysis.md.Dnssqzuf.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_epcc.md.M6DnIhpp.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_epcc.md.M6DnIhpp.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_game-beginner.md.CNxzWLtd.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_game-beginner.md.CNxzWLtd.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_greenfield.md.vx_g-WOe.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_greenfield.md.vx_g-WOe.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_minor.md.DdnfwMf4.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_minor.md.DdnfwMf4.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_posts.md.SOldXvq7.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_posts.md.SOldXvq7.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix-crowd.md.-lSf42gJ.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix-crowd.md.-lSf42gJ.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix.md.oRAsEVbc.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix.md.oRAsEVbc.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature-crowd.md.DAtnfCAd.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature-crowd.md.DAtnfCAd.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature.md.Ce3-H_g3.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature.md.Ce3-H_g3.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield-crowd.md.8DUvcmLe.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield-crowd.md.8DUvcmLe.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield.md.eEN6U0J4.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield.md.eEN6U0J4.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_slides.md.Cqt-19_1.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_slides.md.Cqt-19_1.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_tdd.md.BjVC69tu.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_tdd.md.BjVC69tu.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_waterfall.md.CL6jTZP9.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_waterfall.md.CL6jTZP9.lean.js +1 -0
- package/packages/docs/.vitepress/dist/dev/ARCHITECTURE.html +155 -0
- package/packages/docs/.vitepress/dist/dev/DEVELOPMENT.html +97 -0
- package/packages/docs/.vitepress/dist/dev/LOGGING.html +59 -0
- package/packages/docs/.vitepress/dist/dev/PUBLISHING.html +30 -0
- package/packages/docs/.vitepress/dist/hashmap.json +1 -0
- package/packages/docs/.vitepress/dist/index.html +27 -0
- package/packages/docs/.vitepress/dist/user/advanced-engineering.html +75 -0
- package/packages/docs/.vitepress/dist/user/agent-setup.html +49 -0
- package/packages/docs/.vitepress/dist/user/beads-integration.html +40 -0
- package/packages/docs/.vitepress/dist/user/crowd-mcp-integration.html +182 -0
- package/packages/docs/.vitepress/dist/user/custom-workflows.html +168 -0
- package/packages/docs/.vitepress/dist/user/git-commit-feature.html +30 -0
- package/packages/docs/.vitepress/dist/user/how-it-works.html +48 -0
- package/packages/docs/.vitepress/dist/user/long-term-memory.html +68 -0
- package/packages/docs/.vitepress/dist/user/packaged-workflows.html +27 -0
- package/packages/docs/.vitepress/dist/user/tutorial.html +28 -0
- package/packages/docs/.vitepress/dist/user/workflow-selection.html +32 -0
- package/packages/docs/.vitepress/dist/vp-icons.css +0 -0
- package/packages/docs/.vitepress/dist/workflows/adr.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/adr.yaml +157 -0
- package/packages/docs/.vitepress/dist/workflows/big-bang-conversion.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/big-bang-conversion.yaml +592 -0
- package/packages/docs/.vitepress/dist/workflows/boundary-testing.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/boundary-testing.yaml +376 -0
- package/packages/docs/.vitepress/dist/workflows/bugfix.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/bugfix.yaml +177 -0
- package/packages/docs/.vitepress/dist/workflows/business-analysis.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/business-analysis.yaml +597 -0
- package/packages/docs/.vitepress/dist/workflows/c4-analysis.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/c4-analysis.yaml +471 -0
- package/packages/docs/.vitepress/dist/workflows/epcc.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/epcc.yaml +183 -0
- package/packages/docs/.vitepress/dist/workflows/game-beginner.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/game-beginner.yaml +434 -0
- package/packages/docs/.vitepress/dist/workflows/greenfield.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/greenfield.yaml +201 -0
- package/packages/docs/.vitepress/dist/workflows/minor.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/minor.yaml +138 -0
- package/packages/docs/.vitepress/dist/workflows/posts.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/posts.yaml +193 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix-crowd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix.yaml +381 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature-crowd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature.yaml +471 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield-crowd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield.yaml +463 -0
- package/packages/docs/.vitepress/dist/workflows/slides.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/slides.yaml +237 -0
- package/packages/docs/.vitepress/dist/workflows/tdd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/tdd.yaml +160 -0
- package/packages/docs/.vitepress/dist/workflows/waterfall.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/waterfall.yaml +209 -0
- package/packages/docs/.vitepress/dist/workflows.html +26 -0
- package/packages/docs/package.json +32 -0
- package/packages/mcp-server/dist/index.js +10546 -0
- package/packages/mcp-server/package.json +41 -0
- package/packages/mcp-server/resources/agents/architect.yaml +61 -0
- package/packages/mcp-server/resources/agents/business-analyst.yaml +60 -0
- package/packages/mcp-server/resources/agents/developer.yaml +61 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/c4.md +224 -0
- package/packages/mcp-server/resources/templates/architecture/freestyle.md +53 -0
- package/packages/mcp-server/resources/templates/architecture/game.md +250 -0
- package/packages/mcp-server/resources/templates/architecture/none.md +17 -0
- package/packages/mcp-server/resources/templates/design/comprehensive.md +207 -0
- package/packages/mcp-server/resources/templates/design/freestyle.md +37 -0
- package/packages/mcp-server/resources/templates/design/game.md +66 -0
- package/packages/mcp-server/resources/templates/design/none.md +17 -0
- package/packages/mcp-server/resources/templates/requirements/ears.md +90 -0
- package/packages/mcp-server/resources/templates/requirements/freestyle.md +42 -0
- package/packages/mcp-server/resources/templates/requirements/game.md +162 -0
- package/packages/mcp-server/resources/templates/requirements/none.md +17 -0
- package/packages/mcp-server/resources/templates/skills/POWER.md +23 -0
- package/packages/mcp-server/resources/templates/skills/SKILL.md +19 -0
- package/packages/mcp-server/resources/workflows/adr.yaml +157 -0
- package/packages/mcp-server/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/mcp-server/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/mcp-server/resources/workflows/bugfix.yaml +177 -0
- package/packages/mcp-server/resources/workflows/business-analysis.yaml +597 -0
- package/packages/mcp-server/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/mcp-server/resources/workflows/epcc.yaml +183 -0
- package/packages/mcp-server/resources/workflows/game-beginner.yaml +434 -0
- package/packages/mcp-server/resources/workflows/greenfield.yaml +201 -0
- package/packages/mcp-server/resources/workflows/minor.yaml +138 -0
- package/packages/mcp-server/resources/workflows/posts.yaml +193 -0
- package/packages/mcp-server/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/mcp-server/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/mcp-server/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/mcp-server/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/mcp-server/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/mcp-server/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/mcp-server/resources/workflows/slides.yaml +237 -0
- package/packages/mcp-server/resources/workflows/tdd.yaml +160 -0
- package/packages/mcp-server/resources/workflows/waterfall.yaml +209 -0
- package/packages/visualizer/dist/WorkflowVisualizer.vue +1147 -0
- package/packages/visualizer/dist/index.ts +17 -0
- package/packages/visualizer/dist/main.ts +673 -0
- package/packages/visualizer/dist/services/BundledWorkflows.ts +35 -0
- package/packages/visualizer/dist/services/FileUploadHandler.ts +166 -0
- package/packages/visualizer/dist/services/WorkflowLoader.ts +198 -0
- package/packages/visualizer/dist/services/YamlParser.ts +248 -0
- package/packages/visualizer/dist/services/workflow-list.ts +23 -0
- package/packages/visualizer/dist/types/ui-types.ts +84 -0
- package/packages/visualizer/dist/types/visualization-types.ts +95 -0
- package/packages/visualizer/dist/types/vite-env.d.ts +12 -0
- package/packages/visualizer/dist/utils/DomHelpers.ts +206 -0
- package/packages/visualizer/dist/utils/ErrorHandler.ts +170 -0
- package/packages/visualizer/dist/utils/PlantUMLEncoder.ts +121 -0
- package/packages/visualizer/dist/visualization/DiagramRenderer.ts +430 -0
- package/packages/visualizer/dist/visualization/LayoutEngine.ts +339 -0
- package/packages/visualizer/dist/visualization/PlantUMLRenderer.ts +507 -0
- package/packages/visualizer/dist/visualization/StateRenderer.ts +339 -0
- package/packages/visualizer/dist/visualization/TransitionRenderer.ts +432 -0
- package/packages/visualizer/package.json +39 -0
- package/resources/.DS_Store +0 -0
- package/resources/agents/architect.yaml +61 -0
- package/resources/agents/business-analyst.yaml +60 -0
- package/resources/agents/developer.yaml +61 -0
- package/resources/state-machine-schema.json +114 -0
- package/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/resources/templates/architecture/c4.md +224 -0
- package/resources/templates/architecture/freestyle.md +53 -0
- package/resources/templates/architecture/game.md +250 -0
- package/resources/templates/architecture/none.md +17 -0
- package/resources/templates/design/comprehensive.md +207 -0
- package/resources/templates/design/freestyle.md +37 -0
- package/resources/templates/design/game.md +66 -0
- package/resources/templates/design/none.md +17 -0
- package/resources/templates/requirements/ears.md +90 -0
- package/resources/templates/requirements/freestyle.md +42 -0
- package/resources/templates/requirements/game.md +162 -0
- package/resources/templates/requirements/none.md +17 -0
- package/resources/templates/skills/POWER.md +23 -0
- package/resources/templates/skills/SKILL.md +19 -0
- package/resources/workflows/adr.yaml +157 -0
- package/resources/workflows/big-bang-conversion.yaml +592 -0
- package/resources/workflows/boundary-testing.yaml +376 -0
- package/resources/workflows/bugfix.yaml +177 -0
- package/resources/workflows/business-analysis.yaml +597 -0
- package/resources/workflows/c4-analysis.yaml +471 -0
- package/resources/workflows/epcc.yaml +183 -0
- package/resources/workflows/game-beginner.yaml +434 -0
- package/resources/workflows/greenfield.yaml +201 -0
- package/resources/workflows/minor.yaml +138 -0
- package/resources/workflows/posts.yaml +193 -0
- package/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/resources/workflows/sdd-bugfix.yaml +381 -0
- package/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/resources/workflows/sdd-feature.yaml +471 -0
- package/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/resources/workflows/sdd-greenfield.yaml +463 -0
- package/resources/workflows/slides.yaml +237 -0
- package/resources/workflows/tdd.yaml +160 -0
- package/resources/workflows/waterfall.yaml +209 -0
- package/dist/components/beads/beads-instruction-generator.d.ts +0 -44
- package/dist/components/beads/beads-instruction-generator.d.ts.map +0 -1
- package/dist/components/beads/beads-instruction-generator.js +0 -160
- package/dist/components/beads/beads-instruction-generator.js.map +0 -1
- package/dist/components/beads/beads-plan-manager.d.ts.map +0 -1
- package/dist/components/beads/beads-plan-manager.js.map +0 -1
- package/dist/components/beads/beads-task-backend-client.d.ts +0 -43
- package/dist/components/beads/beads-task-backend-client.d.ts.map +0 -1
- package/dist/components/beads/beads-task-backend-client.js +0 -175
- package/dist/components/beads/beads-task-backend-client.js.map +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -74
- package/dist/index.js.map +0 -1
- package/dist/notification-service.d.ts +0 -14
- package/dist/notification-service.d.ts.map +0 -1
- package/dist/notification-service.js +0 -18
- package/dist/notification-service.js.map +0 -1
- package/dist/plugin-system/beads-plugin.d.ts +0 -71
- package/dist/plugin-system/beads-plugin.d.ts.map +0 -1
- package/dist/plugin-system/beads-plugin.js +0 -465
- package/dist/plugin-system/beads-plugin.js.map +0 -1
- package/dist/plugin-system/commit-plugin.d.ts +0 -40
- package/dist/plugin-system/commit-plugin.d.ts.map +0 -1
- package/dist/plugin-system/commit-plugin.js +0 -204
- package/dist/plugin-system/commit-plugin.js.map +0 -1
- package/dist/plugin-system/index.d.ts +0 -9
- package/dist/plugin-system/index.d.ts.map +0 -1
- package/dist/plugin-system/index.js +0 -9
- package/dist/plugin-system/index.js.map +0 -1
- package/dist/plugin-system/plugin-interfaces.d.ts +0 -98
- package/dist/plugin-system/plugin-interfaces.d.ts.map +0 -1
- package/dist/plugin-system/plugin-interfaces.js +0 -9
- package/dist/plugin-system/plugin-interfaces.js.map +0 -1
- package/dist/plugin-system/plugin-registry.d.ts +0 -44
- package/dist/plugin-system/plugin-registry.d.ts.map +0 -1
- package/dist/plugin-system/plugin-registry.js +0 -132
- package/dist/plugin-system/plugin-registry.js.map +0 -1
- package/dist/resource-handlers/conversation-state.d.ts +0 -15
- package/dist/resource-handlers/conversation-state.d.ts.map +0 -1
- package/dist/resource-handlers/conversation-state.js +0 -40
- package/dist/resource-handlers/conversation-state.js.map +0 -1
- package/dist/resource-handlers/development-plan.d.ts +0 -14
- package/dist/resource-handlers/development-plan.d.ts.map +0 -1
- package/dist/resource-handlers/development-plan.js +0 -31
- package/dist/resource-handlers/development-plan.js.map +0 -1
- package/dist/resource-handlers/index.d.ts +0 -24
- package/dist/resource-handlers/index.d.ts.map +0 -1
- package/dist/resource-handlers/index.js +0 -62
- package/dist/resource-handlers/index.js.map +0 -1
- package/dist/resource-handlers/system-prompt.d.ts +0 -15
- package/dist/resource-handlers/system-prompt.d.ts.map +0 -1
- package/dist/resource-handlers/system-prompt.js +0 -40
- package/dist/resource-handlers/system-prompt.js.map +0 -1
- package/dist/resource-handlers/workflow-resource.d.ts +0 -15
- package/dist/resource-handlers/workflow-resource.d.ts.map +0 -1
- package/dist/resource-handlers/workflow-resource.js +0 -85
- package/dist/resource-handlers/workflow-resource.js.map +0 -1
- package/dist/response-renderer.d.ts +0 -30
- package/dist/response-renderer.d.ts.map +0 -1
- package/dist/response-renderer.js +0 -94
- package/dist/response-renderer.js.map +0 -1
- package/dist/server-config.d.ts +0 -34
- package/dist/server-config.d.ts.map +0 -1
- package/dist/server-config.js +0 -503
- package/dist/server-config.js.map +0 -1
- package/dist/server-helpers.d.ts +0 -70
- package/dist/server-helpers.d.ts.map +0 -1
- package/dist/server-helpers.js +0 -171
- package/dist/server-helpers.js.map +0 -1
- package/dist/server-implementation.d.ts +0 -74
- package/dist/server-implementation.d.ts.map +0 -1
- package/dist/server-implementation.js +0 -201
- package/dist/server-implementation.js.map +0 -1
- package/dist/server.d.ts +0 -6
- package/dist/server.d.ts.map +0 -1
- package/dist/server.js +0 -5
- package/dist/server.js.map +0 -1
- package/dist/tool-handlers/base-tool-handler.d.ts +0 -50
- package/dist/tool-handlers/base-tool-handler.d.ts.map +0 -1
- package/dist/tool-handlers/base-tool-handler.js +0 -81
- package/dist/tool-handlers/base-tool-handler.js.map +0 -1
- package/dist/tool-handlers/conduct-review.d.ts +0 -49
- package/dist/tool-handlers/conduct-review.d.ts.map +0 -1
- package/dist/tool-handlers/conduct-review.js +0 -104
- package/dist/tool-handlers/conduct-review.js.map +0 -1
- package/dist/tool-handlers/get-tool-info.d.ts +0 -75
- package/dist/tool-handlers/get-tool-info.d.ts.map +0 -1
- package/dist/tool-handlers/get-tool-info.js +0 -168
- package/dist/tool-handlers/get-tool-info.js.map +0 -1
- package/dist/tool-handlers/index.d.ts +0 -41
- package/dist/tool-handlers/index.d.ts.map +0 -1
- package/dist/tool-handlers/index.js +0 -71
- package/dist/tool-handlers/index.js.map +0 -1
- package/dist/tool-handlers/list-workflows.d.ts +0 -35
- package/dist/tool-handlers/list-workflows.d.ts.map +0 -1
- package/dist/tool-handlers/list-workflows.js +0 -43
- package/dist/tool-handlers/list-workflows.js.map +0 -1
- package/dist/tool-handlers/no-idea.d.ts +0 -41
- package/dist/tool-handlers/no-idea.d.ts.map +0 -1
- package/dist/tool-handlers/no-idea.js +0 -29
- package/dist/tool-handlers/no-idea.js.map +0 -1
- package/dist/tool-handlers/proceed-to-phase.d.ts +0 -41
- package/dist/tool-handlers/proceed-to-phase.d.ts.map +0 -1
- package/dist/tool-handlers/proceed-to-phase.js +0 -165
- package/dist/tool-handlers/proceed-to-phase.js.map +0 -1
- package/dist/tool-handlers/reset-development.d.ts +0 -31
- package/dist/tool-handlers/reset-development.d.ts.map +0 -1
- package/dist/tool-handlers/reset-development.js +0 -48
- package/dist/tool-handlers/reset-development.js.map +0 -1
- package/dist/tool-handlers/resume-workflow.d.ts +0 -87
- package/dist/tool-handlers/resume-workflow.d.ts.map +0 -1
- package/dist/tool-handlers/resume-workflow.js +0 -212
- package/dist/tool-handlers/resume-workflow.js.map +0 -1
- package/dist/tool-handlers/setup-project-docs.d.ts +0 -37
- package/dist/tool-handlers/setup-project-docs.d.ts.map +0 -1
- package/dist/tool-handlers/setup-project-docs.js +0 -138
- package/dist/tool-handlers/setup-project-docs.js.map +0 -1
- package/dist/tool-handlers/start-development.d.ts +0 -79
- package/dist/tool-handlers/start-development.d.ts.map +0 -1
- package/dist/tool-handlers/start-development.js +0 -484
- package/dist/tool-handlers/start-development.js.map +0 -1
- package/dist/tool-handlers/whats-next.d.ts +0 -41
- package/dist/tool-handlers/whats-next.d.ts.map +0 -1
- package/dist/tool-handlers/whats-next.js +0 -123
- package/dist/tool-handlers/whats-next.js.map +0 -1
- package/dist/types.d.ts +0 -119
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -5
- package/dist/version-info.d.ts +0 -30
- package/dist/version-info.d.ts.map +0 -1
- package/dist/version-info.js +0 -178
- package/dist/version-info.js.map +0 -1
- package/skill/SKILL.md +0 -28
- /package/{dist → packages/core/dist}/types.js.map +0 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
name: slides
|
|
2
|
+
description: 'A comprehensive workflow for creating presentations - tool-agnostic approach that works with Slidev, PowerPoint, Google Slides, or any presentation platform'
|
|
3
|
+
initial_state: ideate
|
|
4
|
+
|
|
5
|
+
# Enhanced metadata for better discoverability
|
|
6
|
+
metadata:
|
|
7
|
+
domain: 'office'
|
|
8
|
+
complexity: 'medium'
|
|
9
|
+
bestFor:
|
|
10
|
+
- 'Presentation creation'
|
|
11
|
+
- 'Slide deck development'
|
|
12
|
+
- 'Conference talks'
|
|
13
|
+
- 'Training materials'
|
|
14
|
+
useCases:
|
|
15
|
+
- 'Creating a technical presentation'
|
|
16
|
+
- 'Building training slides'
|
|
17
|
+
- 'Preparing a conference talk'
|
|
18
|
+
examples:
|
|
19
|
+
- 'Create a product demo presentation'
|
|
20
|
+
- 'Build onboarding slides'
|
|
21
|
+
- 'Develop a technical workshop'
|
|
22
|
+
|
|
23
|
+
states:
|
|
24
|
+
ideate:
|
|
25
|
+
description: 'Brainstorm presentation concept and define strategic foundation'
|
|
26
|
+
default_instructions: |
|
|
27
|
+
**Clarify the presentation foundation** with the user by gathering essential information:
|
|
28
|
+
|
|
29
|
+
- Brainstorm presentation topic and key messages
|
|
30
|
+
- Define target audience and their knowledge level
|
|
31
|
+
- Set presentation goals and success criteria
|
|
32
|
+
- Research topic and gather reference materials
|
|
33
|
+
- Define scope, time constraints, and context
|
|
34
|
+
|
|
35
|
+
**Update** the plan file with ideation progress and key decisions before proceeding to structure.
|
|
36
|
+
|
|
37
|
+
transitions:
|
|
38
|
+
- trigger: ideation_complete
|
|
39
|
+
to: structure
|
|
40
|
+
transition_reason: 'Presentation concept and goals clearly defined, ready for content structuring'
|
|
41
|
+
|
|
42
|
+
structure:
|
|
43
|
+
description: 'Organize content flow and logical progression'
|
|
44
|
+
default_instructions: |
|
|
45
|
+
**Create a detailed presentation structure** by organizing your content logically and effectively:
|
|
46
|
+
|
|
47
|
+
- Create detailed presentation outline with main sections
|
|
48
|
+
- Define slide sequence and narrative flow
|
|
49
|
+
- Plan smooth transitions between topics
|
|
50
|
+
- Identify key examples, case studies, or demonstrations needed
|
|
51
|
+
- Estimate timing for each section and overall presentation
|
|
52
|
+
- Consider audience engagement points and interaction opportunities
|
|
53
|
+
|
|
54
|
+
**Update** the plan file with structural decisions and progress before moving to content drafting.
|
|
55
|
+
|
|
56
|
+
transitions:
|
|
57
|
+
- trigger: structure_complete
|
|
58
|
+
to: draft
|
|
59
|
+
additional_instructions: |
|
|
60
|
+
**Structure phase complete!** You have a well-organized outline and clear content flow.
|
|
61
|
+
|
|
62
|
+
Update the plan file with drafting tasks and mark completed structural work.
|
|
63
|
+
transition_reason: 'Content structure and flow established, ready for content creation'
|
|
64
|
+
|
|
65
|
+
- trigger: need_more_ideation
|
|
66
|
+
to: ideate
|
|
67
|
+
additional_instructions: 'Structural work revealed gaps in the initial concept or goals. Focus on clarifying these fundamental aspects.'
|
|
68
|
+
transition_reason: 'Structure work revealed need for more ideation or concept refinement'
|
|
69
|
+
|
|
70
|
+
- trigger: abandon_presentation
|
|
71
|
+
to: ideate
|
|
72
|
+
instructions: |
|
|
73
|
+
**Abandon structural work** - Clean up structural work and return to ideation.
|
|
74
|
+
|
|
75
|
+
The plan file and any completed work will remain for future reference.
|
|
76
|
+
additional_instructions: 'Presentation abandoned during structure phase. Clean up and prepare for new topics.'
|
|
77
|
+
transition_reason: 'User decided to abandon presentation during structure phase'
|
|
78
|
+
|
|
79
|
+
draft:
|
|
80
|
+
description: 'Create content, speaker notes, and visual planning'
|
|
81
|
+
default_instructions: |
|
|
82
|
+
**Create content and speaker notes** to establish the presentation material and delivery guide:
|
|
83
|
+
|
|
84
|
+
- Write clear, engaging content for each slide/section
|
|
85
|
+
- Create comprehensive speaker notes as a main deliverable
|
|
86
|
+
- Make strategic decisions about visual vs. spoken content split
|
|
87
|
+
- Identify concepts that can be effectively visualized
|
|
88
|
+
- Define what each visualization should communicate
|
|
89
|
+
- Create placeholders and specifications for visual content
|
|
90
|
+
- Ensure content aligns with timing and audience needs
|
|
91
|
+
|
|
92
|
+
**Update** the plan file with drafting progress and content decisions before moving to styling.
|
|
93
|
+
|
|
94
|
+
transitions:
|
|
95
|
+
- trigger: draft_complete
|
|
96
|
+
to: style
|
|
97
|
+
additional_instructions: |
|
|
98
|
+
**Draft phase complete!** You have solid content, speaker notes, and visual planning.
|
|
99
|
+
|
|
100
|
+
Update the plan file with styling tasks and mark completed drafting work.
|
|
101
|
+
transition_reason: 'Content and speaker notes complete, ready for visual design and styling'
|
|
102
|
+
|
|
103
|
+
- trigger: need_more_structure
|
|
104
|
+
to: structure
|
|
105
|
+
additional_instructions: 'Drafting revealed issues with content organization or flow. Focus on refining the structural foundation.'
|
|
106
|
+
transition_reason: 'Content creation revealed need for better structure or organization'
|
|
107
|
+
|
|
108
|
+
- trigger: abandon_presentation
|
|
109
|
+
to: ideate
|
|
110
|
+
instructions: |
|
|
111
|
+
**Abandon drafting work** - Clean up content work and return to ideation.
|
|
112
|
+
|
|
113
|
+
The plan file and any completed work will remain for future reference.
|
|
114
|
+
additional_instructions: 'Presentation abandoned during draft phase. Clean up and prepare for new topics.'
|
|
115
|
+
transition_reason: 'User decided to abandon presentation during draft phase'
|
|
116
|
+
|
|
117
|
+
style:
|
|
118
|
+
description: 'Apply design, create visuals, and enhance presentation aesthetics'
|
|
119
|
+
default_instructions: |
|
|
120
|
+
**Apply visual design and create presentation aesthetics** to bring professional appeal and consistency:
|
|
121
|
+
|
|
122
|
+
- Evaluate presentation requirements and choose appropriate tool/platform
|
|
123
|
+
- Select themes, templates, and establish visual design approach
|
|
124
|
+
- Source existing visuals, images, and graphic elements
|
|
125
|
+
- Create detailed AI image generation prompts for missing visuals
|
|
126
|
+
- Generate or create required visual content using AI tools or other methods
|
|
127
|
+
- Apply consistent visual design, colors, and branding
|
|
128
|
+
- Ensure visual elements effectively support and enhance the content
|
|
129
|
+
- Test visual consistency across all slides/sections
|
|
130
|
+
|
|
131
|
+
**Update** the plan file with styling progress and design decisions before moving to review.
|
|
132
|
+
|
|
133
|
+
transitions:
|
|
134
|
+
- trigger: style_complete
|
|
135
|
+
to: review
|
|
136
|
+
additional_instructions: |
|
|
137
|
+
**Style phase complete!** You have a visually appealing presentation with consistent design.
|
|
138
|
+
|
|
139
|
+
Update the plan file with review tasks and mark completed styling work.
|
|
140
|
+
transition_reason: 'Visual design and styling complete, ready for content and delivery review'
|
|
141
|
+
|
|
142
|
+
- trigger: need_more_content
|
|
143
|
+
to: draft
|
|
144
|
+
additional_instructions: 'Styling work revealed gaps in content or speaker notes. Focus on completing the content foundation.'
|
|
145
|
+
transition_reason: 'Visual design revealed need for additional content or speaker note refinement'
|
|
146
|
+
|
|
147
|
+
- trigger: abandon_presentation
|
|
148
|
+
to: ideate
|
|
149
|
+
instructions: |
|
|
150
|
+
**Abandon styling work** - Clean up design work and return to ideation.
|
|
151
|
+
|
|
152
|
+
The plan file and any completed work will remain for future reference.
|
|
153
|
+
additional_instructions: 'Presentation abandoned during style phase. Clean up and prepare for new topics.'
|
|
154
|
+
transition_reason: 'User decided to abandon presentation during style phase'
|
|
155
|
+
|
|
156
|
+
review:
|
|
157
|
+
description: 'Validate content quality and presentation effectiveness'
|
|
158
|
+
default_instructions: |
|
|
159
|
+
**Validate presentation quality** by reviewing content, timing, visuals, and delivery readiness:
|
|
160
|
+
|
|
161
|
+
- Review content flow, narrative coherence, and logical progression
|
|
162
|
+
- Test presentation timing and pacing for your allocated time
|
|
163
|
+
- Verify visual quality, consistency, and professional appearance
|
|
164
|
+
- Practice delivery to identify potential issues or improvements
|
|
165
|
+
- Gather feedback from test audience, colleagues, or stakeholders
|
|
166
|
+
- Check technical setup, compatibility, and backup plans
|
|
167
|
+
- Ensure all interactive elements and visuals work correctly
|
|
168
|
+
- Refine speaker notes and delivery preparation
|
|
169
|
+
|
|
170
|
+
**Update** the plan file with review progress and refinements before moving to delivery preparation.
|
|
171
|
+
|
|
172
|
+
transitions:
|
|
173
|
+
- trigger: review_complete
|
|
174
|
+
to: deliver
|
|
175
|
+
additional_instructions: |
|
|
176
|
+
**Review phase complete!** Your presentation has been validated and refined for delivery.
|
|
177
|
+
|
|
178
|
+
Update the plan file with delivery preparation tasks and mark completed review work.
|
|
179
|
+
transition_reason: 'Presentation reviewed and validated, ready for final delivery preparation'
|
|
180
|
+
|
|
181
|
+
- trigger: need_style_changes
|
|
182
|
+
to: style
|
|
183
|
+
additional_instructions: 'Review revealed visual or design issues that need attention. Focus on addressing these styling concerns.'
|
|
184
|
+
transition_reason: 'Review process identified visual or design issues requiring style phase work'
|
|
185
|
+
|
|
186
|
+
- trigger: need_content_changes
|
|
187
|
+
to: draft
|
|
188
|
+
additional_instructions: 'Review revealed content gaps or issues that need addressing. Focus on refining the content and speaker notes.'
|
|
189
|
+
transition_reason: 'Review process identified content issues requiring draft phase work'
|
|
190
|
+
|
|
191
|
+
- trigger: abandon_presentation
|
|
192
|
+
to: ideate
|
|
193
|
+
instructions: |
|
|
194
|
+
**Abandon review work** - Clean up review work and return to ideation.
|
|
195
|
+
|
|
196
|
+
The plan file and any completed work will remain for future reference.
|
|
197
|
+
additional_instructions: 'Presentation abandoned during review phase. Clean up and prepare for new topics.'
|
|
198
|
+
transition_reason: 'User decided to abandon presentation during review phase'
|
|
199
|
+
|
|
200
|
+
deliver:
|
|
201
|
+
description: 'Prepare final presentation for delivery'
|
|
202
|
+
default_instructions: |
|
|
203
|
+
**Prepare final delivery** by exporting formats, testing setup, and ensuring flawless execution:
|
|
204
|
+
|
|
205
|
+
- Export presentation to all required formats (native, PDF, backup formats)
|
|
206
|
+
- Finalize speaker setup, notes, and delivery materials
|
|
207
|
+
- Configure and test presentation environment and technical setup
|
|
208
|
+
- Create comprehensive contingency plans for potential technical issues
|
|
209
|
+
- Conduct final rehearsal in actual delivery environment if possible
|
|
210
|
+
- Prepare handouts, follow-up materials, or additional resources
|
|
211
|
+
- Ensure all backup plans and alternatives are ready
|
|
212
|
+
- Final check of timing, flow, and delivery readiness
|
|
213
|
+
|
|
214
|
+
**Update** the plan file with delivery preparation progress to ensure successful delivery.
|
|
215
|
+
|
|
216
|
+
transitions:
|
|
217
|
+
- trigger: delivery_complete
|
|
218
|
+
to: ideate
|
|
219
|
+
additional_instructions: |
|
|
220
|
+
**Delivery phase complete!** Your presentation has been successfully delivered.
|
|
221
|
+
|
|
222
|
+
Mark all delivery tasks as complete in the plan file and prepare for new work.
|
|
223
|
+
transition_reason: 'Presentation delivery completed successfully, ready for new projects'
|
|
224
|
+
|
|
225
|
+
- trigger: need_final_review
|
|
226
|
+
to: review
|
|
227
|
+
additional_instructions: 'Final preparation revealed issues requiring additional review. Focus on addressing these concerns before delivery.'
|
|
228
|
+
transition_reason: 'Delivery preparation identified issues requiring additional review'
|
|
229
|
+
|
|
230
|
+
- trigger: abandon_presentation
|
|
231
|
+
to: ideate
|
|
232
|
+
instructions: |
|
|
233
|
+
**Abandon delivery preparation** - Clean up delivery preparation and return to ideation.
|
|
234
|
+
|
|
235
|
+
The plan file and completed work will remain for future reference.
|
|
236
|
+
additional_instructions: 'Presentation abandoned before delivery. Clean up and prepare for new topics.'
|
|
237
|
+
transition_reason: 'User decided to abandon presentation before delivery'
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'tdd'
|
|
4
|
+
description: 'Test-Driven Development workflow: Explore → Red → Green → Refactor cycle for quality-focused development'
|
|
5
|
+
initial_state: 'explore'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'code'
|
|
10
|
+
complexity: 'medium'
|
|
11
|
+
bestFor:
|
|
12
|
+
- 'TDD development'
|
|
13
|
+
- 'Test-first coding'
|
|
14
|
+
- 'Quality-focused development'
|
|
15
|
+
- 'Refactoring existing code'
|
|
16
|
+
useCases:
|
|
17
|
+
- 'Adding new features with comprehensive tests'
|
|
18
|
+
- 'Refactoring legacy code safely'
|
|
19
|
+
- 'Building robust, well-tested components'
|
|
20
|
+
examples:
|
|
21
|
+
- 'Add new API endpoint with full test coverage'
|
|
22
|
+
- 'Refactor existing function with safety net of tests'
|
|
23
|
+
- 'Build new feature following TDD principles'
|
|
24
|
+
|
|
25
|
+
# States with default instructions and transitions
|
|
26
|
+
states:
|
|
27
|
+
explore:
|
|
28
|
+
description: 'Research and exploration phase - understanding the problem space and codebase'
|
|
29
|
+
default_instructions: |
|
|
30
|
+
**STEP 1:** Gather context about what needs to be developed. Focus on the WHY and WHAT, not the HOW.
|
|
31
|
+
|
|
32
|
+
**STEP 2:** Research the codebase and understand existing patterns.
|
|
33
|
+
- Ask the user about conventions or rules if uncertain
|
|
34
|
+
- Read relevant files and documentation
|
|
35
|
+
- If `$REQUIREMENTS_DOC` exists, understand and document requirements there, otherwise document in your task management system
|
|
36
|
+
|
|
37
|
+
**STEP 3:** Document your findings and create tasks as needed.
|
|
38
|
+
- Don't write code or tests yet
|
|
39
|
+
- Focus on understanding the problem space
|
|
40
|
+
- Prepare for the RED phase of the TDD cycle
|
|
41
|
+
transitions:
|
|
42
|
+
- trigger: 'exploration_complete'
|
|
43
|
+
to: 'red'
|
|
44
|
+
additional_instructions: 'Update task progress as you complete exploration work.'
|
|
45
|
+
transition_reason: 'Sufficient understanding gained, ready to start TDD cycle with failing test'
|
|
46
|
+
|
|
47
|
+
red:
|
|
48
|
+
description: 'RED phase - Write a failing test that defines the expected behavior'
|
|
49
|
+
default_instructions: |
|
|
50
|
+
Write a failing test that defines the expected behavior for the feature.
|
|
51
|
+
|
|
52
|
+
**STEP 1:** Validate test approach with the user before writing.
|
|
53
|
+
- Determine what type of test is appropriate (unit, integration, acceptance, etc.)
|
|
54
|
+
- Confirm your test will validate the actual requirements
|
|
55
|
+
- Ensure alignment with the feature specification
|
|
56
|
+
|
|
57
|
+
**STEP 2:** Write a focused, meaningful test.
|
|
58
|
+
- Clearly define the expected behavior
|
|
59
|
+
- Will fail initially since functionality doesn't exist yet
|
|
60
|
+
- Focus on one specific aspect of the functionality
|
|
61
|
+
- Use appropriate assertions (not meaningless checks like assert(true))
|
|
62
|
+
|
|
63
|
+
**STEP 3:** Validate test failure.
|
|
64
|
+
- Run the test to confirm it fails for the right reason
|
|
65
|
+
- Document the test and expected failure mode
|
|
66
|
+
- Update task progress
|
|
67
|
+
transitions:
|
|
68
|
+
- trigger: 'test_written_and_failing'
|
|
69
|
+
to: 'green'
|
|
70
|
+
additional_instructions: 'Update task progress as you complete test writing work.'
|
|
71
|
+
transition_reason: 'Failing test successfully written and validated, ready to implement'
|
|
72
|
+
|
|
73
|
+
- trigger: 'need_more_exploration'
|
|
74
|
+
to: 'explore'
|
|
75
|
+
transition_reason: 'Test writing revealed need for more exploration'
|
|
76
|
+
|
|
77
|
+
- trigger: 'abandon_feature'
|
|
78
|
+
to: 'explore'
|
|
79
|
+
additional_instructions: 'Clean up any test artifacts and prepare for new tasks.'
|
|
80
|
+
transition_reason: 'User decided to abandon feature during test phase'
|
|
81
|
+
|
|
82
|
+
green:
|
|
83
|
+
description: 'GREEN phase - Write only the necessary code to make the test pass'
|
|
84
|
+
default_instructions: |
|
|
85
|
+
Implement the necessary code to make the failing test pass with proper functionality.
|
|
86
|
+
|
|
87
|
+
**STEP 1:** Write real, working implementation.
|
|
88
|
+
- Make the test pass with actual logic, not shortcuts
|
|
89
|
+
- Write only what's necessary (no over-engineering)
|
|
90
|
+
- Avoid dirty hacks such as hardcoded return values or meaningless assertions
|
|
91
|
+
- Focus on solving the actual problem
|
|
92
|
+
|
|
93
|
+
**STEP 2:** Validate implementation quality.
|
|
94
|
+
- Run the test to confirm it passes
|
|
95
|
+
- Verify no shortcuts or copy-paste code without understanding
|
|
96
|
+
- Ensure the solution actually solves the problem
|
|
97
|
+
- Check that logic is proper, not a bypass
|
|
98
|
+
|
|
99
|
+
**STEP 3:** Document and track progress.
|
|
100
|
+
- Document your implementation approach
|
|
101
|
+
- Update task progress
|
|
102
|
+
transitions:
|
|
103
|
+
- trigger: 'test_passing'
|
|
104
|
+
to: 'refactor'
|
|
105
|
+
additional_instructions: 'Update task progress as you complete implementation work.'
|
|
106
|
+
transition_reason: 'Test passes with proper implementation, ready for refactoring'
|
|
107
|
+
|
|
108
|
+
- trigger: 'need_different_test'
|
|
109
|
+
to: 'red'
|
|
110
|
+
transition_reason: 'Implementation work revealed need to revise the test'
|
|
111
|
+
|
|
112
|
+
- trigger: 'need_more_exploration'
|
|
113
|
+
to: 'explore'
|
|
114
|
+
transition_reason: 'Implementation work revealed need for more exploration'
|
|
115
|
+
|
|
116
|
+
- trigger: 'abandon_feature'
|
|
117
|
+
to: 'explore'
|
|
118
|
+
additional_instructions: 'Clean up any incomplete code and prepare for new tasks.'
|
|
119
|
+
transition_reason: 'User decided to abandon feature during implementation'
|
|
120
|
+
|
|
121
|
+
refactor:
|
|
122
|
+
description: 'REFACTOR phase - Improve code quality while keeping tests green (cleanup phase)'
|
|
123
|
+
default_instructions: |
|
|
124
|
+
Improve code quality while keeping all tests green. This is the cleanup phase where you enhance readability and maintainability.
|
|
125
|
+
|
|
126
|
+
**STEP 1:** Identify improvement opportunities.
|
|
127
|
+
- Remove code duplication
|
|
128
|
+
- Improve variable and function names
|
|
129
|
+
- Extract methods for better organization
|
|
130
|
+
- Simplify complex logic
|
|
131
|
+
- Apply appropriate design patterns
|
|
132
|
+
|
|
133
|
+
**STEP 2:** Make incremental improvements safely.
|
|
134
|
+
- Run tests after each refactoring change
|
|
135
|
+
- Immediately revert any change that breaks tests
|
|
136
|
+
- Make small, focused improvements
|
|
137
|
+
- Stop when code is clean with no obvious improvements remaining
|
|
138
|
+
|
|
139
|
+
**STEP 3:** Document and complete.
|
|
140
|
+
- Document significant refactoring decisions
|
|
141
|
+
- Update task progress
|
|
142
|
+
transitions:
|
|
143
|
+
- trigger: 'refactoring_complete'
|
|
144
|
+
to: 'red'
|
|
145
|
+
additional_instructions: 'Update task progress as you complete refactoring work.'
|
|
146
|
+
transition_reason: 'Code cleanup complete, ready for next TDD cycle'
|
|
147
|
+
|
|
148
|
+
- trigger: 'need_different_approach'
|
|
149
|
+
to: 'green'
|
|
150
|
+
transition_reason: 'Refactoring revealed need to revise implementation'
|
|
151
|
+
|
|
152
|
+
- trigger: 'feature_complete'
|
|
153
|
+
to: 'explore'
|
|
154
|
+
additional_instructions: 'Update task progress to reflect feature completion.'
|
|
155
|
+
transition_reason: 'Feature fully implemented and cleaned up, ready for new tasks'
|
|
156
|
+
|
|
157
|
+
- trigger: 'abandon_feature'
|
|
158
|
+
to: 'explore'
|
|
159
|
+
additional_instructions: 'Clean up any refactoring work and prepare for new tasks.'
|
|
160
|
+
transition_reason: 'User decided to abandon feature during refactoring'
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'waterfall'
|
|
4
|
+
description: 'V-Model: Specification down to test – the historical way. Ideal for larger, design-heavy tasks with well-defined requirements'
|
|
5
|
+
initial_state: 'requirements'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'code'
|
|
10
|
+
complexity: 'high'
|
|
11
|
+
bestFor:
|
|
12
|
+
- 'Large feature development'
|
|
13
|
+
- 'Complex system changes'
|
|
14
|
+
- 'Well-defined requirements'
|
|
15
|
+
- 'Design-heavy projects'
|
|
16
|
+
useCases:
|
|
17
|
+
- 'Building a new module from scratch'
|
|
18
|
+
- 'Implementing complex business logic'
|
|
19
|
+
- 'Major architectural changes'
|
|
20
|
+
examples:
|
|
21
|
+
- 'Create a new authentication system'
|
|
22
|
+
- 'Build a reporting dashboard'
|
|
23
|
+
- 'Implement a payment processing workflow'
|
|
24
|
+
requiresDocumentation: true
|
|
25
|
+
|
|
26
|
+
# States with default instructions and transitions
|
|
27
|
+
states:
|
|
28
|
+
requirements:
|
|
29
|
+
description: 'Gathering and analyzing requirements'
|
|
30
|
+
default_instructions: |
|
|
31
|
+
Familiarize yourself with the code base and understand project goals, scope, constraints, and success criteria.
|
|
32
|
+
|
|
33
|
+
- Who are the key stakeholders? (end users, business owners, technical teams)
|
|
34
|
+
- Which requirements are must-have vs nice-to-have?
|
|
35
|
+
- How will you measure success? What are the acceptance criteria?
|
|
36
|
+
- What are your time, budget, technical, or regulatory constraints?
|
|
37
|
+
- What existing systems must this integrate with?
|
|
38
|
+
|
|
39
|
+
Document all requirements in `$REQUIREMENTS_DOC`. Create actionable tasks referencing those requirements.
|
|
40
|
+
transitions:
|
|
41
|
+
- trigger: 'requirements_complete'
|
|
42
|
+
to: 'design'
|
|
43
|
+
transition_reason: 'All requirements tasks completed, moving to technical design'
|
|
44
|
+
review_perspectives:
|
|
45
|
+
- perspective: 'business_analyst'
|
|
46
|
+
prompt: 'Review requirements completeness, clarity, and business value. Ensure all stakeholder needs are captured and requirements are testable. Check for missing edge cases or unclear acceptance criteria.'
|
|
47
|
+
- perspective: 'ux_expert'
|
|
48
|
+
prompt: 'Evaluate user experience implications and usability requirements. Ensure user needs and workflows are properly defined. Identify potential UX challenges or accessibility concerns.'
|
|
49
|
+
|
|
50
|
+
design:
|
|
51
|
+
description: 'Technical design and architecture planning'
|
|
52
|
+
default_instructions: |
|
|
53
|
+
Review requirements from `$REQUIREMENTS_DOC` and design the technical solution.
|
|
54
|
+
|
|
55
|
+
Focus on HOW to implement what's needed including architecture, technologies, data models, API design, and quality goals. Clarify performance expectations and technology preferences if not already obvious from the current analysis.
|
|
56
|
+
|
|
57
|
+
Document architectural decisions in `$ARCHITECTURE_DOC` and detailed design in `$DESIGN_DOC`. Create tasks and ensure the approach is solid before implementation.
|
|
58
|
+
transitions:
|
|
59
|
+
- trigger: 'need_more_requirements'
|
|
60
|
+
to: 'requirements'
|
|
61
|
+
additional_instructions: 'Design work revealed gaps in requirements understanding. Focus on clarifying the specific requirements that are blocking design decisions.'
|
|
62
|
+
transition_reason: 'Design work revealed need for additional requirements clarification'
|
|
63
|
+
|
|
64
|
+
- trigger: 'design_complete'
|
|
65
|
+
to: 'implementation'
|
|
66
|
+
transition_reason: 'Technical design is complete, ready for implementation'
|
|
67
|
+
review_perspectives:
|
|
68
|
+
- perspective: 'architect'
|
|
69
|
+
prompt: 'Review technical architecture, design patterns, and system integration. Ensure scalability, maintainability, and alignment with existing systems. Evaluate technology choices and architectural decisions.'
|
|
70
|
+
- perspective: 'security_expert'
|
|
71
|
+
prompt: 'Evaluate security considerations, data protection, and potential vulnerabilities in the proposed design. Review authentication, authorization, data handling, and potential attack vectors.'
|
|
72
|
+
|
|
73
|
+
implementation:
|
|
74
|
+
description: 'Building the solution according to design'
|
|
75
|
+
default_instructions: |
|
|
76
|
+
Follow the architecture from `$ARCHITECTURE_DOC` and detailed design from `$DESIGN_DOC` to build the solution.
|
|
77
|
+
|
|
78
|
+
Before starting, clarify the approach:
|
|
79
|
+
- Should this be implemented incrementally or all at once? Any specific order of implementation?
|
|
80
|
+
- Are there high-risk parts that need extra validation or careful implementation?
|
|
81
|
+
|
|
82
|
+
Ensure requirements from `$REQUIREMENTS_DOC` are met. Focus on code structure, error handling, security, and maintainability. Write clean, well-documented code and include basic testing. Update task progress during implementation work.
|
|
83
|
+
transitions:
|
|
84
|
+
- trigger: 'need_design_changes'
|
|
85
|
+
to: 'design'
|
|
86
|
+
additional_instructions: "Implementation revealed issues with the current design. Consider what you've learned during coding and adjust the design accordingly. Document the changes and reasons."
|
|
87
|
+
transition_reason: 'Implementation work revealed need to revise the design'
|
|
88
|
+
|
|
89
|
+
- trigger: 'need_more_requirements'
|
|
90
|
+
to: 'requirements'
|
|
91
|
+
additional_instructions: 'Implementation revealed gaps in requirements understanding. Focus on clarifying the specific requirements that are blocking implementation.'
|
|
92
|
+
transition_reason: 'Implementation work revealed need for additional requirements'
|
|
93
|
+
|
|
94
|
+
- trigger: 'implementation_complete'
|
|
95
|
+
to: 'qa'
|
|
96
|
+
transition_reason: 'Core implementation is complete, ready for quality assurance'
|
|
97
|
+
review_perspectives:
|
|
98
|
+
- perspective: 'senior_software_developer'
|
|
99
|
+
prompt: 'Review code quality, best practices, and implementation approach. Ensure clean, maintainable, and efficient code. Check for proper error handling, logging, and code organization.'
|
|
100
|
+
- perspective: 'performance_engineer'
|
|
101
|
+
prompt: 'Assess performance implications, resource usage, and potential bottlenecks in the implementation. Review algorithms, data structures, and system resource utilization.'
|
|
102
|
+
|
|
103
|
+
qa:
|
|
104
|
+
description: 'Quality assurance and code review'
|
|
105
|
+
default_instructions: |
|
|
106
|
+
Perform systematic quality checks and code review:
|
|
107
|
+
|
|
108
|
+
**STEP 1: Automated Quality Checks**
|
|
109
|
+
- Run syntax checking tools or validate syntax manually
|
|
110
|
+
- Build the project to verify it compiles without errors
|
|
111
|
+
- Execute linting tools to ensure code style consistency
|
|
112
|
+
- Run existing tests to verify functionality
|
|
113
|
+
|
|
114
|
+
**STEP 2: Multi-Perspective Code Review**
|
|
115
|
+
Conduct code review from security, performance, UX, maintainability, and requirement compliance perspectives. Verify implementation matches `$DESIGN_DOC` specifications and fulfills targeted requirements from `$REQUIREMENTS_DOC`.
|
|
116
|
+
|
|
117
|
+
Update task progress and mark completed work during QA review.
|
|
118
|
+
transitions:
|
|
119
|
+
- trigger: 'need_implementation_fixes'
|
|
120
|
+
to: 'implementation'
|
|
121
|
+
additional_instructions: 'Quality assurance revealed issues that require code changes. Focus on the specific problems identified during QA review.'
|
|
122
|
+
transition_reason: 'QA found issues requiring implementation fixes'
|
|
123
|
+
|
|
124
|
+
- trigger: 'need_design_changes'
|
|
125
|
+
to: 'design'
|
|
126
|
+
additional_instructions: 'Quality assurance revealed fundamental design issues. Consider the QA findings and adjust the design accordingly.'
|
|
127
|
+
transition_reason: 'QA found issues requiring design changes'
|
|
128
|
+
|
|
129
|
+
- trigger: 'qa_complete'
|
|
130
|
+
to: 'testing'
|
|
131
|
+
transition_reason: 'Quality assurance is complete, ready for comprehensive testing'
|
|
132
|
+
|
|
133
|
+
testing:
|
|
134
|
+
description: 'Comprehensive testing and validation'
|
|
135
|
+
default_instructions: |
|
|
136
|
+
Create and execute comprehensive test plans to validate feature completeness.
|
|
137
|
+
|
|
138
|
+
- Write and execute tests with focus on test coverage and edge cases
|
|
139
|
+
- Conduct integration testing to ensure all components work together
|
|
140
|
+
- Validate user acceptance and ensure everything works as expected
|
|
141
|
+
transitions:
|
|
142
|
+
- trigger: 'need_implementation_fixes'
|
|
143
|
+
to: 'implementation'
|
|
144
|
+
additional_instructions: 'Testing revealed bugs or issues that require code changes. Focus on the specific problems identified during testing.'
|
|
145
|
+
transition_reason: 'Testing found issues requiring implementation fixes'
|
|
146
|
+
|
|
147
|
+
- trigger: 'need_qa_review'
|
|
148
|
+
to: 'qa'
|
|
149
|
+
additional_instructions: 'Testing revealed quality issues that need additional QA review. Focus on the specific quality concerns identified.'
|
|
150
|
+
transition_reason: 'Testing found issues requiring additional QA review'
|
|
151
|
+
|
|
152
|
+
- trigger: 'testing_complete'
|
|
153
|
+
to: 'finalize'
|
|
154
|
+
transition_reason: 'All testing is complete, feature is ready for delivery'
|
|
155
|
+
review_perspectives:
|
|
156
|
+
- perspective: 'business_analyst'
|
|
157
|
+
prompt: 'Verify that all requirements have been met and business objectives are achieved. Ensure the solution delivers the expected business value and meets acceptance criteria.'
|
|
158
|
+
- perspective: 'ux_expert'
|
|
159
|
+
prompt: 'Confirm user experience goals are met and the solution is user-friendly and accessible. Validate that user workflows are intuitive and efficient.'
|
|
160
|
+
|
|
161
|
+
finalize:
|
|
162
|
+
description: 'Code cleanup and documentation finalization'
|
|
163
|
+
default_instructions: |
|
|
164
|
+
Complete the feature by cleaning up code and updating documentation.
|
|
165
|
+
|
|
166
|
+
**STEP 1: Code Cleanup**
|
|
167
|
+
|
|
168
|
+
Remove debug output and temporary code:
|
|
169
|
+
- Search for and remove all temporary debug output statements used during development
|
|
170
|
+
- Look for language-specific debug output methods (console logging, print statements, debug output functions)
|
|
171
|
+
|
|
172
|
+
Review and address TODO/FIXME comments:
|
|
173
|
+
- Address each TODO/FIXME comment by either implementing the solution or documenting why it's deferred
|
|
174
|
+
- Remove completed TODOs
|
|
175
|
+
- Convert remaining TODOs to proper issue tracking if needed
|
|
176
|
+
|
|
177
|
+
Remove debugging code blocks:
|
|
178
|
+
- Remove temporary debugging code, test code blocks, and commented-out code
|
|
179
|
+
- Clean up any experimental code that's no longer needed
|
|
180
|
+
- Ensure proper error handling replaces temporary debug logging
|
|
181
|
+
|
|
182
|
+
**STEP 2: Documentation Review**
|
|
183
|
+
|
|
184
|
+
Review and update documentation to reflect final implementation:
|
|
185
|
+
- Update `$REQUIREMENTS_DOC` if requirements changed during development
|
|
186
|
+
- Update `$ARCHITECTURE_DOC` if architectural decisions evolved
|
|
187
|
+
- Update `$DESIGN_DOC` if design details were refined or changed
|
|
188
|
+
- Compare documentation against actual implemented functionality
|
|
189
|
+
- Only modify documentation sections that have functional changes
|
|
190
|
+
- Remove references to development iterations, progress notes, and temporary decisions
|
|
191
|
+
- Ensure documentation describes the final implemented state, not the development process
|
|
192
|
+
- Ask user to review document updates
|
|
193
|
+
|
|
194
|
+
**STEP 3: Final Validation**
|
|
195
|
+
|
|
196
|
+
- Run existing tests to ensure cleanup didn't break functionality
|
|
197
|
+
- Verify documentation accuracy with a final review
|
|
198
|
+
- Ensure code is ready for production/delivery
|
|
199
|
+
|
|
200
|
+
Update task progress and mark completed work as you finalize the feature.
|
|
201
|
+
transitions:
|
|
202
|
+
- trigger: 'need_final_changes'
|
|
203
|
+
to: 'implementation'
|
|
204
|
+
additional_instructions: 'Finalization revealed issues that require code changes. Focus on the specific problems identified during final review.'
|
|
205
|
+
transition_reason: 'Final review found issues requiring implementation changes'
|
|
206
|
+
|
|
207
|
+
- trigger: 'finalization_complete'
|
|
208
|
+
to: 'requirements'
|
|
209
|
+
transition_reason: 'Feature delivery complete, beginning new development cycle'
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Beads Integration Utilities
|
|
3
|
+
*
|
|
4
|
+
* Provides utilities for integrating with beads distributed issue tracker:
|
|
5
|
+
* - Project epic creation
|
|
6
|
+
* - Phase task management
|
|
7
|
+
* - Task hierarchy setup
|
|
8
|
+
*/
|
|
9
|
+
import { YamlState } from './state-machine-types.js';
|
|
10
|
+
export interface BeadsPhaseTask {
|
|
11
|
+
phaseId: string;
|
|
12
|
+
phaseName: string;
|
|
13
|
+
taskId: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Beads integration manager for the workflows server
|
|
17
|
+
*/
|
|
18
|
+
export declare class BeadsIntegration {
|
|
19
|
+
private projectPath;
|
|
20
|
+
constructor(projectPath: string);
|
|
21
|
+
/**
|
|
22
|
+
* Ensure beads is initialized in the project directory
|
|
23
|
+
*/
|
|
24
|
+
private ensureBeadsInitialized;
|
|
25
|
+
/**
|
|
26
|
+
* Create a project epic in beads for the development session
|
|
27
|
+
*/
|
|
28
|
+
createProjectEpic(projectName: string, workflowName: string, description?: string, planFilename?: string): Promise<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Create phase tasks for all workflow phases under the project epic
|
|
31
|
+
*/
|
|
32
|
+
createPhaseTasks(epicId: string, phases: Record<string, YamlState>, workflowName: string): Promise<BeadsPhaseTask[]>;
|
|
33
|
+
/**
|
|
34
|
+
* Create sequential dependencies between workflow phase tasks
|
|
35
|
+
* Implements graceful error handling: logs warnings for failed dependencies but continues
|
|
36
|
+
*/
|
|
37
|
+
createPhaseDependencies(phaseTasks: BeadsPhaseTask[]): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Capitalize phase name for display
|
|
40
|
+
*/
|
|
41
|
+
private capitalizePhase;
|
|
42
|
+
/**
|
|
43
|
+
* Validate parameters for epic creation
|
|
44
|
+
*/
|
|
45
|
+
private validateCreateEpicParameters;
|
|
46
|
+
/**
|
|
47
|
+
* Validate parameters for phase task creation
|
|
48
|
+
*/
|
|
49
|
+
private validateCreatePhaseParameters;
|
|
50
|
+
}
|