claude-code-workflow 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/action-planning-agent.md +778 -0
- package/.claude/agents/cli-execution-agent.md +270 -0
- package/.claude/agents/cli-explore-agent.md +182 -0
- package/.claude/agents/cli-lite-planning-agent.md +396 -0
- package/.claude/agents/cli-planning-agent.md +558 -0
- package/.claude/agents/code-developer.md +310 -0
- package/.claude/agents/conceptual-planning-agent.md +308 -0
- package/.claude/agents/context-search-agent.md +582 -0
- package/.claude/agents/doc-generator.md +330 -0
- package/.claude/agents/memory-bridge.md +94 -0
- package/.claude/agents/test-context-search-agent.md +399 -0
- package/.claude/agents/test-fix-agent.md +343 -0
- package/.claude/agents/ui-design-agent.md +593 -0
- package/.claude/agents/universal-executor.md +131 -0
- package/.claude/commands/cli/cli-init.md +440 -0
- package/.claude/commands/enhance-prompt.md +93 -0
- package/.claude/commands/memory/code-map-memory.md +687 -0
- package/.claude/commands/memory/docs-full-cli.md +471 -0
- package/.claude/commands/memory/docs-related-cli.md +386 -0
- package/.claude/commands/memory/docs.md +615 -0
- package/.claude/commands/memory/load-skill-memory.md +182 -0
- package/.claude/commands/memory/load.md +240 -0
- package/.claude/commands/memory/skill-memory.md +525 -0
- package/.claude/commands/memory/style-skill-memory.md +396 -0
- package/.claude/commands/memory/tech-research.md +477 -0
- package/.claude/commands/memory/update-full.md +332 -0
- package/.claude/commands/memory/update-related.md +332 -0
- package/.claude/commands/memory/workflow-skill-memory.md +517 -0
- package/.claude/commands/task/breakdown.md +204 -0
- package/.claude/commands/task/create.md +152 -0
- package/.claude/commands/task/execute.md +270 -0
- package/.claude/commands/task/replan.md +437 -0
- package/.claude/commands/version.md +254 -0
- package/.claude/commands/workflow/action-plan-verify.md +447 -0
- package/.claude/commands/workflow/brainstorm/api-designer.md +585 -0
- package/.claude/commands/workflow/brainstorm/artifacts.md +452 -0
- package/.claude/commands/workflow/brainstorm/auto-parallel.md +443 -0
- package/.claude/commands/workflow/brainstorm/data-architect.md +220 -0
- package/.claude/commands/workflow/brainstorm/product-manager.md +200 -0
- package/.claude/commands/workflow/brainstorm/product-owner.md +200 -0
- package/.claude/commands/workflow/brainstorm/scrum-master.md +200 -0
- package/.claude/commands/workflow/brainstorm/subject-matter-expert.md +200 -0
- package/.claude/commands/workflow/brainstorm/synthesis.md +398 -0
- package/.claude/commands/workflow/brainstorm/system-architect.md +387 -0
- package/.claude/commands/workflow/brainstorm/ui-designer.md +221 -0
- package/.claude/commands/workflow/brainstorm/ux-expert.md +221 -0
- package/.claude/commands/workflow/execute.md +460 -0
- package/.claude/commands/workflow/init.md +164 -0
- package/.claude/commands/workflow/lite-execute.md +686 -0
- package/.claude/commands/workflow/lite-fix.md +621 -0
- package/.claude/commands/workflow/lite-plan.md +592 -0
- package/.claude/commands/workflow/plan.md +551 -0
- package/.claude/commands/workflow/replan.md +515 -0
- package/.claude/commands/workflow/review-fix.md +646 -0
- package/.claude/commands/workflow/review-module-cycle.md +795 -0
- package/.claude/commands/workflow/review-session-cycle.md +805 -0
- package/.claude/commands/workflow/review.md +291 -0
- package/.claude/commands/workflow/session/complete.md +500 -0
- package/.claude/commands/workflow/session/list.md +96 -0
- package/.claude/commands/workflow/session/resume.md +61 -0
- package/.claude/commands/workflow/session/start.md +200 -0
- package/.claude/commands/workflow/status.md +352 -0
- package/.claude/commands/workflow/tdd-plan.md +460 -0
- package/.claude/commands/workflow/tdd-verify.md +386 -0
- package/.claude/commands/workflow/test-cycle-execute.md +498 -0
- package/.claude/commands/workflow/test-fix-gen.md +699 -0
- package/.claude/commands/workflow/test-gen.md +529 -0
- package/.claude/commands/workflow/tools/conflict-resolution.md +680 -0
- package/.claude/commands/workflow/tools/context-gather.md +434 -0
- package/.claude/commands/workflow/tools/task-generate-agent.md +291 -0
- package/.claude/commands/workflow/tools/task-generate-tdd.md +518 -0
- package/.claude/commands/workflow/tools/tdd-coverage-analysis.md +309 -0
- package/.claude/commands/workflow/tools/test-concept-enhanced.md +163 -0
- package/.claude/commands/workflow/tools/test-context-gather.md +235 -0
- package/.claude/commands/workflow/tools/test-task-generate.md +256 -0
- package/.claude/commands/workflow/ui-design/animation-extract.md +1150 -0
- package/.claude/commands/workflow/ui-design/codify-style.md +652 -0
- package/.claude/commands/workflow/ui-design/design-sync.md +454 -0
- package/.claude/commands/workflow/ui-design/explore-auto.md +678 -0
- package/.claude/commands/workflow/ui-design/generate.md +504 -0
- package/.claude/commands/workflow/ui-design/imitate-auto.md +745 -0
- package/.claude/commands/workflow/ui-design/import-from-code.md +537 -0
- package/.claude/commands/workflow/ui-design/layout-extract.md +788 -0
- package/.claude/commands/workflow/ui-design/reference-page-generator.md +356 -0
- package/.claude/commands/workflow/ui-design/style-extract.md +773 -0
- package/.claude/scripts/classify-folders.sh +35 -0
- package/.claude/scripts/convert_tokens_to_css.sh +225 -0
- package/.claude/scripts/detect_changed_modules.sh +157 -0
- package/.claude/scripts/discover-design-files.sh +83 -0
- package/.claude/scripts/extract-animations.js +243 -0
- package/.claude/scripts/extract-computed-styles.js +118 -0
- package/.claude/scripts/extract-layout-structure.js +411 -0
- package/.claude/scripts/generate_module_docs.sh +713 -0
- package/.claude/scripts/get_modules_by_depth.sh +166 -0
- package/.claude/scripts/ui-generate-preview.sh +391 -0
- package/.claude/scripts/ui-instantiate-prototypes.sh +811 -0
- package/.claude/scripts/update_module_claude.sh +333 -0
- package/.claude/skills/command-guide/SKILL.md +388 -0
- package/.claude/skills/command-guide/UPDATE-GUIDELINE.md +592 -0
- package/.claude/skills/command-guide/guides/cli-tools-guide.md +410 -0
- package/.claude/skills/command-guide/guides/examples.md +537 -0
- package/.claude/skills/command-guide/guides/getting-started.md +242 -0
- package/.claude/skills/command-guide/guides/implementation-details.md +1010 -0
- package/.claude/skills/command-guide/guides/index-structure.md +326 -0
- package/.claude/skills/command-guide/guides/troubleshooting.md +92 -0
- package/.claude/skills/command-guide/guides/ui-design-workflow-guide.md +316 -0
- package/.claude/skills/command-guide/guides/workflow-patterns.md +662 -0
- package/.claude/skills/command-guide/index/all-commands.json +783 -0
- package/.claude/skills/command-guide/index/by-category.json +811 -0
- package/.claude/skills/command-guide/index/by-use-case.json +797 -0
- package/.claude/skills/command-guide/index/command-relationships.json +307 -0
- package/.claude/skills/command-guide/index/essential-commands.json +123 -0
- package/.claude/skills/command-guide/reference/agents/action-planning-agent.md +722 -0
- package/.claude/skills/command-guide/reference/agents/cli-execution-agent.md +270 -0
- package/.claude/skills/command-guide/reference/agents/cli-explore-agent.md +182 -0
- package/.claude/skills/command-guide/reference/agents/cli-lite-planning-agent.md +396 -0
- package/.claude/skills/command-guide/reference/agents/cli-planning-agent.md +558 -0
- package/.claude/skills/command-guide/reference/agents/code-developer.md +310 -0
- package/.claude/skills/command-guide/reference/agents/conceptual-planning-agent.md +328 -0
- package/.claude/skills/command-guide/reference/agents/context-search-agent.md +577 -0
- package/.claude/skills/command-guide/reference/agents/doc-generator.md +330 -0
- package/.claude/skills/command-guide/reference/agents/memory-bridge.md +94 -0
- package/.claude/skills/command-guide/reference/agents/test-context-search-agent.md +399 -0
- package/.claude/skills/command-guide/reference/agents/test-fix-agent.md +343 -0
- package/.claude/skills/command-guide/reference/agents/ui-design-agent.md +593 -0
- package/.claude/skills/command-guide/reference/agents/universal-executor.md +131 -0
- package/.claude/skills/command-guide/reference/commands/cli/cli-init.md +440 -0
- package/.claude/skills/command-guide/reference/commands/enhance-prompt.md +93 -0
- package/.claude/skills/command-guide/reference/commands/memory/code-map-memory.md +687 -0
- package/.claude/skills/command-guide/reference/commands/memory/docs-full-cli.md +471 -0
- package/.claude/skills/command-guide/reference/commands/memory/docs-related-cli.md +386 -0
- package/.claude/skills/command-guide/reference/commands/memory/docs.md +610 -0
- package/.claude/skills/command-guide/reference/commands/memory/load-skill-memory.md +182 -0
- package/.claude/skills/command-guide/reference/commands/memory/load.md +240 -0
- package/.claude/skills/command-guide/reference/commands/memory/skill-memory.md +525 -0
- package/.claude/skills/command-guide/reference/commands/memory/style-skill-memory.md +396 -0
- package/.claude/skills/command-guide/reference/commands/memory/tech-research.md +477 -0
- package/.claude/skills/command-guide/reference/commands/memory/update-full.md +332 -0
- package/.claude/skills/command-guide/reference/commands/memory/update-related.md +332 -0
- package/.claude/skills/command-guide/reference/commands/memory/workflow-skill-memory.md +517 -0
- package/.claude/skills/command-guide/reference/commands/task/breakdown.md +204 -0
- package/.claude/skills/command-guide/reference/commands/task/create.md +152 -0
- package/.claude/skills/command-guide/reference/commands/task/execute.md +270 -0
- package/.claude/skills/command-guide/reference/commands/task/replan.md +437 -0
- package/.claude/skills/command-guide/reference/commands/version.md +254 -0
- package/.claude/skills/command-guide/reference/commands/workflow/action-plan-verify.md +447 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/api-designer.md +585 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/artifacts.md +604 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/auto-parallel.md +466 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/data-architect.md +220 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/product-manager.md +200 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/product-owner.md +200 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/scrum-master.md +200 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/subject-matter-expert.md +200 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/synthesis.md +496 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/system-architect.md +387 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/ui-designer.md +221 -0
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/ux-expert.md +221 -0
- package/.claude/skills/command-guide/reference/commands/workflow/execute.md +460 -0
- package/.claude/skills/command-guide/reference/commands/workflow/init.md +164 -0
- package/.claude/skills/command-guide/reference/commands/workflow/lite-execute.md +634 -0
- package/.claude/skills/command-guide/reference/commands/workflow/lite-fix.md +602 -0
- package/.claude/skills/command-guide/reference/commands/workflow/lite-plan.md +582 -0
- package/.claude/skills/command-guide/reference/commands/workflow/plan.md +551 -0
- package/.claude/skills/command-guide/reference/commands/workflow/replan.md +515 -0
- package/.claude/skills/command-guide/reference/commands/workflow/review-fix.md +646 -0
- package/.claude/skills/command-guide/reference/commands/workflow/review-module-cycle.md +795 -0
- package/.claude/skills/command-guide/reference/commands/workflow/review-session-cycle.md +805 -0
- package/.claude/skills/command-guide/reference/commands/workflow/review.md +291 -0
- package/.claude/skills/command-guide/reference/commands/workflow/session/complete.md +500 -0
- package/.claude/skills/command-guide/reference/commands/workflow/session/list.md +96 -0
- package/.claude/skills/command-guide/reference/commands/workflow/session/resume.md +61 -0
- package/.claude/skills/command-guide/reference/commands/workflow/session/start.md +180 -0
- package/.claude/skills/command-guide/reference/commands/workflow/status.md +352 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tdd-plan.md +460 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tdd-verify.md +386 -0
- package/.claude/skills/command-guide/reference/commands/workflow/test-cycle-execute.md +498 -0
- package/.claude/skills/command-guide/reference/commands/workflow/test-fix-gen.md +699 -0
- package/.claude/skills/command-guide/reference/commands/workflow/test-gen.md +529 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/conflict-resolution.md +680 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/context-gather.md +434 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/task-generate-agent.md +151 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/task-generate-tdd.md +518 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/tdd-coverage-analysis.md +309 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/test-concept-enhanced.md +163 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/test-context-gather.md +235 -0
- package/.claude/skills/command-guide/reference/commands/workflow/tools/test-task-generate.md +256 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/animation-extract.md +1150 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/codify-style.md +652 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/design-sync.md +454 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/explore-auto.md +678 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/generate.md +504 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/imitate-auto.md +745 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/import-from-code.md +537 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/layout-extract.md +788 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/reference-page-generator.md +356 -0
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/style-extract.md +773 -0
- package/.claude/skills/command-guide/scripts/analyze_commands.py +502 -0
- package/.claude/skills/command-guide/scripts/update-index.sh +130 -0
- package/.claude/skills/command-guide/templates/issue-bug.md +104 -0
- package/.claude/skills/command-guide/templates/issue-diagnosis.md +275 -0
- package/.claude/skills/command-guide/templates/issue-feature.md +97 -0
- package/.claude/skills/command-guide/templates/issue-question.md +141 -0
- package/.claude/skills/prompt-enhancer/SKILL.md +124 -0
- package/.claude/workflows/_template-compare-matrix.html +692 -0
- package/.claude/workflows/cli-templates/fix-plan-template.json +75 -0
- package/.claude/workflows/cli-templates/fix-progress-template.json +48 -0
- package/.claude/workflows/cli-templates/memory/style-skill-memory/skill-md-template.md +299 -0
- package/.claude/workflows/cli-templates/planning-roles/data-architect.md +120 -0
- package/.claude/workflows/cli-templates/planning-roles/product-manager.md +119 -0
- package/.claude/workflows/cli-templates/planning-roles/product-owner.md +261 -0
- package/.claude/workflows/cli-templates/planning-roles/scrum-master.md +186 -0
- package/.claude/workflows/cli-templates/planning-roles/subject-matter-expert.md +281 -0
- package/.claude/workflows/cli-templates/planning-roles/synthesis-role.md +414 -0
- package/.claude/workflows/cli-templates/planning-roles/system-architect.md +106 -0
- package/.claude/workflows/cli-templates/planning-roles/test-strategist.md +124 -0
- package/.claude/workflows/cli-templates/planning-roles/ui-designer.md +379 -0
- package/.claude/workflows/cli-templates/planning-roles/ux-expert.md +240 -0
- package/.claude/workflows/cli-templates/prompts/analysis/01-diagnose-bug-root-cause.txt +127 -0
- package/.claude/workflows/cli-templates/prompts/analysis/01-trace-code-execution.txt +115 -0
- package/.claude/workflows/cli-templates/prompts/analysis/02-analyze-code-patterns.txt +37 -0
- package/.claude/workflows/cli-templates/prompts/analysis/02-analyze-technical-document.txt +33 -0
- package/.claude/workflows/cli-templates/prompts/analysis/02-review-architecture.txt +29 -0
- package/.claude/workflows/cli-templates/prompts/analysis/02-review-code-quality.txt +28 -0
- package/.claude/workflows/cli-templates/prompts/analysis/03-analyze-performance.txt +29 -0
- package/.claude/workflows/cli-templates/prompts/analysis/03-assess-security-risks.txt +29 -0
- package/.claude/workflows/cli-templates/prompts/analysis/03-review-quality-standards.txt +29 -0
- package/.claude/workflows/cli-templates/prompts/development/02-generate-tests.txt +70 -0
- package/.claude/workflows/cli-templates/prompts/development/02-implement-component-ui.txt +55 -0
- package/.claude/workflows/cli-templates/prompts/development/02-implement-feature.txt +58 -0
- package/.claude/workflows/cli-templates/prompts/development/02-refactor-codebase.txt +55 -0
- package/.claude/workflows/cli-templates/prompts/development/03-debug-runtime-issues.txt +55 -0
- package/.claude/workflows/cli-templates/prompts/documentation/api.txt +15 -0
- package/.claude/workflows/cli-templates/prompts/documentation/folder-navigation.txt +27 -0
- package/.claude/workflows/cli-templates/prompts/documentation/module-readme.txt +49 -0
- package/.claude/workflows/cli-templates/prompts/documentation/project-architecture.txt +41 -0
- package/.claude/workflows/cli-templates/prompts/documentation/project-examples.txt +35 -0
- package/.claude/workflows/cli-templates/prompts/documentation/project-readme.txt +35 -0
- package/.claude/workflows/cli-templates/prompts/memory/02-document-module-structure.txt +165 -0
- package/.claude/workflows/cli-templates/prompts/planning/01-plan-architecture-design.txt +109 -0
- package/.claude/workflows/cli-templates/prompts/planning/02-breakdown-task-steps.txt +30 -0
- package/.claude/workflows/cli-templates/prompts/planning/02-design-component-spec.txt +28 -0
- package/.claude/workflows/cli-templates/prompts/planning/03-evaluate-concept-feasibility.txt +127 -0
- package/.claude/workflows/cli-templates/prompts/planning/03-plan-migration-strategy.txt +30 -0
- package/.claude/workflows/cli-templates/prompts/tech/tech-module-format.txt +359 -0
- package/.claude/workflows/cli-templates/prompts/tech/tech-skill-index.txt +185 -0
- package/.claude/workflows/cli-templates/prompts/test/test-concept-analysis.txt +179 -0
- package/.claude/workflows/cli-templates/prompts/universal/00-universal-creative-style.txt +95 -0
- package/.claude/workflows/cli-templates/prompts/universal/00-universal-rigorous-style.txt +92 -0
- package/.claude/workflows/cli-templates/prompts/verification/codex-technical.txt +28 -0
- package/.claude/workflows/cli-templates/prompts/verification/cross-validation.txt +28 -0
- package/.claude/workflows/cli-templates/prompts/verification/gemini-strategic.txt +27 -0
- package/.claude/workflows/cli-templates/prompts/workflow/analysis-results-structure.txt +224 -0
- package/.claude/workflows/cli-templates/prompts/workflow/codex-feasibility-validation.txt +176 -0
- package/.claude/workflows/cli-templates/prompts/workflow/gemini-solution-design.txt +131 -0
- package/.claude/workflows/cli-templates/prompts/workflow/impl-plan-template.txt +286 -0
- package/.claude/workflows/cli-templates/prompts/workflow/skill-aggregation.txt +172 -0
- package/.claude/workflows/cli-templates/prompts/workflow/skill-conflict-patterns.txt +98 -0
- package/.claude/workflows/cli-templates/prompts/workflow/skill-index.txt +224 -0
- package/.claude/workflows/cli-templates/prompts/workflow/skill-lessons-learned.txt +98 -0
- package/.claude/workflows/cli-templates/prompts/workflow/skill-sessions-timeline.txt +53 -0
- package/.claude/workflows/cli-templates/prompts/workflow/task-json-agent-mode.txt +123 -0
- package/.claude/workflows/cli-templates/prompts/workflow/task-json-cli-mode.txt +182 -0
- package/.claude/workflows/cli-templates/schemas/diagnosis-json-schema.json +234 -0
- package/.claude/workflows/cli-templates/schemas/explore-json-schema.json +124 -0
- package/.claude/workflows/cli-templates/schemas/fix-plan-json-schema.json +273 -0
- package/.claude/workflows/cli-templates/schemas/plan-json-schema.json +219 -0
- package/.claude/workflows/cli-templates/schemas/project-json-schema.json +221 -0
- package/.claude/workflows/cli-templates/schemas/review-deep-dive-results-schema.json +82 -0
- package/.claude/workflows/cli-templates/schemas/review-dimension-results-schema.json +51 -0
- package/.claude/workflows/cli-templates/tech-stacks/go-dev.md +91 -0
- package/.claude/workflows/cli-templates/tech-stacks/java-dev.md +107 -0
- package/.claude/workflows/cli-templates/tech-stacks/javascript-dev.md +58 -0
- package/.claude/workflows/cli-templates/tech-stacks/python-dev.md +79 -0
- package/.claude/workflows/cli-templates/tech-stacks/react-dev.md +103 -0
- package/.claude/workflows/cli-templates/tech-stacks/typescript-dev.md +83 -0
- package/.claude/workflows/cli-templates/ui-design/systems/animation-tokens.json +247 -0
- package/.claude/workflows/cli-templates/ui-design/systems/design-tokens.json +342 -0
- package/.claude/workflows/cli-templates/ui-design/systems/layout-templates.json +145 -0
- package/.claude/workflows/context-search-strategy.md +77 -0
- package/.claude/workflows/intelligent-tools-strategy.md +662 -0
- package/.claude/workflows/review-directory-specification.md +336 -0
- package/.claude/workflows/task-core.md +214 -0
- package/.claude/workflows/tool-strategy.md +71 -0
- package/.claude/workflows/workflow-architecture.md +942 -0
- package/.codex/AGENTS.md +330 -0
- package/.gemini/GEMINI.md +164 -0
- package/.qwen/QWEN.md +164 -0
- package/CLAUDE.md +91 -0
- package/LICENSE +21 -0
- package/README.md +219 -0
- package/ccw/README.md +121 -0
- package/ccw/bin/ccw.js +10 -0
- package/ccw/src/cli.js +100 -0
- package/ccw/src/commands/install.js +324 -0
- package/ccw/src/commands/list.js +37 -0
- package/ccw/src/commands/serve.js +67 -0
- package/ccw/src/commands/uninstall.js +238 -0
- package/ccw/src/commands/upgrade.js +307 -0
- package/ccw/src/commands/view.js +14 -0
- package/ccw/src/core/dashboard-generator-patch.js +29 -0
- package/ccw/src/core/dashboard-generator.js +667 -0
- package/ccw/src/core/data-aggregator.js +409 -0
- package/ccw/src/core/lite-scanner.js +290 -0
- package/ccw/src/core/manifest.js +201 -0
- package/ccw/src/core/server.js +1327 -0
- package/ccw/src/core/server.js.bak +385 -0
- package/ccw/src/core/server_original.bak +385 -0
- package/ccw/src/core/session-scanner.js +235 -0
- package/ccw/src/index.js +9 -0
- package/ccw/src/templates/dashboard-js/api.js +200 -0
- package/ccw/src/templates/dashboard-js/components/_conflict_tab.js +112 -0
- package/ccw/src/templates/dashboard-js/components/_exp_helpers.js +54 -0
- package/ccw/src/templates/dashboard-js/components/_review_tab.js +640 -0
- package/ccw/src/templates/dashboard-js/components/carousel.js +398 -0
- package/ccw/src/templates/dashboard-js/components/flowchart.js +493 -0
- package/ccw/src/templates/dashboard-js/components/hook-manager.js +273 -0
- package/ccw/src/templates/dashboard-js/components/mcp-manager.js +506 -0
- package/ccw/src/templates/dashboard-js/components/modals.js +260 -0
- package/ccw/src/templates/dashboard-js/components/navigation.js +239 -0
- package/ccw/src/templates/dashboard-js/components/notifications.js +194 -0
- package/ccw/src/templates/dashboard-js/components/sidebar.js +31 -0
- package/ccw/src/templates/dashboard-js/components/tabs-context.js +1093 -0
- package/ccw/src/templates/dashboard-js/components/tabs-other.js +273 -0
- package/ccw/src/templates/dashboard-js/components/task-drawer-core.js +477 -0
- package/ccw/src/templates/dashboard-js/components/task-drawer-renderers.js +447 -0
- package/ccw/src/templates/dashboard-js/components/theme.js +21 -0
- package/ccw/src/templates/dashboard-js/main.js +57 -0
- package/ccw/src/templates/dashboard-js/state.js +37 -0
- package/ccw/src/templates/dashboard-js/utils.js +153 -0
- package/ccw/src/templates/dashboard-js/views/fix-session.js +180 -0
- package/ccw/src/templates/dashboard-js/views/home.js +193 -0
- package/ccw/src/templates/dashboard-js/views/hook-manager.js +387 -0
- package/ccw/src/templates/dashboard-js/views/lite-tasks.js +390 -0
- package/ccw/src/templates/dashboard-js/views/mcp-manager.js +271 -0
- package/ccw/src/templates/dashboard-js/views/project-overview.js +246 -0
- package/ccw/src/templates/dashboard-js/views/review-session.js +711 -0
- package/ccw/src/templates/dashboard-js/views/session-detail.js +770 -0
- package/ccw/src/templates/dashboard.css +7660 -0
- package/ccw/src/templates/dashboard.html +630 -0
- package/ccw/src/templates/dashboard_tailwind.html +42 -0
- package/ccw/src/templates/dashboard_test.html +37 -0
- package/ccw/src/templates/review-cycle-dashboard.html +1930 -0
- package/ccw/src/templates/tailwind-base.css +212 -0
- package/ccw/src/templates/workflow-dashboard.html +401 -0
- package/ccw/src/utils/browser-launcher.js +49 -0
- package/ccw/src/utils/file-utils.js +48 -0
- package/ccw/src/utils/path-resolver.js +279 -0
- package/ccw/src/utils/ui.js +148 -0
- package/package.json +66 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-generate-agent
|
|
3
|
+
description: Generate implementation plan documents (IMPL_PLAN.md, task JSONs, TODO_LIST.md) using action-planning-agent - produces planning artifacts, does NOT execute code implementation
|
|
4
|
+
argument-hint: "--session WFS-session-id"
|
|
5
|
+
examples:
|
|
6
|
+
- /workflow:tools:task-generate-agent --session WFS-auth
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Generate Implementation Plan Command
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
Generate implementation planning documents (IMPL_PLAN.md, task JSONs, TODO_LIST.md) using action-planning-agent. This command produces **planning artifacts only** - it does NOT execute code implementation. Actual code implementation requires separate execution command (e.g., /workflow:execute).
|
|
13
|
+
|
|
14
|
+
## Core Philosophy
|
|
15
|
+
- **Planning Only**: Generate planning documents (IMPL_PLAN.md, task JSONs, TODO_LIST.md) - does NOT implement code
|
|
16
|
+
- **Agent-Driven Document Generation**: Delegate plan generation to action-planning-agent
|
|
17
|
+
- **N+1 Parallel Planning**: Auto-detect multi-module projects, enable parallel planning (2+1 or 3+1 mode)
|
|
18
|
+
- **Progressive Loading**: Load context incrementally (Core → Selective → On-Demand) due to analysis.md file size
|
|
19
|
+
- **Memory-First**: Reuse loaded documents from conversation memory
|
|
20
|
+
- **Smart Selection**: Load synthesis_output OR guidance + relevant role analyses, NOT all role analyses
|
|
21
|
+
- **MCP-Enhanced**: Use MCP tools for advanced code analysis and research
|
|
22
|
+
- **Path Clarity**: All `focus_paths` prefer absolute paths (e.g., `D:\\project\\src\\module`), or clear relative paths from project root (e.g., `./src/module`)
|
|
23
|
+
|
|
24
|
+
## Execution Process
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Input Parsing:
|
|
28
|
+
├─ Parse flags: --session
|
|
29
|
+
└─ Validation: session_id REQUIRED
|
|
30
|
+
|
|
31
|
+
Phase 1: Context Preparation & Module Detection (Command)
|
|
32
|
+
├─ Assemble session paths (metadata, context package, output dirs)
|
|
33
|
+
├─ Provide metadata (session_id, execution_mode, mcp_capabilities)
|
|
34
|
+
├─ Auto-detect modules from context-package + directory structure
|
|
35
|
+
└─ Decision:
|
|
36
|
+
├─ modules.length == 1 → Single Agent Mode (Phase 2A)
|
|
37
|
+
└─ modules.length >= 2 → Parallel Mode (Phase 2B + Phase 3)
|
|
38
|
+
|
|
39
|
+
Phase 2A: Single Agent Planning (Original Flow)
|
|
40
|
+
├─ Load context package (progressive loading strategy)
|
|
41
|
+
├─ Generate Task JSON Files (.task/IMPL-*.json)
|
|
42
|
+
├─ Create IMPL_PLAN.md
|
|
43
|
+
└─ Generate TODO_LIST.md
|
|
44
|
+
|
|
45
|
+
Phase 2B: N Parallel Planning (Multi-Module)
|
|
46
|
+
├─ Launch N action-planning-agents simultaneously (one per module)
|
|
47
|
+
├─ Each agent generates module-scoped tasks (IMPL-{prefix}{seq}.json)
|
|
48
|
+
├─ Task ID format: IMPL-A1, IMPL-A2... / IMPL-B1, IMPL-B2...
|
|
49
|
+
└─ Each module limited to ≤9 tasks
|
|
50
|
+
|
|
51
|
+
Phase 3: Integration (+1 Coordinator, Multi-Module Only)
|
|
52
|
+
├─ Collect all module task JSONs
|
|
53
|
+
├─ Resolve cross-module dependencies (CROSS::{module}::{pattern} → actual ID)
|
|
54
|
+
├─ Generate unified IMPL_PLAN.md (grouped by module)
|
|
55
|
+
└─ Generate TODO_LIST.md (hierarchical: module → tasks)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Document Generation Lifecycle
|
|
59
|
+
|
|
60
|
+
### Phase 1: Context Preparation & Module Detection (Command Responsibility)
|
|
61
|
+
|
|
62
|
+
**Command prepares session paths, metadata, and detects module structure.**
|
|
63
|
+
|
|
64
|
+
**Session Path Structure**:
|
|
65
|
+
```
|
|
66
|
+
.workflow/active/WFS-{session-id}/
|
|
67
|
+
├── workflow-session.json # Session metadata
|
|
68
|
+
├── .process/
|
|
69
|
+
│ └── context-package.json # Context package with artifact catalog
|
|
70
|
+
├── .task/ # Output: Task JSON files
|
|
71
|
+
│ ├── IMPL-A1.json # Multi-module: prefixed by module
|
|
72
|
+
│ ├── IMPL-A2.json
|
|
73
|
+
│ ├── IMPL-B1.json
|
|
74
|
+
│ └── ...
|
|
75
|
+
├── IMPL_PLAN.md # Output: Implementation plan (grouped by module)
|
|
76
|
+
└── TODO_LIST.md # Output: TODO list (hierarchical)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Command Preparation**:
|
|
80
|
+
1. **Assemble Session Paths** for agent prompt:
|
|
81
|
+
- `session_metadata_path`
|
|
82
|
+
- `context_package_path`
|
|
83
|
+
- Output directory paths
|
|
84
|
+
|
|
85
|
+
2. **Provide Metadata** (simple values):
|
|
86
|
+
- `session_id`
|
|
87
|
+
- `mcp_capabilities` (available MCP tools)
|
|
88
|
+
|
|
89
|
+
3. **Auto Module Detection** (determines single vs parallel mode):
|
|
90
|
+
```javascript
|
|
91
|
+
function autoDetectModules(contextPackage, projectRoot) {
|
|
92
|
+
// Priority 1: Explicit frontend/backend separation
|
|
93
|
+
if (exists('src/frontend') && exists('src/backend')) {
|
|
94
|
+
return [
|
|
95
|
+
{ name: 'frontend', prefix: 'A', paths: ['src/frontend'] },
|
|
96
|
+
{ name: 'backend', prefix: 'B', paths: ['src/backend'] }
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// Priority 2: Monorepo structure
|
|
101
|
+
if (exists('packages/*') || exists('apps/*')) {
|
|
102
|
+
return detectMonorepoModules(); // Returns 2-3 main packages
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Priority 3: Context-package dependency clustering
|
|
106
|
+
const modules = clusterByDependencies(contextPackage.dependencies?.internal);
|
|
107
|
+
if (modules.length >= 2) return modules.slice(0, 3);
|
|
108
|
+
|
|
109
|
+
// Default: Single module (original flow)
|
|
110
|
+
return [{ name: 'main', prefix: '', paths: ['.'] }];
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Decision Logic**:
|
|
115
|
+
- `modules.length == 1` → Phase 2A (Single Agent, original flow)
|
|
116
|
+
- `modules.length >= 2` → Phase 2B + Phase 3 (N+1 Parallel)
|
|
117
|
+
|
|
118
|
+
**Note**: CLI tool usage is now determined semantically by action-planning-agent based on user's task description, not by flags.
|
|
119
|
+
|
|
120
|
+
### Phase 2A: Single Agent Planning (Original Flow)
|
|
121
|
+
|
|
122
|
+
**Condition**: `modules.length == 1` (no multi-module detected)
|
|
123
|
+
|
|
124
|
+
**Purpose**: Generate IMPL_PLAN.md, task JSONs, and TODO_LIST.md - planning documents only, NOT code implementation.
|
|
125
|
+
|
|
126
|
+
**Agent Invocation**:
|
|
127
|
+
```javascript
|
|
128
|
+
Task(
|
|
129
|
+
subagent_type="action-planning-agent",
|
|
130
|
+
description="Generate planning documents (IMPL_PLAN.md, task JSONs, TODO_LIST.md)",
|
|
131
|
+
prompt=`
|
|
132
|
+
## TASK OBJECTIVE
|
|
133
|
+
Generate implementation planning documents (IMPL_PLAN.md, task JSONs, TODO_LIST.md) for workflow session
|
|
134
|
+
|
|
135
|
+
IMPORTANT: This is PLANNING ONLY - you are generating planning documents, NOT implementing code.
|
|
136
|
+
|
|
137
|
+
CRITICAL: Follow the progressive loading strategy defined in agent specification (load analysis.md files incrementally due to file size)
|
|
138
|
+
|
|
139
|
+
## SESSION PATHS
|
|
140
|
+
Input:
|
|
141
|
+
- Session Metadata: .workflow/active/{session-id}/workflow-session.json
|
|
142
|
+
- Context Package: .workflow/active/{session-id}/.process/context-package.json
|
|
143
|
+
|
|
144
|
+
Output:
|
|
145
|
+
- Task Dir: .workflow/active/{session-id}/.task/
|
|
146
|
+
- IMPL_PLAN: .workflow/active/{session-id}/IMPL_PLAN.md
|
|
147
|
+
- TODO_LIST: .workflow/active/{session-id}/TODO_LIST.md
|
|
148
|
+
|
|
149
|
+
## CONTEXT METADATA
|
|
150
|
+
Session ID: {session-id}
|
|
151
|
+
MCP Capabilities: {exa_code, exa_web, code_index}
|
|
152
|
+
|
|
153
|
+
## CLI TOOL SELECTION
|
|
154
|
+
Determine CLI tool usage per-step based on user's task description:
|
|
155
|
+
- If user specifies "use Codex/Gemini/Qwen for X" → Add command field to relevant steps
|
|
156
|
+
- Default: Agent execution (no command field) unless user explicitly requests CLI
|
|
157
|
+
|
|
158
|
+
## EXPLORATION CONTEXT (from context-package.exploration_results)
|
|
159
|
+
- Load exploration_results from context-package.json
|
|
160
|
+
- Use aggregated_insights.critical_files for focus_paths generation
|
|
161
|
+
- Apply aggregated_insights.constraints to acceptance criteria
|
|
162
|
+
- Reference aggregated_insights.all_patterns for implementation approach
|
|
163
|
+
- Use aggregated_insights.all_integration_points for precise modification locations
|
|
164
|
+
- Use conflict_indicators for risk-aware task sequencing
|
|
165
|
+
|
|
166
|
+
## EXPECTED DELIVERABLES
|
|
167
|
+
1. Task JSON Files (.task/IMPL-*.json)
|
|
168
|
+
- 6-field schema (id, title, status, context_package_path, meta, context, flow_control)
|
|
169
|
+
- Quantified requirements with explicit counts
|
|
170
|
+
- Artifacts integration from context package
|
|
171
|
+
- **focus_paths enhanced with exploration critical_files**
|
|
172
|
+
- Flow control with pre_analysis steps (include exploration integration_points analysis)
|
|
173
|
+
|
|
174
|
+
2. Implementation Plan (IMPL_PLAN.md)
|
|
175
|
+
- Context analysis and artifact references
|
|
176
|
+
- Task breakdown and execution strategy
|
|
177
|
+
- Complete structure per agent definition
|
|
178
|
+
|
|
179
|
+
3. TODO List (TODO_LIST.md)
|
|
180
|
+
- Hierarchical structure (containers, pending, completed markers)
|
|
181
|
+
- Links to task JSONs and summaries
|
|
182
|
+
- Matches task JSON hierarchy
|
|
183
|
+
|
|
184
|
+
## QUALITY STANDARDS
|
|
185
|
+
Hard Constraints:
|
|
186
|
+
- Task count <= 18 (hard limit - request re-scope if exceeded)
|
|
187
|
+
- All requirements quantified (explicit counts and enumerated lists)
|
|
188
|
+
- Acceptance criteria measurable (include verification commands)
|
|
189
|
+
- Artifact references mapped from context package
|
|
190
|
+
- All documents follow agent-defined structure
|
|
191
|
+
|
|
192
|
+
## SUCCESS CRITERIA
|
|
193
|
+
- All planning documents generated successfully:
|
|
194
|
+
- Task JSONs valid and saved to .task/ directory
|
|
195
|
+
- IMPL_PLAN.md created with complete structure
|
|
196
|
+
- TODO_LIST.md generated matching task JSONs
|
|
197
|
+
- Return completion status with document count and task breakdown summary
|
|
198
|
+
`
|
|
199
|
+
)
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Phase 2B: N Parallel Planning (Multi-Module)
|
|
203
|
+
|
|
204
|
+
**Condition**: `modules.length >= 2` (multi-module detected)
|
|
205
|
+
|
|
206
|
+
**Purpose**: Launch N action-planning-agents simultaneously, one per module, for parallel task generation.
|
|
207
|
+
|
|
208
|
+
**Parallel Agent Invocation**:
|
|
209
|
+
```javascript
|
|
210
|
+
// Launch N agents in parallel (one per module)
|
|
211
|
+
const planningTasks = modules.map(module =>
|
|
212
|
+
Task(
|
|
213
|
+
subagent_type="action-planning-agent",
|
|
214
|
+
description=`Plan ${module.name} module`,
|
|
215
|
+
prompt=`
|
|
216
|
+
## SCOPE
|
|
217
|
+
- Module: ${module.name} (${module.type})
|
|
218
|
+
- Focus Paths: ${module.paths.join(', ')}
|
|
219
|
+
- Task ID Prefix: IMPL-${module.prefix}
|
|
220
|
+
- Task Limit: ≤9 tasks
|
|
221
|
+
- Other Modules: ${otherModules.join(', ')}
|
|
222
|
+
- Cross-module deps format: "CROSS::{module}::{pattern}"
|
|
223
|
+
|
|
224
|
+
## SESSION PATHS
|
|
225
|
+
Input:
|
|
226
|
+
- Context Package: .workflow/active/{session-id}/.process/context-package.json
|
|
227
|
+
Output:
|
|
228
|
+
- Task Dir: .workflow/active/{session-id}/.task/
|
|
229
|
+
|
|
230
|
+
## INSTRUCTIONS
|
|
231
|
+
- Generate tasks ONLY for ${module.name} module
|
|
232
|
+
- Use task ID format: IMPL-${module.prefix}1, IMPL-${module.prefix}2, ...
|
|
233
|
+
- For cross-module dependencies, use: depends_on: ["CROSS::B::api-endpoint"]
|
|
234
|
+
- Maximum 9 tasks per module
|
|
235
|
+
`
|
|
236
|
+
)
|
|
237
|
+
);
|
|
238
|
+
|
|
239
|
+
// Execute all in parallel
|
|
240
|
+
await Promise.all(planningTasks);
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
**Output Structure** (direct to .task/):
|
|
244
|
+
```
|
|
245
|
+
.task/
|
|
246
|
+
├── IMPL-A1.json # Module A (e.g., frontend)
|
|
247
|
+
├── IMPL-A2.json
|
|
248
|
+
├── IMPL-B1.json # Module B (e.g., backend)
|
|
249
|
+
├── IMPL-B2.json
|
|
250
|
+
└── IMPL-C1.json # Module C (e.g., shared)
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
**Task ID Naming**:
|
|
254
|
+
- Format: `IMPL-{prefix}{seq}.json`
|
|
255
|
+
- Prefix: A, B, C... (assigned by detection order)
|
|
256
|
+
- Sequence: 1, 2, 3... (per-module increment)
|
|
257
|
+
|
|
258
|
+
### Phase 3: Integration (+1 Coordinator, Multi-Module Only)
|
|
259
|
+
|
|
260
|
+
**Condition**: Only executed when `modules.length >= 2`
|
|
261
|
+
|
|
262
|
+
**Purpose**: Collect all module tasks, resolve cross-module dependencies, generate unified documents.
|
|
263
|
+
|
|
264
|
+
**Integration Logic**:
|
|
265
|
+
```javascript
|
|
266
|
+
// 1. Collect all module task JSONs
|
|
267
|
+
const allTasks = glob('.task/IMPL-*.json').map(loadJson);
|
|
268
|
+
|
|
269
|
+
// 2. Resolve cross-module dependencies
|
|
270
|
+
for (const task of allTasks) {
|
|
271
|
+
if (task.depends_on) {
|
|
272
|
+
task.depends_on = task.depends_on.map(dep => {
|
|
273
|
+
if (dep.startsWith('CROSS::')) {
|
|
274
|
+
// CROSS::B::api-endpoint → find matching IMPL-B* task
|
|
275
|
+
const [, targetModule, pattern] = dep.match(/CROSS::(\w+)::(.+)/);
|
|
276
|
+
return findTaskByModuleAndPattern(allTasks, targetModule, pattern);
|
|
277
|
+
}
|
|
278
|
+
return dep;
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// 3. Generate unified IMPL_PLAN.md (grouped by module)
|
|
284
|
+
generateIMPL_PLAN(allTasks, modules);
|
|
285
|
+
|
|
286
|
+
// 4. Generate TODO_LIST.md (hierarchical structure)
|
|
287
|
+
generateTODO_LIST(allTasks, modules);
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
**Note**: IMPL_PLAN.md and TODO_LIST.md structure definitions are in `action-planning-agent.md`.
|
|
291
|
+
|