@codemcp/workflows 5.2.4 → 6.0.1
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 +77 -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/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/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/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,183 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'epcc'
|
|
4
|
+
description: "A comprehensive development workflow based on Anthropic's best practices: Explore, Plan, Code, Commit - ideal for smaller features and iterative development"
|
|
5
|
+
initial_state: 'explore'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'code'
|
|
10
|
+
complexity: 'medium'
|
|
11
|
+
bestFor:
|
|
12
|
+
- 'Medium-sized features'
|
|
13
|
+
- 'Iterative development'
|
|
14
|
+
- 'Research-heavy tasks'
|
|
15
|
+
- 'Exploratory coding'
|
|
16
|
+
useCases:
|
|
17
|
+
- 'Adding a new API endpoint'
|
|
18
|
+
- 'Implementing a new algorithm'
|
|
19
|
+
- 'Integrating a third-party service'
|
|
20
|
+
examples:
|
|
21
|
+
- 'Add user profile management'
|
|
22
|
+
- 'Implement search functionality'
|
|
23
|
+
- 'Create data export feature'
|
|
24
|
+
|
|
25
|
+
# States with default instructions and transitions
|
|
26
|
+
states:
|
|
27
|
+
explore:
|
|
28
|
+
description: 'Research and exploration phase - understanding the problem space'
|
|
29
|
+
default_instructions: |
|
|
30
|
+
Research the codebase to understand existing patterns and gather context about the problem space.
|
|
31
|
+
|
|
32
|
+
- If uncertain about conventions or rules, ask the user about them
|
|
33
|
+
- Read relevant files and documentation
|
|
34
|
+
- If `$REQUIREMENTS_DOC` exists: Understand and document requirements there
|
|
35
|
+
- Otherwise: Document requirements in your task management system
|
|
36
|
+
|
|
37
|
+
Focus on understanding without writing code yet. Document your findings and create tasks as needed.
|
|
38
|
+
transitions:
|
|
39
|
+
- trigger: 'exploration_complete'
|
|
40
|
+
to: 'plan'
|
|
41
|
+
additional_instructions: 'Present the plan to the user, describing the impact of the changes.'
|
|
42
|
+
transition_reason: 'Sufficient understanding gained, ready to create implementation plan'
|
|
43
|
+
|
|
44
|
+
plan:
|
|
45
|
+
description: 'Planning phase - creating a detailed implementation strategy'
|
|
46
|
+
default_instructions: |
|
|
47
|
+
Create a detailed implementation strategy based on your exploration:
|
|
48
|
+
|
|
49
|
+
- If `$REQUIREMENTS_DOC` exists: Base your strategy on requirements from it
|
|
50
|
+
- Otherwise: Use existing task context
|
|
51
|
+
|
|
52
|
+
Break down the work into specific, actionable tasks. Consider edge cases, dependencies, and potential challenges.
|
|
53
|
+
|
|
54
|
+
- If architectural changes needed and `$ARCHITECTURE_DOC` exists: Document in `$ARCHITECTURE_DOC`
|
|
55
|
+
- Otherwise: Create tasks to track architectural decisions
|
|
56
|
+
|
|
57
|
+
- If `$DESIGN_DOC` exists: Adhere to the design in it
|
|
58
|
+
- Otherwise: Elaborate design options and present them to the user
|
|
59
|
+
|
|
60
|
+
Document the planning work thoroughly and create implementation tasks as part of the code phase as needed.
|
|
61
|
+
transitions:
|
|
62
|
+
- trigger: 'need_more_exploration'
|
|
63
|
+
to: 'explore'
|
|
64
|
+
additional_instructions: 'Focus on the specific areas that need clarification and ask the user about needs and preferences.'
|
|
65
|
+
transition_reason: 'Planning work revealed need for more exploration'
|
|
66
|
+
|
|
67
|
+
- trigger: 'plan_complete'
|
|
68
|
+
to: 'code'
|
|
69
|
+
transition_reason: 'Implementation plan is complete and ready for coding'
|
|
70
|
+
review_perspectives:
|
|
71
|
+
- perspective: 'architect'
|
|
72
|
+
prompt: 'Review implementation strategy, design decisions, and integration approach for soundness and maintainability. Ensure the plan aligns with existing system architecture and follows best practices.'
|
|
73
|
+
- perspective: 'security_expert'
|
|
74
|
+
prompt: 'Assess security considerations and potential risks in the planned implementation approach. Review data handling, authentication, and potential vulnerabilities.'
|
|
75
|
+
|
|
76
|
+
- trigger: 'abandon_feature'
|
|
77
|
+
to: 'explore'
|
|
78
|
+
instructions: >
|
|
79
|
+
Feature development abandoned during planning. Return to exploration state for new tasks.
|
|
80
|
+
Task history will remain for future reference.
|
|
81
|
+
additional_instructions: 'Feature development abandoned during planning. Clean up any planning work and prepare for new tasks.'
|
|
82
|
+
transition_reason: 'User decided to abandon feature during planning phase'
|
|
83
|
+
|
|
84
|
+
code:
|
|
85
|
+
description: 'Implementation phase - writing and building the solution'
|
|
86
|
+
default_instructions: |
|
|
87
|
+
Follow your plan to build the solution:
|
|
88
|
+
|
|
89
|
+
- If `$DESIGN_DOC` exists: Follow the design from it
|
|
90
|
+
- Otherwise: Elaborate design options and present them to the user
|
|
91
|
+
- If `$ARCHITECTURE_DOC` exists: Build according to the architecture from it
|
|
92
|
+
- Otherwise: Elaborate architectural options and present them to the user
|
|
93
|
+
- If `$REQUIREMENTS_DOC` exists: Ensure requirements from it are met
|
|
94
|
+
- Otherwise: Ensure existing requirements are met based on your task context
|
|
95
|
+
|
|
96
|
+
Write clean, well-structured code with proper error handling. Prevent regression by building, linting, and executing existing tests. Stay flexible and adapt the plan as you learn more during implementation. Update task progress and create new tasks as needed.
|
|
97
|
+
transitions:
|
|
98
|
+
- trigger: 'need_replanning'
|
|
99
|
+
to: 'plan'
|
|
100
|
+
additional_instructions: "Consider what you've learned during coding and adjust the plan accordingly. Document the changes and reasons."
|
|
101
|
+
transition_reason: 'Implementation work revealed need to revise the plan'
|
|
102
|
+
|
|
103
|
+
- trigger: 'need_more_exploration'
|
|
104
|
+
to: 'explore'
|
|
105
|
+
additional_instructions: 'Focus on the specific areas that are blocking implementation progress.'
|
|
106
|
+
transition_reason: 'Implementation work revealed need for more exploration'
|
|
107
|
+
|
|
108
|
+
- trigger: 'code_complete'
|
|
109
|
+
to: 'commit'
|
|
110
|
+
transition_reason: 'Core implementation is complete, ready for finalization'
|
|
111
|
+
review_perspectives:
|
|
112
|
+
- perspective: 'senior_software_developer'
|
|
113
|
+
prompt: 'Review code quality, best practices, testing coverage, and readiness for production deployment. Ensure the implementation follows coding standards and is maintainable.'
|
|
114
|
+
- perspective: 'performance_engineer'
|
|
115
|
+
prompt: 'Evaluate performance impact, resource efficiency, and scalability of the implemented solution. Check for potential bottlenecks or optimization opportunities.'
|
|
116
|
+
|
|
117
|
+
- trigger: 'abandon_feature'
|
|
118
|
+
to: 'explore'
|
|
119
|
+
instructions: >
|
|
120
|
+
Feature development abandoned during implementation. Clean up any incomplete code and return to exploration.
|
|
121
|
+
Task history and any completed work will remain for future reference.
|
|
122
|
+
additional_instructions: 'Clean up any incomplete code and prepare for new tasks.'
|
|
123
|
+
transition_reason: 'User decided to abandon feature during implementation'
|
|
124
|
+
|
|
125
|
+
commit:
|
|
126
|
+
description: 'Code cleanup and documentation finalization'
|
|
127
|
+
default_instructions: >
|
|
128
|
+
Ensure code quality and documentation accuracy through systematic cleanup and review.
|
|
129
|
+
|
|
130
|
+
**STEP 1: Code Cleanup**
|
|
131
|
+
|
|
132
|
+
Systematically clean up development artifacts:
|
|
133
|
+
|
|
134
|
+
1. **Remove Debug Output**: Search for and remove all temporary debug output statements used during development.
|
|
135
|
+
Look for language-specific debug output methods (console logging, print statements, debug output functions).
|
|
136
|
+
Remove any debugging statements that were added for development purposes.
|
|
137
|
+
|
|
138
|
+
2. **Review TODO/FIXME Comments**:
|
|
139
|
+
- Address each TODO/FIXME comment by either implementing the solution or documenting why it's deferred
|
|
140
|
+
- Remove completed TODOs
|
|
141
|
+
- Convert remaining TODOs to proper issue tracking if needed
|
|
142
|
+
|
|
143
|
+
3. **Remove Debugging Code Blocks**:
|
|
144
|
+
- Remove temporary debugging code, test code blocks, and commented-out code
|
|
145
|
+
- Clean up any experimental code that's no longer needed
|
|
146
|
+
- Ensure proper error handling replaces temporary debug logging
|
|
147
|
+
|
|
148
|
+
**STEP 2: Documentation Review**
|
|
149
|
+
|
|
150
|
+
Review and update documentation to reflect final implementation:
|
|
151
|
+
|
|
152
|
+
1. **Update Long-Term Memory Documents**: Based on what was actually implemented:
|
|
153
|
+
- If `$REQUIREMENTS_DOC` exists: Update it if requirements changed during development
|
|
154
|
+
- If `$ARCHITECTURE_DOC` exists: Update it if architectural impacts were identified
|
|
155
|
+
- If `$DESIGN_DOC` exists: Update it if design details were refined or changed
|
|
156
|
+
- Otherwise: Document any changes in the plan file
|
|
157
|
+
2. **Compare Against Implementation**: Review documentation against actual implemented functionality
|
|
158
|
+
3. **Update Changed Sections**: Only modify documentation sections that have functional changes
|
|
159
|
+
4. **Remove Development Progress**: Remove references to development iterations, progress notes, and temporary decisions
|
|
160
|
+
5. **Focus on Final State**: Ensure documentation describes the final implemented state, not the development process
|
|
161
|
+
6. **Ask User to Review Document Updates**
|
|
162
|
+
|
|
163
|
+
**STEP 3: Final Validation**
|
|
164
|
+
|
|
165
|
+
- Run existing tests to ensure cleanup didn't break functionality
|
|
166
|
+
- Verify documentation accuracy with a final review
|
|
167
|
+
- Ensure code is ready for production/delivery
|
|
168
|
+
|
|
169
|
+
Update task progress and mark completed work as you finalize the feature.
|
|
170
|
+
transitions:
|
|
171
|
+
- trigger: 'need_code_changes'
|
|
172
|
+
to: 'code'
|
|
173
|
+
additional_instructions: 'Focus on the problems identified during final review.'
|
|
174
|
+
transition_reason: 'Final review found issues requiring code changes'
|
|
175
|
+
|
|
176
|
+
- trigger: 'commit_complete'
|
|
177
|
+
to: 'explore'
|
|
178
|
+
transition_reason: 'Feature delivery complete, ready for next task'
|
|
179
|
+
|
|
180
|
+
- trigger: 'abandon_feature'
|
|
181
|
+
to: 'explore'
|
|
182
|
+
additional_instructions: 'Clean up any finalization artifacts and prepare for new tasks.'
|
|
183
|
+
transition_reason: 'User decided to abandon feature during finalization'
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-US" dir="ltr">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<title>Responsible Vibe MCP</title>
|
|
7
|
+
<meta name="description" content="Model Context Protocol server for intelligent conversation state management and development guidance">
|
|
8
|
+
<meta name="generator" content="VitePress v1.6.4">
|
|
9
|
+
<link rel="preload stylesheet" href="/responsible-vibe-mcp/assets/style.CAgdBzOq.css" as="style">
|
|
10
|
+
<link rel="preload stylesheet" href="/responsible-vibe-mcp/vp-icons.css" as="style">
|
|
11
|
+
|
|
12
|
+
<script type="module" src="/responsible-vibe-mcp/assets/app.Dz3lZH3M.js"></script>
|
|
13
|
+
<link rel="preload" href="/responsible-vibe-mcp/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
14
|
+
<link rel="modulepreload" href="/responsible-vibe-mcp/assets/chunks/theme.q5Ewb3F1.js">
|
|
15
|
+
<link rel="modulepreload" href="/responsible-vibe-mcp/assets/chunks/framework.DZS7lpav.js">
|
|
16
|
+
<link rel="modulepreload" href="/responsible-vibe-mcp/assets/workflows_game-beginner.md.CNxzWLtd.lean.js">
|
|
17
|
+
<link rel="icon" href="/responsible-vibe-mcp/favicon.ico">
|
|
18
|
+
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
19
|
+
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
20
|
+
</head>
|
|
21
|
+
<body>
|
|
22
|
+
<div id="app"><div style="position:relative;" data-v-c1df4d5c><div><div id="workflow-visualizer-app" class="" data-v-b5ec7de4><!----><main class="app-main"><div class="diagram-container"><div id="diagram-canvas" class="diagram-canvas"><div class="loading-message">Loading workflow...</div></div></div><aside class="side-panel"><div class="side-panel-header"><h2>Details</h2></div><div class="side-panel-content"><div class="empty-state"> Click on a state or transition to see details </div></div></aside></main><div id="error-container" class="error-container hidden"><div class="error-message"><span class="error-text"></span><button class="error-close">×</button></div></div></div></div></div></div>
|
|
23
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"dev_architecture.md\":\"da_vFDwM\",\"dev_development.md\":\"DWl9cccE\",\"dev_logging.md\":\"BebvbW7z\",\"dev_publishing.md\":\"CQqbiIOF\",\"index.md\":\"D6ROLohf\",\"user_advanced-engineering.md\":\"MkETYNtq\",\"user_agent-setup.md\":\"B54OLL2H\",\"user_beads-integration.md\":\"BzdR5Fif\",\"user_crowd-mcp-integration.md\":\"C15kSdIJ\",\"user_custom-workflows.md\":\"Cz4IYCXa\",\"user_git-commit-feature.md\":\"UcTvDR-O\",\"user_how-it-works.md\":\"DiOXNgaL\",\"user_long-term-memory.md\":\"DZh0tjNa\",\"user_packaged-workflows.md\":\"s1HT89ZU\",\"user_tutorial.md\":\"Dmj8zLB2\",\"user_workflow-selection.md\":\"CrPGw9Hr\",\"workflows.md\":\"Bm5sGt3u\",\"workflows_adr.md\":\"DEaXkbRp\",\"workflows_big-bang-conversion.md\":\"BA5R1LxZ\",\"workflows_boundary-testing.md\":\"DBcYnMhx\",\"workflows_bugfix.md\":\"CZRCL0Hp\",\"workflows_business-analysis.md\":\"fGLml8Hw\",\"workflows_c4-analysis.md\":\"Dnssqzuf\",\"workflows_epcc.md\":\"M6DnIhpp\",\"workflows_game-beginner.md\":\"CNxzWLtd\",\"workflows_greenfield.md\":\"vx_g-WOe\",\"workflows_minor.md\":\"DdnfwMf4\",\"workflows_posts.md\":\"SOldXvq7\",\"workflows_sdd-bugfix-crowd.md\":\"-lSf42gJ\",\"workflows_sdd-bugfix.md\":\"oRAsEVbc\",\"workflows_sdd-feature-crowd.md\":\"DAtnfCAd\",\"workflows_sdd-feature.md\":\"Ce3-H_g3\",\"workflows_sdd-greenfield-crowd.md\":\"8DUvcmLe\",\"workflows_sdd-greenfield.md\":\"eEN6U0J4\",\"workflows_slides.md\":\"Cqt-19_1\",\"workflows_tdd.md\":\"BjVC69tu\",\"workflows_waterfall.md\":\"CL6jTZP9\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Responsible Vibe MCP\",\"description\":\"Model Context Protocol server for intelligent conversation state management and development guidance\",\"base\":\"/responsible-vibe-mcp/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Documentation\",\"link\":\"/\"},{\"text\":\"Workflows\",\"link\":\"/workflows\"},{\"text\":\"Github\",\"link\":\"https://github.com/mrsimpson/responsible-vibe-mcp\"}],\"sidebar\":[{\"text\":\"User Guide\",\"items\":[{\"text\":\"Overview\",\"link\":\"/\"},{\"text\":\"How It Works\",\"link\":\"/user/how-it-works\"},{\"text\":\"Agent Setup\",\"link\":\"/user/agent-setup\"},{\"text\":\"Vibe Engineering\",\"link\":\"/user/advanced-engineering\"},{\"text\":\"Long-Term Memory\",\"link\":\"/user/long-term-memory\"},{\"text\":\"Beads-Integration\",\"link\":\"/user/beads-integration\"},{\"text\":\"Tutorial\",\"link\":\"/user/tutorial\"}]},{\"text\":\"Workflows\",\"items\":[{\"text\":\"Workflow-Selection\",\"link\":\"/user/workflow-selection\"},{\"text\":\"Packaged Workflows\",\"link\":\"/user/packaged-workflows\"},{\"text\":\"Custom Workflows\",\"link\":\"/user/custom-workflows\"},{\"text\":\"Explore All Workflows\",\"link\":\"/workflows\"},{\"text\":\"Crowd MCP Integration\",\"link\":\"/user/crowd-mcp-integration\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
|
|
24
|
+
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'game'
|
|
4
|
+
description: 'Educational game development workflow for children (ages 8-12): Learn to build games step-by-step with guidance, frequent reviews, explanations, and fun!'
|
|
5
|
+
initial_state: 'constitution'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'children'
|
|
10
|
+
complexity: 'medium'
|
|
11
|
+
bestFor:
|
|
12
|
+
- 'Children learning game development'
|
|
13
|
+
- 'First-time game creators (ages 8-12)'
|
|
14
|
+
- 'Educational game projects'
|
|
15
|
+
- 'Learning programming through games'
|
|
16
|
+
useCases:
|
|
17
|
+
- 'Building your first video game'
|
|
18
|
+
- 'Learning game development concepts'
|
|
19
|
+
- 'Creating simple 2D games'
|
|
20
|
+
examples:
|
|
21
|
+
- 'Build a space shooter game'
|
|
22
|
+
- 'Create a platformer game'
|
|
23
|
+
- 'Make a simple puzzle game'
|
|
24
|
+
requiresDocumentation: true
|
|
25
|
+
|
|
26
|
+
# States with default instructions and transitions
|
|
27
|
+
states:
|
|
28
|
+
constitution:
|
|
29
|
+
description: 'Set up project documentation with game development principles'
|
|
30
|
+
default_instructions: |
|
|
31
|
+
**STEP 1: Check for Existing Documentation**
|
|
32
|
+
|
|
33
|
+
Verify whether project documentation exists in `.vibe/docs/`:
|
|
34
|
+
- `requirements.md`
|
|
35
|
+
- `architecture.md`
|
|
36
|
+
- `design.md`
|
|
37
|
+
|
|
38
|
+
**Conditional Actions:**
|
|
39
|
+
- If documentation exists: Skip ahead to imagine phase (the child already understands the importance of notes)
|
|
40
|
+
- If documentation missing: Proceed to set up documents
|
|
41
|
+
|
|
42
|
+
**STEP 2: Create Project Documentation (REQUIRED)**
|
|
43
|
+
|
|
44
|
+
Call `setup_project_docs()` with these parameters:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
setup_project_docs({
|
|
48
|
+
requirements: "game-requirements",
|
|
49
|
+
architecture: "game-architecture",
|
|
50
|
+
design: "game-design"
|
|
51
|
+
})
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
This creates three child-friendly documents in `.vibe/docs/`:
|
|
55
|
+
- `requirements.md` - Game development principles and what we're building
|
|
56
|
+
- `architecture.md` - Platform choice and code structure
|
|
57
|
+
- `design.md` - Features and how to implement them
|
|
58
|
+
|
|
59
|
+
**These documents are your long-term memory for this project!**
|
|
60
|
+
|
|
61
|
+
**STEP 3: Explain the Helper Documents**
|
|
62
|
+
|
|
63
|
+
After calling `setup_project_docs()`, explain what was created:
|
|
64
|
+
|
|
65
|
+
"Hi! I'm so excited to help you build your first game! 🎮
|
|
66
|
+
|
|
67
|
+
I just created three special helper documents for us. Think of them like a smart notebook
|
|
68
|
+
that remembers everything we decide while building your game!
|
|
69
|
+
|
|
70
|
+
- **Game Development Principles** - Our rules for making awesome games! Like: Start small, test often, and celebrate every win!
|
|
71
|
+
- **Game Architecture** - Where we'll write down HOW to build your game (what platform to use, how to organize the code)
|
|
72
|
+
- **Game Design** - Our plan for WHAT features to create and in what order
|
|
73
|
+
|
|
74
|
+
These documents are like our game's memory! Every time we make an important decision,
|
|
75
|
+
we'll write it down so we never forget. 🧠
|
|
76
|
+
|
|
77
|
+
Ready to start dreaming up your game idea?"
|
|
78
|
+
|
|
79
|
+
**STEP 4: Verify Understanding**
|
|
80
|
+
|
|
81
|
+
Ask: "Do you understand what these helper documents are for? Any questions before we start?"
|
|
82
|
+
|
|
83
|
+
Wait for the child's response. Answer any questions patiently. Only proceed when they're ready.
|
|
84
|
+
|
|
85
|
+
**Guidelines:**
|
|
86
|
+
- Keep explanations simple and enthusiastic
|
|
87
|
+
- Use the analogy of a "smart notebook" or "game's memory"
|
|
88
|
+
- Avoid technical details about templates or file structure
|
|
89
|
+
- Focus on WHY we have documents (to remember decisions)
|
|
90
|
+
|
|
91
|
+
transitions:
|
|
92
|
+
- trigger: 'docs_ready'
|
|
93
|
+
to: 'imagine'
|
|
94
|
+
additional_instructions: |
|
|
95
|
+
Translate all created documents completely into the children's language
|
|
96
|
+
transition_reason: 'Project documentation initialized, ready to imagine the game'
|
|
97
|
+
|
|
98
|
+
imagine:
|
|
99
|
+
description: 'Dream phase - describe the game you want to create'
|
|
100
|
+
default_instructions: |
|
|
101
|
+
**STEP 1: Gather Game Ideas**
|
|
102
|
+
|
|
103
|
+
Ask the child to describe their game using open-ended questions:
|
|
104
|
+
- "What kind of game do you want to make?"
|
|
105
|
+
- "What does the player do in your game?"
|
|
106
|
+
- "What makes it fun?"
|
|
107
|
+
- "What games do you like that are similar?"
|
|
108
|
+
|
|
109
|
+
**STEP 2: Apply "Start Small, Dream Big" Principle**
|
|
110
|
+
|
|
111
|
+
When they describe complex concepts (like "Minecraft" or "Fortnite"):
|
|
112
|
+
- Respond: "That's an AMAZING idea!"
|
|
113
|
+
- Guide them: "Big games like that are built in small pieces. What's the ONE most fun thing in your game?"
|
|
114
|
+
- Refocus: "Let's build that part first, then add more later!"
|
|
115
|
+
|
|
116
|
+
**STEP 3: Document the Game Idea**
|
|
117
|
+
|
|
118
|
+
Update `$REQUIREMENTS_DOC` with:
|
|
119
|
+
- Game concept and type
|
|
120
|
+
- Main goal
|
|
121
|
+
- What makes it fun
|
|
122
|
+
- Version 1 features (3-5 simple features)
|
|
123
|
+
- Future ideas (complex features for later)
|
|
124
|
+
|
|
125
|
+
**STEP 4: Confirm Understanding**
|
|
126
|
+
|
|
127
|
+
Summarize back to the child:
|
|
128
|
+
|
|
129
|
+
"So you want to build a game where [summarize their idea]. That sounds AWESOME!
|
|
130
|
+
For Version 1, let's build: [list 3-5 simple features]."
|
|
131
|
+
|
|
132
|
+
Ask: "Did I understand your idea correctly? Is there anything else you want to tell me
|
|
133
|
+
about your game before we figure out HOW to build it?"
|
|
134
|
+
|
|
135
|
+
Wait for confirmation. Adjust if needed. Only proceed when they're happy with the plan.
|
|
136
|
+
|
|
137
|
+
transitions:
|
|
138
|
+
- trigger: 'idea_captured'
|
|
139
|
+
to: 'architecture'
|
|
140
|
+
additional_instructions: |
|
|
141
|
+
Awesome game idea! 🌟
|
|
142
|
+
Now let's figure out WHERE and HOW we'll build it!
|
|
143
|
+
transition_reason: 'Game idea documented in requirements, ready for technical planning'
|
|
144
|
+
|
|
145
|
+
architecture:
|
|
146
|
+
description: 'Choose platform and design the technical structure'
|
|
147
|
+
default_instructions: |
|
|
148
|
+
**STEP 1: Understand Game Concept**
|
|
149
|
+
|
|
150
|
+
Read `$REQUIREMENTS_DOC` to understand the game concept and features.
|
|
151
|
+
|
|
152
|
+
**STEP 2: Choose the Platform**
|
|
153
|
+
|
|
154
|
+
Ask the child: "Where do you want to play your game?"
|
|
155
|
+
- "In a web browser?" → HTML5/JavaScript
|
|
156
|
+
- "As a program on your computer?" → Python/Pygame
|
|
157
|
+
|
|
158
|
+
Explain each option in simple terms:
|
|
159
|
+
- **Browser**: Write code, works anywhere, more visual control
|
|
160
|
+
- **Python**: Desktop game, requires Python knowledge
|
|
161
|
+
|
|
162
|
+
**STEP 3: Update Architecture Documentation**
|
|
163
|
+
|
|
164
|
+
Document in `$ARCHITECTURE_DOC`:
|
|
165
|
+
- Platform decision and why
|
|
166
|
+
- Main game components (Player, Enemy, Game Manager, etc.)
|
|
167
|
+
- Simple ASCII diagram showing component connections
|
|
168
|
+
- OOP concepts explained simply (classes as blueprints)
|
|
169
|
+
- File organization for chosen platform
|
|
170
|
+
- State/Mechanics/Presentation separation
|
|
171
|
+
|
|
172
|
+
**STEP 4: Set Up Development Environment**
|
|
173
|
+
|
|
174
|
+
Configure quality tools based on platform choice:
|
|
175
|
+
|
|
176
|
+
**For HTML5/JavaScript:**
|
|
177
|
+
- Install ESLint, Prettier, Husky
|
|
178
|
+
- Configure scripts in package.json
|
|
179
|
+
|
|
180
|
+
**For Python:**
|
|
181
|
+
- Create virtual environment
|
|
182
|
+
- Install Ruff
|
|
183
|
+
|
|
184
|
+
**STEP 5: Explain Platform Architecture to Child**
|
|
185
|
+
|
|
186
|
+
"I figured out HOW we'll build your game!
|
|
187
|
+
|
|
188
|
+
We're using [PLATFORM] because [REASON].
|
|
189
|
+
|
|
190
|
+
Your game will have these main parts:
|
|
191
|
+
- [COMPONENT_1] - like [SIMPLE_ANALOGY]
|
|
192
|
+
- [COMPONENT_2] - like [SIMPLE_ANALOGY]
|
|
193
|
+
- [COMPONENT_3] - like [SIMPLE_ANALOGY]
|
|
194
|
+
|
|
195
|
+
I also set up helper tools that check your code automatically - like spell-check for code!"
|
|
196
|
+
|
|
197
|
+
**STEP 6: Verify Understanding**
|
|
198
|
+
|
|
199
|
+
Ask: "Does that make sense? Do you understand how these pieces will work together?
|
|
200
|
+
Any questions before we plan out WHAT features to build?"
|
|
201
|
+
|
|
202
|
+
Wait for confirmation before proceeding.
|
|
203
|
+
|
|
204
|
+
transitions:
|
|
205
|
+
- trigger: 'architecture_complete'
|
|
206
|
+
to: 'design'
|
|
207
|
+
additional_instructions: |
|
|
208
|
+
Great! We have set the foundation for your game! 🏗️
|
|
209
|
+
Now let's plan out how we're going to build it!
|
|
210
|
+
transition_reason: 'Technical architecture complete, ready for detailed design'
|
|
211
|
+
|
|
212
|
+
design:
|
|
213
|
+
description: 'Plan features and implementation strategy'
|
|
214
|
+
default_instructions: |
|
|
215
|
+
**STEP 1: Review Requirements and Architecture**
|
|
216
|
+
|
|
217
|
+
Read `$REQUIREMENTS_DOC` and `$ARCHITECTURE_DOC` to understand what we're building and the technical foundation.
|
|
218
|
+
|
|
219
|
+
**STEP 2: Select Libraries and Dependencies**
|
|
220
|
+
|
|
221
|
+
Choose appropriate libraries based on requirements (e.g., physics engines, platformer frameworks).
|
|
222
|
+
|
|
223
|
+
Document in `$DESIGN_DOC`:
|
|
224
|
+
- Which libraries will be used
|
|
225
|
+
- Why each library was chosen
|
|
226
|
+
|
|
227
|
+
**STEP 3: Design Major Features**
|
|
228
|
+
|
|
229
|
+
Update `$DESIGN_DOC` with detailed designs for each major feature:
|
|
230
|
+
- What it does (from player perspective)
|
|
231
|
+
- How it works (technical implementation)
|
|
232
|
+
- State/Mechanics/Presentation separation
|
|
233
|
+
|
|
234
|
+
**IMPORTANT: Create file structures (single responsibility) without writing full code yet!**
|
|
235
|
+
|
|
236
|
+
**STEP 4: Explain Technology Choices to Child**
|
|
237
|
+
|
|
238
|
+
"We've selected the technologies we'll use to build your game.
|
|
239
|
+
|
|
240
|
+
This might sound technical, but as you gain experience, picking the right tools gets easier!
|
|
241
|
+
I've helped you make these decisions because my creator shared what works best for beginners like you.
|
|
242
|
+
|
|
243
|
+
You can review the design.md in the `.vibe/docs` folder to see what we picked and why."
|
|
244
|
+
|
|
245
|
+
**STEP 5: Verify Understanding**
|
|
246
|
+
|
|
247
|
+
Wait for the child's confirmation before proceeding to implementation.
|
|
248
|
+
|
|
249
|
+
transitions:
|
|
250
|
+
- trigger: 'design_complete'
|
|
251
|
+
to: 'code'
|
|
252
|
+
additional_instructions: |
|
|
253
|
+
Perfect! We have our plan! 🎯
|
|
254
|
+
We'll be doing this step by step: After each major part we built, we will review it together to make sure you understand everything!
|
|
255
|
+
transition_reason: 'Detailed design complete, ready to implement'
|
|
256
|
+
|
|
257
|
+
code:
|
|
258
|
+
description: 'Build the game incrementally with frequent reviews'
|
|
259
|
+
default_instructions: |
|
|
260
|
+
**STEP 1: Follow Implementation Plan**
|
|
261
|
+
|
|
262
|
+
Use `$DESIGN_DOC` for implementation order and `$ARCHITECTURE_DOC` for code structure.
|
|
263
|
+
|
|
264
|
+
**STEP 2: Build One Feature at a Time**
|
|
265
|
+
|
|
266
|
+
Implement features incrementally, testing each one thoroughly before moving to the next.
|
|
267
|
+
|
|
268
|
+
**CRITICAL: Transition to review phase after completing each major feature**
|
|
269
|
+
|
|
270
|
+
Call `proceed_to_phase('review')` after each completed task from the plan.
|
|
271
|
+
transitions:
|
|
272
|
+
- trigger: 'feature_complete'
|
|
273
|
+
to: 'review'
|
|
274
|
+
additional_instructions: |
|
|
275
|
+
Feature complete! Let's review what we just built! 🎉
|
|
276
|
+
transition_reason: 'Major feature completed, time for incremental review'
|
|
277
|
+
|
|
278
|
+
- trigger: 'game_complete'
|
|
279
|
+
to: 'celebrate'
|
|
280
|
+
additional_instructions: |
|
|
281
|
+
The entire game is done! Time to celebrate! 🎊
|
|
282
|
+
transition_reason: 'All features complete, game is finished'
|
|
283
|
+
|
|
284
|
+
review:
|
|
285
|
+
description: 'Review and understand what was just built'
|
|
286
|
+
default_instructions: |
|
|
287
|
+
**STEP 1: Summarize the Feature**
|
|
288
|
+
|
|
289
|
+
Describe the completed feature in one sentence:
|
|
290
|
+
- "We just added player movement!"
|
|
291
|
+
- "We just made enemies appear and move!"
|
|
292
|
+
- "We just added collision detection!"
|
|
293
|
+
|
|
294
|
+
**STEP 2: Show Key Code Changes**
|
|
295
|
+
|
|
296
|
+
Highlight 2-3 key parts of the code and explain each clearly. Encourage the child to open their code editor and follow along.
|
|
297
|
+
|
|
298
|
+
Example explanation:
|
|
299
|
+
|
|
300
|
+
"Let me show you the important parts of what we just built:
|
|
301
|
+
|
|
302
|
+
1. **Keyboard Listener** - This is like a sensor that detects when you press arrow keys
|
|
303
|
+
[Show the code]
|
|
304
|
+
|
|
305
|
+
2. **Movement Logic** - This changes the player's position when keys are pressed
|
|
306
|
+
[Show the code]
|
|
307
|
+
|
|
308
|
+
3. **Boundary Check** - This keeps the player from going off the screen
|
|
309
|
+
[Show the code]"
|
|
310
|
+
|
|
311
|
+
Use simple analogies to explain concepts:
|
|
312
|
+
- Event listeners = sensors
|
|
313
|
+
- Variables = boxes that store information
|
|
314
|
+
- Functions = recipes that do specific jobs
|
|
315
|
+
- Classes = blueprints or instruction manuals
|
|
316
|
+
|
|
317
|
+
**STEP 3: Demonstrate the Feature**
|
|
318
|
+
|
|
319
|
+
Run the game and show the new feature working:
|
|
320
|
+
"Let's test it! Try pressing the arrow keys..."
|
|
321
|
+
|
|
322
|
+
**STEP 4: Celebrate the Achievement**
|
|
323
|
+
|
|
324
|
+
Encourage the child: "You just built [FEATURE]! That's a real game programming skill! 🌟"
|
|
325
|
+
|
|
326
|
+
**STEP 5: Check Understanding**
|
|
327
|
+
|
|
328
|
+
Ask: "Do you understand how this works? Want me to explain any part again?"
|
|
329
|
+
|
|
330
|
+
Wait for response and answer questions patiently.
|
|
331
|
+
|
|
332
|
+
**STEP 6: Plan Next Steps**
|
|
333
|
+
|
|
334
|
+
Ask: "Ready to build the next feature? Or do you need a break?"
|
|
335
|
+
|
|
336
|
+
**Conditional Next Actions:**
|
|
337
|
+
- If ready to continue: Transition to 'code' with 'continue_coding' trigger
|
|
338
|
+
- If game is complete: Transition to 'celebrate' with 'game_complete' trigger
|
|
339
|
+
|
|
340
|
+
transitions:
|
|
341
|
+
- trigger: 'continue_coding'
|
|
342
|
+
to: 'code'
|
|
343
|
+
additional_instructions: |
|
|
344
|
+
Great! Let's build the next feature! 🚀
|
|
345
|
+
transition_reason: 'Child understands current feature, ready to continue'
|
|
346
|
+
review_perspectives:
|
|
347
|
+
- perspective: 'quiz-master'
|
|
348
|
+
prompt: |
|
|
349
|
+
You are a friendly quiz master helping a child explore and understand their code!
|
|
350
|
+
|
|
351
|
+
Ask 2-3 exploratory questions that make them FIND things in the code:
|
|
352
|
+
|
|
353
|
+
**Good Questions (make them explore):**
|
|
354
|
+
- "Can you find the line where we check if the spacebar was pressed? What does it say?"
|
|
355
|
+
- "Look for the variable that holds the player's score. What's it called?"
|
|
356
|
+
- "Find the Enemy class - what happens when an enemy reaches the bottom of the screen?"
|
|
357
|
+
- "Can you spot where we draw the player on the screen? Show me that function!"
|
|
358
|
+
|
|
359
|
+
**Bad Questions (too abstract):**
|
|
360
|
+
- ❌ "What is a variable?"
|
|
361
|
+
- ❌ "Explain object-oriented programming"
|
|
362
|
+
- ❌ "What does this function return?"
|
|
363
|
+
|
|
364
|
+
**Important:**
|
|
365
|
+
- Make it a treasure hunt, not a test!
|
|
366
|
+
- If they can't find it, give hints: "Look in the Player class..."
|
|
367
|
+
- Celebrate when they find it: "Yes! That's it! 🎉"
|
|
368
|
+
- The goal is active code exploration, not memorization
|
|
369
|
+
- Keep it fun and encouraging!
|
|
370
|
+
|
|
371
|
+
- trigger: 'game_complete'
|
|
372
|
+
to: 'celebrate'
|
|
373
|
+
additional_instructions: |
|
|
374
|
+
All features are done! Time for the final celebration! 🎊
|
|
375
|
+
transition_reason: 'All features complete and understood'
|
|
376
|
+
|
|
377
|
+
celebrate:
|
|
378
|
+
description: 'Celebrate the completed game and reflect on learning'
|
|
379
|
+
default_instructions: |
|
|
380
|
+
**STEP 1: Play the Complete Game**
|
|
381
|
+
|
|
382
|
+
Celebrate with the child: "Let's play your finished game together! You built this!"
|
|
383
|
+
|
|
384
|
+
Let them play and enjoy their creation.
|
|
385
|
+
|
|
386
|
+
**STEP 2: Celebrate the Achievement**
|
|
387
|
+
|
|
388
|
+
Be enthusiastic and genuinely celebrate their work:
|
|
389
|
+
|
|
390
|
+
"You just built a REAL game! You're a game developer now! 🌟
|
|
391
|
+
|
|
392
|
+
Think about everything you learned:
|
|
393
|
+
- How to plan a game
|
|
394
|
+
- How to organize code (classes, state, mechanics, presentation)
|
|
395
|
+
- How to make things move on screen
|
|
396
|
+
- How to detect collisions
|
|
397
|
+
- How to add scoring and game rules
|
|
398
|
+
|
|
399
|
+
That's AMAZING! Many adults don't know how to do this!"
|
|
400
|
+
|
|
401
|
+
**STEP 3: Reflect on Learning**
|
|
402
|
+
|
|
403
|
+
Ask the child:
|
|
404
|
+
- "What was the hardest part of building this game?"
|
|
405
|
+
- "What was the most fun part?"
|
|
406
|
+
- "What are you most proud of?"
|
|
407
|
+
|
|
408
|
+
**STEP 4: Explore Future Ideas**
|
|
409
|
+
|
|
410
|
+
Ask: "Now that you've built Version 1, what would you want to add next?"
|
|
411
|
+
|
|
412
|
+
Review the "Future Ideas" list from `$REQUIREMENTS_DOC`.
|
|
413
|
+
|
|
414
|
+
**STEP 5: Document the Achievement**
|
|
415
|
+
|
|
416
|
+
Update the plan file with:
|
|
417
|
+
- Game completion date
|
|
418
|
+
- What was learned
|
|
419
|
+
- What the child wants to build next
|
|
420
|
+
- Any notes for future sessions
|
|
421
|
+
|
|
422
|
+
**STEP 6: Encourage Next Steps**
|
|
423
|
+
|
|
424
|
+
"You can keep building on this game, or start a new one!
|
|
425
|
+
You now have the skills to make ANY simple game you can imagine!"
|
|
426
|
+
|
|
427
|
+
**Congratulations, young game developer! 🚀**
|
|
428
|
+
|
|
429
|
+
transitions:
|
|
430
|
+
- trigger: 'enhance_game'
|
|
431
|
+
to: 'imagine'
|
|
432
|
+
additional_instructions: |
|
|
433
|
+
copy the development plan to a new file. Also move the existing conversation in .vibe to .vibe/archive
|
|
434
|
+
transition_reason: 'Adding features to existing game'
|