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
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Development Guidelines
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This document defines project-specific coding standards and development principles.
|
|
6
|
+
### CLI Tool Context Protocols
|
|
7
|
+
For all CLI tool usage, command syntax, and integration guidelines:
|
|
8
|
+
- **Tool Strategy**: @~/.claude/workflows/tool-strategy.md
|
|
9
|
+
- **Intelligent Context Strategy**: @~/.claude/workflows/intelligent-tools-strategy.md
|
|
10
|
+
- **Context Search Commands**: @~/.claude/workflows/context-search-strategy.md
|
|
11
|
+
|
|
12
|
+
**Context Requirements**:
|
|
13
|
+
- Identify 3+ existing similar patterns before implementation
|
|
14
|
+
- Map dependencies and integration points
|
|
15
|
+
- Understand testing framework and coding conventions
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Philosophy
|
|
19
|
+
|
|
20
|
+
### Core Beliefs
|
|
21
|
+
|
|
22
|
+
- **Pursue good taste** - Eliminate edge cases to make code logic natural and elegant
|
|
23
|
+
- **Embrace extreme simplicity** - Complexity is the root of all evil
|
|
24
|
+
- **Be pragmatic** - Code must solve real-world problems, not hypothetical ones
|
|
25
|
+
- **Data structures first** - Bad programmers worry about code; good programmers worry about data structures
|
|
26
|
+
- **Never break backward compatibility** - Existing functionality is sacred and inviolable
|
|
27
|
+
- **Incremental progress over big bangs** - Small changes that compile and pass tests
|
|
28
|
+
- **Learning from existing code** - Study and plan before implementing
|
|
29
|
+
- **Clear intent over clever code** - Be boring and obvious
|
|
30
|
+
- **Follow existing code style** - Match import patterns, naming conventions, and formatting of existing codebase
|
|
31
|
+
- **Minimize changes** - Only modify what's directly required; avoid refactoring, adding features, or "improving" code beyond the request
|
|
32
|
+
- **No unsolicited documentation** - NEVER generate reports, documentation files, or summaries without explicit user request. If required, save to .workflow/.scratchpad/
|
|
33
|
+
|
|
34
|
+
### Simplicity Means
|
|
35
|
+
|
|
36
|
+
- Single responsibility per function/class
|
|
37
|
+
- Avoid premature abstractions
|
|
38
|
+
- No clever tricks - choose the boring solution
|
|
39
|
+
- If you need to explain it, it's too complex
|
|
40
|
+
|
|
41
|
+
## Project Integration
|
|
42
|
+
|
|
43
|
+
### Learning the Codebase
|
|
44
|
+
|
|
45
|
+
- Find 3 similar features/components
|
|
46
|
+
- Identify common patterns and conventions
|
|
47
|
+
- Use same libraries/utilities when possible
|
|
48
|
+
- Follow existing test patterns
|
|
49
|
+
|
|
50
|
+
### Tooling
|
|
51
|
+
|
|
52
|
+
- Use project's existing build system
|
|
53
|
+
- Use project's test framework
|
|
54
|
+
- Use project's formatter/linter settings
|
|
55
|
+
- Don't introduce new tools without strong justification
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Fix, Don't Hide
|
|
59
|
+
|
|
60
|
+
- **Solve problems, don't silence symptoms** - Skipped tests, `@ts-ignore`, empty catch, `as any`, excessive timeouts = hiding bugs, not fixing them
|
|
61
|
+
|
|
62
|
+
**NEVER**:
|
|
63
|
+
- Make assumptions - verify with existing code
|
|
64
|
+
- Generate reports, summaries, or documentation files without explicit user request
|
|
65
|
+
- Use suppression mechanisms (`skip`, `ignore`, `disable`) without fixing root cause
|
|
66
|
+
|
|
67
|
+
**ALWAYS**:
|
|
68
|
+
- Plan complex tasks thoroughly before implementation
|
|
69
|
+
- Generate task decomposition for multi-module work (>3 modules or >5 subtasks)
|
|
70
|
+
- Track progress using TODO checklists for complex tasks
|
|
71
|
+
- Validate planning documents before starting development
|
|
72
|
+
- Commit working code incrementally
|
|
73
|
+
- Update plan documentation and progress tracking as you go
|
|
74
|
+
- Learn from existing implementations
|
|
75
|
+
- Stop after 3 failed attempts and reassess
|
|
76
|
+
- **Edit fallback**: When Edit tool fails 2+ times on same file, try Bash sed/awk first, then Write to recreate if still failing
|
|
77
|
+
|
|
78
|
+
## Platform-Specific Guidelines
|
|
79
|
+
|
|
80
|
+
### Windows Path Format Guidelines
|
|
81
|
+
- **MCP Tools**: Double backslash `D:\\path\\file.txt`
|
|
82
|
+
- **Bash Commands**: Forward slash `D:/path/file.txt` or `/d/path/file.txt`
|
|
83
|
+
- **Relative Paths**: Universal (works in both)
|
|
84
|
+
|
|
85
|
+
#### **Content Uniqueness Rules**
|
|
86
|
+
|
|
87
|
+
- **Each layer owns its abstraction level** - no content sharing between layers
|
|
88
|
+
- **Reference, don't duplicate** - point to other layers, never copy content
|
|
89
|
+
- **Maintain perspective** - each layer sees the system at its appropriate scale
|
|
90
|
+
- **Avoid implementation creep** - higher layers stay architectural
|
|
91
|
+
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Claude Development Guidelines
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# 🚀 Claude Code Workflow (CCW)
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
[](https://github.com/catlog22/Claude-Code-Workflow/releases)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
[]()
|
|
8
|
+
|
|
9
|
+
**Languages:** [English](README.md) | [中文](README_CN.md)
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
**Claude Code Workflow (CCW)** transforms AI development from simple prompt chaining into a powerful, context-first orchestration system. It solves execution uncertainty and error accumulation through structured planning, deterministic execution, and intelligent multi-model orchestration.
|
|
16
|
+
|
|
17
|
+
> **🎉 Version 5.9.6: Review Cycle Enhancement & Dashboard Automation**
|
|
18
|
+
>
|
|
19
|
+
> **Core Improvements**:
|
|
20
|
+
> - ✨ **Enhanced Review Dashboard**: The `review-cycle` dashboard now supports real-time progress tracking and advanced filtering for better visibility into code reviews.
|
|
21
|
+
> - 🎯 **New Fix-Tracking Dashboard**: Introduced a new, independent `fix-dashboard.html` to monitor the progress of bug fixes with rich data integration.
|
|
22
|
+
> - 🚀 **`lite-fix` Workflow**: Added a new `lite-fix` command for intelligent, streamlined bug diagnosis and resolution.
|
|
23
|
+
> - 🛠️ **`lite-plan` Optimization**: Significantly optimized the `lite-plan` workflow with cost-aware parallel execution, better complexity analysis, and robust context protection.
|
|
24
|
+
> - 🧠 **Intelligent Test Cycles**: Improved the `test-cycle-execute` command with smart iteration strategies and a universal `@test-fix-agent` for more effective testing.
|
|
25
|
+
>
|
|
26
|
+
> See [CHANGELOG.md](CHANGELOG.md) for complete details.
|
|
27
|
+
|
|
28
|
+
> 📚 **New to CCW?** Check out the [**Getting Started Guide**](GETTING_STARTED.md) for a beginner-friendly 5-minute tutorial!
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## ✨ Core Concepts
|
|
33
|
+
|
|
34
|
+
CCW is built on a set of core principles that distinguish it from traditional AI development approaches:
|
|
35
|
+
|
|
36
|
+
- **Context-First Architecture**: Eliminates uncertainty during execution through pre-defined context gathering, ensuring agents have the right information *before* implementation.
|
|
37
|
+
- **JSON-First State Management**: Task state is fully stored in `.task/IMPL-*.json` files as the single source of truth, enabling programmatic orchestration without state drift.
|
|
38
|
+
- **Autonomous Multi-Stage Orchestration**: Commands chain-invoke specialized sub-commands and agents to automate complex workflows with zero user intervention.
|
|
39
|
+
- **Multi-Model Strategy**: Leverages the unique strengths of different AI models (e.g., Gemini for analysis, Codex for implementation) for superior results.
|
|
40
|
+
- **Layered Memory System**: A 4-tier documentation system that provides context at the appropriate abstraction level, preventing information overload.
|
|
41
|
+
- **Specialized Role-Based Agents**: A suite of agents (`@code-developer`, `@test-fix-agent`, etc.) that emulate a real software team for diverse tasks.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## ⚙️ Installation
|
|
46
|
+
|
|
47
|
+
For detailed installation instructions, refer to the [**INSTALL.md**](INSTALL.md) guide.
|
|
48
|
+
|
|
49
|
+
### **🚀 One-Click Quick Install**
|
|
50
|
+
|
|
51
|
+
**Windows (PowerShell):**
|
|
52
|
+
```powershell
|
|
53
|
+
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Linux/macOS (Bash/Zsh):**
|
|
57
|
+
```bash
|
|
58
|
+
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### **✅ Verify Installation**
|
|
62
|
+
After installation, open **Claude Code** and verify that workflow commands are available by running:
|
|
63
|
+
```bash
|
|
64
|
+
/workflow:session:list
|
|
65
|
+
```
|
|
66
|
+
If slash commands (e.g., `/workflow:*`) are recognized, the installation was successful.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 🛠️ Command Reference
|
|
71
|
+
|
|
72
|
+
CCW provides a rich set of commands for managing workflows, tasks, and interactions with AI tools. For a complete list and detailed descriptions of all available commands, please refer to the [**COMMAND_REFERENCE.md**](COMMAND_REFERENCE.md) file.
|
|
73
|
+
|
|
74
|
+
For detailed technical specifications of each command, see [**COMMAND_SPEC.md**](COMMAND_SPEC.md).
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### 💡 **Need Help? Use the Interactive Command Guide**
|
|
79
|
+
|
|
80
|
+
CCW includes a built-in **Command Guide Skill** to help you discover and use commands effectively:
|
|
81
|
+
|
|
82
|
+
- **`CCW-help`** - Get interactive help and command recommendations
|
|
83
|
+
- **`CCW-issue`** - Report bugs or request features using guided templates
|
|
84
|
+
|
|
85
|
+
The Command Guide provides:
|
|
86
|
+
- 🔍 **Smart Command Search** - Find commands by keyword, category, or use case
|
|
87
|
+
- 🤖 **Next-Step Recommendations** - Get suggestions for what to do after any command
|
|
88
|
+
- 📖 **Detailed Documentation** - View arguments, examples, and best practices
|
|
89
|
+
- 🎓 **Beginner Onboarding** - Learn the 14 core commands through guided learning paths
|
|
90
|
+
- 📝 **Issue Reporting** - Generate standardized bug reports and feature requests
|
|
91
|
+
|
|
92
|
+
**Usage Examples**:
|
|
93
|
+
```
|
|
94
|
+
User: "CCW-help"
|
|
95
|
+
→ Interactive menu with command search, recommendations, and documentation
|
|
96
|
+
|
|
97
|
+
User: "What should I do after /workflow:plan?"
|
|
98
|
+
→ Recommends /workflow:execute, /workflow:action-plan-verify with workflow patterns
|
|
99
|
+
|
|
100
|
+
User: "CCW-issue"
|
|
101
|
+
→ Guided template generation for bugs, features, or question inquiries
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 🚀 Quick Start
|
|
107
|
+
|
|
108
|
+
The best way to get started is by following the 5-minute tutorial in the [**Getting Started Guide**](GETTING_STARTED.md).
|
|
109
|
+
|
|
110
|
+
Here's a quick example of a common development workflow:
|
|
111
|
+
|
|
112
|
+
### **Option 1: Lite-Plan Workflow** (⚡ Recommended for Quick Tasks)
|
|
113
|
+
|
|
114
|
+
Lightweight interactive workflow with in-memory planning and immediate execution:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# Basic usage with auto-detection
|
|
118
|
+
/workflow:lite-plan "Add JWT authentication to user login"
|
|
119
|
+
|
|
120
|
+
# Force code exploration
|
|
121
|
+
/workflow:lite-plan -e "Refactor logging module for better performance"
|
|
122
|
+
|
|
123
|
+
# Basic usage
|
|
124
|
+
/workflow:lite-plan "Add unit tests for authentication service"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**Interactive Flow**:
|
|
128
|
+
1. **Phase 1**: Automatic task analysis and smart code exploration (if needed)
|
|
129
|
+
2. **Phase 2**: Answer clarification questions (if any)
|
|
130
|
+
3. **Phase 3**: Review generated plan and task breakdown
|
|
131
|
+
4. **Phase 4**: Three-dimensional confirmation:
|
|
132
|
+
- ✅ Confirm/Modify/Cancel task
|
|
133
|
+
- 🔧 Choose execution: Agent / Provide Plan Only / CLI (Gemini/Qwen/Codex)
|
|
134
|
+
- 🔍 Optional code review: No / Claude / Gemini / Qwen / Codex
|
|
135
|
+
5. **Phase 5**: Watch live execution and task tracking
|
|
136
|
+
|
|
137
|
+
### **Option 2: Lite-Fix Workflow** (🐛 Recommended for Bug Fixes)
|
|
138
|
+
|
|
139
|
+
Intelligent bug diagnosis and fix workflow with adaptive severity assessment:
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
# Standard bug fix (auto-adapts based on severity)
|
|
143
|
+
/workflow:lite-fix "User avatar upload fails with 413 error"
|
|
144
|
+
|
|
145
|
+
# Production hotfix mode
|
|
146
|
+
/workflow:lite-fix --hotfix "Payment gateway 5xx errors"
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Workflow Features**:
|
|
150
|
+
- **Phase 1**: Intelligent root cause diagnosis with adaptive search
|
|
151
|
+
- **Phase 2**: Automatic impact assessment and risk scoring
|
|
152
|
+
- **Phase 3**: Fix strategy generation based on complexity
|
|
153
|
+
- **Phase 4**: Risk-aware verification planning
|
|
154
|
+
- **Phase 5**: User confirmation with execution selection
|
|
155
|
+
- **Phase 6**: Execution dispatch with complete artifact tracking
|
|
156
|
+
|
|
157
|
+
**Session Artifacts** (saved to `.workflow/.lite-fix/{bug-slug}-{timestamp}/`):
|
|
158
|
+
- `diagnosis.json` - Root cause analysis and reproduction steps
|
|
159
|
+
- `impact.json` - Risk score, severity, and workflow adaptations
|
|
160
|
+
- `fix-plan.json` - Fix strategy and implementation tasks
|
|
161
|
+
- `task.json` - Enhanced Task JSON with complete context
|
|
162
|
+
- `followup.json` - Auto-generated follow-up tasks (hotfix mode only)
|
|
163
|
+
|
|
164
|
+
### **Option 3: Full Workflow** (📋 Comprehensive Planning)
|
|
165
|
+
|
|
166
|
+
Traditional multi-stage workflow for complex projects:
|
|
167
|
+
|
|
168
|
+
1. **Create Plan** (auto-starts session):
|
|
169
|
+
```bash
|
|
170
|
+
/workflow:plan "Implement JWT-based user login and registration"
|
|
171
|
+
```
|
|
172
|
+
2. **Execute Plan**:
|
|
173
|
+
```bash
|
|
174
|
+
/workflow:execute
|
|
175
|
+
```
|
|
176
|
+
3. **View Status** (optional):
|
|
177
|
+
```bash
|
|
178
|
+
/workflow:status
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 📚 Documentation
|
|
184
|
+
|
|
185
|
+
CCW provides comprehensive documentation to help you get started quickly and master advanced features:
|
|
186
|
+
|
|
187
|
+
### 📖 **Getting Started**
|
|
188
|
+
- [**Getting Started Guide**](GETTING_STARTED.md) - 5-minute quick start tutorial
|
|
189
|
+
- [**Installation Guide**](INSTALL.md) - Detailed installation instructions ([中文](INSTALL_CN.md))
|
|
190
|
+
- [**Workflow Decision Guide**](WORKFLOW_DECISION_GUIDE.md) - 🌳 Interactive flowchart to choose the right command
|
|
191
|
+
- [**Examples**](EXAMPLES.md) - Real-world use cases and practical examples
|
|
192
|
+
- [**FAQ**](FAQ.md) - Common questions and troubleshooting
|
|
193
|
+
|
|
194
|
+
### 🏗️ **Architecture & Design**
|
|
195
|
+
- [**Architecture Overview**](ARCHITECTURE.md) - System design and core components
|
|
196
|
+
- [**Project Introduction**](PROJECT_INTRODUCTION.md) - Detailed project overview
|
|
197
|
+
- [**Workflow Diagrams**](WORKFLOW_DIAGRAMS.md) - Visual workflow representations
|
|
198
|
+
|
|
199
|
+
### 📋 **Command Reference**
|
|
200
|
+
- [**Command Reference**](COMMAND_REFERENCE.md) - Complete list of all commands
|
|
201
|
+
- [**Command Spec**](COMMAND_SPEC.md) - Detailed technical specifications
|
|
202
|
+
- [**Command Flow Standard**](COMMAND_FLOW_STANDARD.md) - Command design patterns
|
|
203
|
+
|
|
204
|
+
### 🤝 **Contributing**
|
|
205
|
+
- [**Contributing Guide**](CONTRIBUTING.md) - How to contribute to CCW
|
|
206
|
+
- [**Changelog**](CHANGELOG.md) - Version history and release notes
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## 🤝 Contributing & Support
|
|
211
|
+
|
|
212
|
+
- **Repository**: [GitHub - Claude-Code-Workflow](https://github.com/catlog22/Claude-Code-Workflow)
|
|
213
|
+
- **Issues**: Report bugs or request features on [GitHub Issues](https://github.com/catlog22/Claude-Code-Workflow/issues).
|
|
214
|
+
- **Discussions**: Join the [Community Forum](https://github.com/catlog22/Claude-Code-Workflow/discussions).
|
|
215
|
+
- **Contributing**: See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.
|
|
216
|
+
|
|
217
|
+
## 📄 License
|
|
218
|
+
|
|
219
|
+
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.
|
package/ccw/README.md
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# CCW - Claude Code Workflow CLI
|
|
2
|
+
|
|
3
|
+
A command-line tool for viewing workflow sessions and code review results from the Claude Code Workflow system.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Install globally
|
|
9
|
+
npm install -g ccw
|
|
10
|
+
|
|
11
|
+
# Or install from local source
|
|
12
|
+
cd path/to/ccw
|
|
13
|
+
npm install
|
|
14
|
+
npm link
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### View Dashboard
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Open workflow dashboard in browser
|
|
23
|
+
ccw view
|
|
24
|
+
|
|
25
|
+
# Specify project path
|
|
26
|
+
ccw view -p /path/to/project
|
|
27
|
+
|
|
28
|
+
# Generate dashboard without opening browser
|
|
29
|
+
ccw view --no-browser
|
|
30
|
+
|
|
31
|
+
# Custom output path
|
|
32
|
+
ccw view -o report.html
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Features
|
|
36
|
+
|
|
37
|
+
### Workflow Dashboard
|
|
38
|
+
- **Active Sessions**: View all active workflow sessions with task progress
|
|
39
|
+
- **Archived Sessions**: Browse completed/archived sessions
|
|
40
|
+
- **Task Tracking**: See individual task status (pending/in_progress/completed)
|
|
41
|
+
- **Progress Bars**: Visual progress indicators for each session
|
|
42
|
+
|
|
43
|
+
### Review Integration
|
|
44
|
+
- **Code Review Findings**: View results from `review-module-cycle`
|
|
45
|
+
- **Severity Distribution**: Critical/High/Medium/Low finding counts
|
|
46
|
+
- **Dimension Analysis**: Findings by review dimension (Security, Architecture, Quality, etc.)
|
|
47
|
+
- **Tabbed Interface**: Switch between Workflow and Reviews tabs
|
|
48
|
+
|
|
49
|
+
## Dashboard Data Sources
|
|
50
|
+
|
|
51
|
+
The CLI reads data from the `.workflow/` directory structure:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
.workflow/
|
|
55
|
+
├── active/
|
|
56
|
+
│ └── WFS-{session-id}/
|
|
57
|
+
│ ├── workflow-session.json # Session metadata
|
|
58
|
+
│ ├── .task/
|
|
59
|
+
│ │ └── IMPL-*.json # Task definitions
|
|
60
|
+
│ └── .review/
|
|
61
|
+
│ ├── review-progress.json # Review progress
|
|
62
|
+
│ └── dimensions/
|
|
63
|
+
│ └── *.json # Dimension findings
|
|
64
|
+
└── archives/
|
|
65
|
+
└── WFS-{session-id}/ # Archived sessions
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Bundled Templates
|
|
69
|
+
|
|
70
|
+
The CLI includes bundled dashboard templates:
|
|
71
|
+
- `workflow-dashboard.html` - Workflow session and task visualization
|
|
72
|
+
- `review-cycle-dashboard.html` - Code review findings display
|
|
73
|
+
|
|
74
|
+
No external template installation required - templates are included in the npm package.
|
|
75
|
+
|
|
76
|
+
## Requirements
|
|
77
|
+
|
|
78
|
+
- Node.js >= 16.0.0
|
|
79
|
+
- npm or yarn
|
|
80
|
+
|
|
81
|
+
## Integration with Claude Code Workflow
|
|
82
|
+
|
|
83
|
+
This CLI is a standalone tool that works with the Claude Code Workflow system:
|
|
84
|
+
|
|
85
|
+
1. **Install CCW CLI** (via npm)
|
|
86
|
+
- `npm install -g ccw`
|
|
87
|
+
- Provides `ccw view` command for dashboard viewing
|
|
88
|
+
- Templates are bundled - no additional installation required
|
|
89
|
+
|
|
90
|
+
2. **Optional: Install Claude Code Workflow** (via `Install-Claude.ps1`)
|
|
91
|
+
- Provides workflow commands, agents, and automation
|
|
92
|
+
- CCW will automatically detect and display workflow sessions
|
|
93
|
+
|
|
94
|
+
## Options
|
|
95
|
+
|
|
96
|
+
| Option | Description |
|
|
97
|
+
|--------|-------------|
|
|
98
|
+
| `-p, --path <path>` | Path to project directory (default: current directory) |
|
|
99
|
+
| `--no-browser` | Generate dashboard without opening browser |
|
|
100
|
+
| `-o, --output <file>` | Custom output path for HTML file |
|
|
101
|
+
| `-V, --version` | Display version number |
|
|
102
|
+
| `-h, --help` | Display help information |
|
|
103
|
+
|
|
104
|
+
## Development
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
# Clone and install dependencies
|
|
108
|
+
git clone <repo-url>
|
|
109
|
+
cd ccw
|
|
110
|
+
npm install
|
|
111
|
+
|
|
112
|
+
# Link for local testing
|
|
113
|
+
npm link
|
|
114
|
+
|
|
115
|
+
# Test the CLI
|
|
116
|
+
ccw view -p /path/to/test/project
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
|
|
121
|
+
MIT
|
package/ccw/bin/ccw.js
ADDED
package/ccw/src/cli.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
import { viewCommand } from './commands/view.js';
|
|
3
|
+
import { serveCommand } from './commands/serve.js';
|
|
4
|
+
import { installCommand } from './commands/install.js';
|
|
5
|
+
import { uninstallCommand } from './commands/uninstall.js';
|
|
6
|
+
import { upgradeCommand } from './commands/upgrade.js';
|
|
7
|
+
import { listCommand } from './commands/list.js';
|
|
8
|
+
import { readFileSync, existsSync } from 'fs';
|
|
9
|
+
import { fileURLToPath } from 'url';
|
|
10
|
+
import { dirname, join } from 'path';
|
|
11
|
+
|
|
12
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
+
const __dirname = dirname(__filename);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Load package.json with error handling
|
|
17
|
+
* @returns {Object} - Package info with version
|
|
18
|
+
*/
|
|
19
|
+
function loadPackageInfo() {
|
|
20
|
+
const pkgPath = join(__dirname, '../package.json');
|
|
21
|
+
|
|
22
|
+
try {
|
|
23
|
+
if (!existsSync(pkgPath)) {
|
|
24
|
+
console.error('Fatal Error: package.json not found.');
|
|
25
|
+
console.error(`Expected location: ${pkgPath}`);
|
|
26
|
+
process.exit(1);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const content = readFileSync(pkgPath, 'utf8');
|
|
30
|
+
return JSON.parse(content);
|
|
31
|
+
} catch (error) {
|
|
32
|
+
if (error instanceof SyntaxError) {
|
|
33
|
+
console.error('Fatal Error: package.json contains invalid JSON.');
|
|
34
|
+
console.error(`Parse error: ${error.message}`);
|
|
35
|
+
} else {
|
|
36
|
+
console.error('Fatal Error: Could not read package.json.');
|
|
37
|
+
console.error(`Error: ${error.message}`);
|
|
38
|
+
}
|
|
39
|
+
process.exit(1);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const pkg = loadPackageInfo();
|
|
44
|
+
|
|
45
|
+
export function run(argv) {
|
|
46
|
+
const program = new Command();
|
|
47
|
+
|
|
48
|
+
program
|
|
49
|
+
.name('ccw')
|
|
50
|
+
.description('Claude Code Workflow CLI - Dashboard and workflow tools')
|
|
51
|
+
.version(pkg.version);
|
|
52
|
+
|
|
53
|
+
// View command (server mode with live path switching)
|
|
54
|
+
program
|
|
55
|
+
.command('view')
|
|
56
|
+
.description('Open workflow dashboard server with live path switching')
|
|
57
|
+
.option('-p, --path <path>', 'Path to project directory', '.')
|
|
58
|
+
.option('--port <port>', 'Server port', '3456')
|
|
59
|
+
.option('--no-browser', 'Start server without opening browser')
|
|
60
|
+
.action(viewCommand);
|
|
61
|
+
|
|
62
|
+
// Serve command (alias for view)
|
|
63
|
+
program
|
|
64
|
+
.command('serve')
|
|
65
|
+
.description('Alias for view command')
|
|
66
|
+
.option('-p, --path <path>', 'Initial project directory')
|
|
67
|
+
.option('--port <port>', 'Server port', '3456')
|
|
68
|
+
.option('--no-browser', 'Start server without opening browser')
|
|
69
|
+
.action(serveCommand);
|
|
70
|
+
|
|
71
|
+
// Install command
|
|
72
|
+
program
|
|
73
|
+
.command('install')
|
|
74
|
+
.description('Install Claude Code Workflow to your system')
|
|
75
|
+
.option('-m, --mode <mode>', 'Installation mode: Global or Path')
|
|
76
|
+
.option('-p, --path <path>', 'Installation path (for Path mode)')
|
|
77
|
+
.option('-f, --force', 'Force installation without prompts')
|
|
78
|
+
.action(installCommand);
|
|
79
|
+
|
|
80
|
+
// Uninstall command
|
|
81
|
+
program
|
|
82
|
+
.command('uninstall')
|
|
83
|
+
.description('Uninstall Claude Code Workflow')
|
|
84
|
+
.action(uninstallCommand);
|
|
85
|
+
|
|
86
|
+
// Upgrade command
|
|
87
|
+
program
|
|
88
|
+
.command('upgrade')
|
|
89
|
+
.description('Upgrade Claude Code Workflow installations')
|
|
90
|
+
.option('-a, --all', 'Upgrade all installations without prompting')
|
|
91
|
+
.action(upgradeCommand);
|
|
92
|
+
|
|
93
|
+
// List command
|
|
94
|
+
program
|
|
95
|
+
.command('list')
|
|
96
|
+
.description('List all installed Claude Code Workflow instances')
|
|
97
|
+
.action(listCommand);
|
|
98
|
+
|
|
99
|
+
program.parse(argv);
|
|
100
|
+
}
|