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,342 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"name": "string - Token set name",
|
|
4
|
+
"description": "string - Token set description",
|
|
5
|
+
|
|
6
|
+
"color": {
|
|
7
|
+
"background": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" }, "$description": "optional" },
|
|
8
|
+
"foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
9
|
+
"card": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
10
|
+
"card-foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
11
|
+
"border": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
12
|
+
"input": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
13
|
+
"ring": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
14
|
+
|
|
15
|
+
"interactive": {
|
|
16
|
+
"primary": {
|
|
17
|
+
"default": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
18
|
+
"hover": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
19
|
+
"active": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
20
|
+
"disabled": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
21
|
+
"foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } }
|
|
22
|
+
},
|
|
23
|
+
"secondary": {
|
|
24
|
+
"_comment": "Same structure as primary",
|
|
25
|
+
"default": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
26
|
+
"hover": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
27
|
+
"active": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
28
|
+
"disabled": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
29
|
+
"foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } }
|
|
30
|
+
},
|
|
31
|
+
"accent": {
|
|
32
|
+
"_comment": "Same structure (no disabled state)",
|
|
33
|
+
"default": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
34
|
+
"hover": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
35
|
+
"active": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
36
|
+
"foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } }
|
|
37
|
+
},
|
|
38
|
+
"destructive": {
|
|
39
|
+
"_comment": "Same structure (no active/disabled states)",
|
|
40
|
+
"default": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
41
|
+
"hover": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
42
|
+
"foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
"muted": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
47
|
+
"muted-foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
48
|
+
|
|
49
|
+
"chart": {
|
|
50
|
+
"1": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
51
|
+
"2": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
52
|
+
"3": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
53
|
+
"4": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
54
|
+
"5": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } }
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
"sidebar": {
|
|
58
|
+
"background": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
59
|
+
"foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
60
|
+
"primary": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
61
|
+
"primary-foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
62
|
+
"accent": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
63
|
+
"accent-foreground": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
64
|
+
"border": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } },
|
|
65
|
+
"ring": { "$type": "color", "$value": { "light": "oklch(...)", "dark": "oklch(...)" } }
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
"typography": {
|
|
70
|
+
"font_families": {
|
|
71
|
+
"sans": "string - 'Font Name', fallback1, fallback2",
|
|
72
|
+
"serif": "string",
|
|
73
|
+
"mono": "string"
|
|
74
|
+
},
|
|
75
|
+
"font_sizes": {
|
|
76
|
+
"xs": "0.75rem",
|
|
77
|
+
"sm": "0.875rem",
|
|
78
|
+
"base": "1rem",
|
|
79
|
+
"lg": "1.125rem",
|
|
80
|
+
"xl": "1.25rem",
|
|
81
|
+
"2xl": "1.5rem",
|
|
82
|
+
"3xl": "1.875rem",
|
|
83
|
+
"4xl": "2.25rem"
|
|
84
|
+
},
|
|
85
|
+
"line_heights": {
|
|
86
|
+
"tight": "number",
|
|
87
|
+
"normal": "number",
|
|
88
|
+
"relaxed": "number"
|
|
89
|
+
},
|
|
90
|
+
"letter_spacing": {
|
|
91
|
+
"tight": "string",
|
|
92
|
+
"normal": "string",
|
|
93
|
+
"wide": "string"
|
|
94
|
+
},
|
|
95
|
+
"combinations": [
|
|
96
|
+
{
|
|
97
|
+
"name": "h1|h2|h3|h4|h5|h6|body|caption",
|
|
98
|
+
"font_family": "sans|serif|mono",
|
|
99
|
+
"font_size": "string - reference to font_sizes",
|
|
100
|
+
"font_weight": "number - 400|500|600|700",
|
|
101
|
+
"line_height": "string",
|
|
102
|
+
"letter_spacing": "string"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
"spacing": {
|
|
108
|
+
"0": "0",
|
|
109
|
+
"1": "0.25rem",
|
|
110
|
+
"2": "0.5rem",
|
|
111
|
+
"3": "0.75rem",
|
|
112
|
+
"4": "1rem",
|
|
113
|
+
"6": "1.5rem",
|
|
114
|
+
"8": "2rem",
|
|
115
|
+
"12": "3rem",
|
|
116
|
+
"16": "4rem",
|
|
117
|
+
"20": "5rem",
|
|
118
|
+
"24": "6rem",
|
|
119
|
+
"32": "8rem",
|
|
120
|
+
"40": "10rem",
|
|
121
|
+
"48": "12rem",
|
|
122
|
+
"56": "14rem",
|
|
123
|
+
"64": "16rem"
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
"opacity": {
|
|
127
|
+
"disabled": "0.5",
|
|
128
|
+
"hover": "0.8",
|
|
129
|
+
"active": "1"
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
"shadows": {
|
|
133
|
+
"2xs": "string - CSS shadow value",
|
|
134
|
+
"xs": "string",
|
|
135
|
+
"sm": "string",
|
|
136
|
+
"DEFAULT": "string",
|
|
137
|
+
"md": "string",
|
|
138
|
+
"lg": "string",
|
|
139
|
+
"xl": "string",
|
|
140
|
+
"2xl": "string"
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
"border_radius": {
|
|
144
|
+
"sm": "string - calc() or fixed",
|
|
145
|
+
"md": "string",
|
|
146
|
+
"lg": "string",
|
|
147
|
+
"xl": "string",
|
|
148
|
+
"DEFAULT": "string"
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
"breakpoints": {
|
|
152
|
+
"sm": "640px",
|
|
153
|
+
"md": "768px",
|
|
154
|
+
"lg": "1024px",
|
|
155
|
+
"xl": "1280px",
|
|
156
|
+
"2xl": "1536px"
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
"component": {
|
|
160
|
+
"_comment_pattern": "COMPONENT PATTERN - Apply to: button, card, input, dialog, dropdown, toast, accordion, tabs, switch, checkbox, badge, alert",
|
|
161
|
+
"_example_button": {
|
|
162
|
+
"$type": "component",
|
|
163
|
+
"base": {
|
|
164
|
+
"_comment": "Layout properties using camelCase",
|
|
165
|
+
"display": "inline-flex|flex|block",
|
|
166
|
+
"alignItems": "center",
|
|
167
|
+
"borderRadius": "{border_radius.md}",
|
|
168
|
+
"transition": "{transitions.default}"
|
|
169
|
+
},
|
|
170
|
+
"size": {
|
|
171
|
+
"small": { "height": "32px", "padding": "{spacing.2} {spacing.3}", "fontSize": "{typography.font_sizes.xs}" },
|
|
172
|
+
"default": { "height": "40px", "padding": "{spacing.2} {spacing.4}" },
|
|
173
|
+
"large": { "height": "48px", "padding": "{spacing.3} {spacing.6}", "fontSize": "{typography.font_sizes.base}" }
|
|
174
|
+
},
|
|
175
|
+
"variant": {
|
|
176
|
+
"variantName": {
|
|
177
|
+
"default": { "backgroundColor": "{color.interactive.primary.default}", "color": "{color.interactive.primary.foreground}" },
|
|
178
|
+
"hover": { "backgroundColor": "{color.interactive.primary.hover}" },
|
|
179
|
+
"active": { "backgroundColor": "{color.interactive.primary.active}" },
|
|
180
|
+
"disabled": { "backgroundColor": "{color.interactive.primary.disabled}", "opacity": "{opacity.disabled}", "cursor": "not-allowed" },
|
|
181
|
+
"focus": { "outline": "2px solid {color.ring}", "outlineOffset": "2px" }
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"state": {
|
|
185
|
+
"_comment": "For stateful components (dialog, accordion, etc.)",
|
|
186
|
+
"open": { "animation": "{animation.name.component-open} {animation.duration.normal} {animation.easing.ease-out}" },
|
|
187
|
+
"closed": { "animation": "{animation.name.component-close} {animation.duration.normal} {animation.easing.ease-in}" }
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
|
|
192
|
+
"elevation": {
|
|
193
|
+
"$type": "elevation",
|
|
194
|
+
"base": { "$value": "0" },
|
|
195
|
+
"overlay": { "$value": "40" },
|
|
196
|
+
"dropdown": { "$value": "50" },
|
|
197
|
+
"dialog": { "$value": "50" },
|
|
198
|
+
"tooltip": { "$value": "60" }
|
|
199
|
+
},
|
|
200
|
+
|
|
201
|
+
"_metadata": {
|
|
202
|
+
"version": "string - W3C version or custom version",
|
|
203
|
+
"created": "ISO timestamp - 2024-01-01T00:00:00Z",
|
|
204
|
+
"source": "code-import|explore|text",
|
|
205
|
+
"theme_colors_guide": {
|
|
206
|
+
"description": "Theme colors are the core brand identity colors that define the visual hierarchy and emotional tone of the design system",
|
|
207
|
+
"primary": {
|
|
208
|
+
"role": "Main brand color",
|
|
209
|
+
"usage": "Primary actions (CTAs, key interactive elements, navigation highlights, primary buttons)",
|
|
210
|
+
"contrast_requirement": "WCAG AA - 4.5:1 for text, 3:1 for UI components"
|
|
211
|
+
},
|
|
212
|
+
"secondary": {
|
|
213
|
+
"role": "Supporting brand color",
|
|
214
|
+
"usage": "Secondary actions and complementary elements (less prominent buttons, secondary navigation, supporting features)",
|
|
215
|
+
"principle": "Should complement primary without competing for attention"
|
|
216
|
+
},
|
|
217
|
+
"accent": {
|
|
218
|
+
"role": "Highlight color for emphasis",
|
|
219
|
+
"usage": "Attention-grabbing elements used sparingly (badges, notifications, special promotions, highlights)",
|
|
220
|
+
"principle": "Should create strong visual contrast to draw focus"
|
|
221
|
+
},
|
|
222
|
+
"destructive": {
|
|
223
|
+
"role": "Error and destructive action color",
|
|
224
|
+
"usage": "Delete buttons, error messages, critical warnings",
|
|
225
|
+
"principle": "Must signal danger or caution clearly"
|
|
226
|
+
},
|
|
227
|
+
"harmony_note": "All theme colors must work harmoniously together and align with brand identity. In multi-file extraction, prioritize definitions with semantic comments explaining brand intent."
|
|
228
|
+
},
|
|
229
|
+
"conflicts": [
|
|
230
|
+
{
|
|
231
|
+
"token_name": "string - which token has conflicts",
|
|
232
|
+
"category": "string - colors|typography|etc",
|
|
233
|
+
"definitions": [
|
|
234
|
+
{
|
|
235
|
+
"value": "string - token value",
|
|
236
|
+
"source_file": "string - absolute path",
|
|
237
|
+
"line_number": "number",
|
|
238
|
+
"context": "string - surrounding comment or null",
|
|
239
|
+
"semantic_intent": "string - interpretation of definition"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"selected_value": "string - final chosen value",
|
|
243
|
+
"selection_reason": "string - why this value was chosen"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"code_snippets": [
|
|
247
|
+
{
|
|
248
|
+
"category": "colors|typography|spacing|shadows|border_radius|component",
|
|
249
|
+
"token_name": "string - which token this snippet defines",
|
|
250
|
+
"source_file": "string - absolute path",
|
|
251
|
+
"line_start": "number",
|
|
252
|
+
"line_end": "number",
|
|
253
|
+
"snippet": "string - complete code block",
|
|
254
|
+
"context_type": "css-variable|css-class|js-object|scss-variable|etc"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"usage_recommendations": {
|
|
258
|
+
"typography": {
|
|
259
|
+
"common_sizes": {
|
|
260
|
+
"small_text": "sm (0.875rem)",
|
|
261
|
+
"body_text": "base (1rem)",
|
|
262
|
+
"heading": "2xl-4xl"
|
|
263
|
+
},
|
|
264
|
+
"common_combinations": [
|
|
265
|
+
{
|
|
266
|
+
"name": "Heading + Body",
|
|
267
|
+
"heading": "2xl",
|
|
268
|
+
"body": "base",
|
|
269
|
+
"use_case": "Article sections"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"spacing": {
|
|
274
|
+
"size_guide": {
|
|
275
|
+
"tight": "1-2 (0.25rem-0.5rem)",
|
|
276
|
+
"normal": "4-6 (1rem-1.5rem)",
|
|
277
|
+
"loose": "8-12 (2rem-3rem)"
|
|
278
|
+
},
|
|
279
|
+
"common_patterns": [
|
|
280
|
+
{
|
|
281
|
+
"pattern": "padding-4 margin-bottom-6",
|
|
282
|
+
"use_case": "Card content spacing",
|
|
283
|
+
"pixel_value": "1rem padding, 1.5rem margin"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
|
|
290
|
+
"_field_rules": {
|
|
291
|
+
"schema": "$schema MUST reference W3C Design Tokens format specification",
|
|
292
|
+
"colors": "All color values MUST use OKLCH format with light/dark mode values",
|
|
293
|
+
"types": "All tokens MUST include $type metadata (color, dimension, duration, component, elevation)",
|
|
294
|
+
"states": "Color tokens MUST include interactive states (default, hover, active, disabled) where applicable",
|
|
295
|
+
"fonts": "Typography font_families MUST include Google Fonts with fallback stacks",
|
|
296
|
+
"spacing": "Spacing MUST use systematic scale (multiples of 0.25rem base unit)",
|
|
297
|
+
"components": "Component definitions MUST be structured objects referencing other tokens via {token.path} syntax",
|
|
298
|
+
"component_states": "Component definitions MUST include state-based styling (default, hover, active, focus, disabled)",
|
|
299
|
+
"elevation": "elevation z-index values MUST be defined for layered components (overlay, dropdown, dialog, tooltip)",
|
|
300
|
+
"metadata_guide": "_metadata.theme_colors_guide RECOMMENDED in all modes to help users understand theme color roles and usage",
|
|
301
|
+
"metadata_conflicts": "_metadata.conflicts MANDATORY in Code Import mode when conflicting definitions detected",
|
|
302
|
+
"metadata_snippets": "_metadata.code_snippets ONLY present in Code Import mode",
|
|
303
|
+
"metadata_recommendations": "_metadata.usage_recommendations RECOMMENDED for universal components"
|
|
304
|
+
},
|
|
305
|
+
|
|
306
|
+
"_required_components": {
|
|
307
|
+
"_comment": "12+ components required, use pattern above",
|
|
308
|
+
"button": "5 variants (primary, secondary, destructive, outline, ghost) + 3 sizes + states (default, hover, active, disabled, focus)",
|
|
309
|
+
"card": "2 variants (default, interactive) + hover animations",
|
|
310
|
+
"input": "states (default, focus, disabled, error) + 3 sizes",
|
|
311
|
+
"dialog": "overlay + content + states (open, closed with animations)",
|
|
312
|
+
"dropdown": "trigger (references button) + content + item (with states) + states (open, closed)",
|
|
313
|
+
"toast": "2 variants (default, destructive) + states (enter, exit with animations)",
|
|
314
|
+
"accordion": "trigger + content + states (open, closed with animations)",
|
|
315
|
+
"tabs": "list + trigger (states: default, hover, active, disabled) + content",
|
|
316
|
+
"switch": "root + thumb + states (checked, disabled)",
|
|
317
|
+
"checkbox": "states (default, checked, disabled, focus)",
|
|
318
|
+
"badge": "4 variants (default, secondary, destructive, outline)",
|
|
319
|
+
"alert": "2 variants (default, destructive)"
|
|
320
|
+
},
|
|
321
|
+
|
|
322
|
+
"_token_reference_syntax": {
|
|
323
|
+
"_comment": "Use {token.path} to reference other tokens",
|
|
324
|
+
"examples": [
|
|
325
|
+
"{color.interactive.primary.default}",
|
|
326
|
+
"{spacing.4}",
|
|
327
|
+
"{typography.font_sizes.sm}"
|
|
328
|
+
],
|
|
329
|
+
"resolution": "References are resolved during CSS generation",
|
|
330
|
+
"nested": "Supports nested references (e.g., {component.button.base})"
|
|
331
|
+
},
|
|
332
|
+
|
|
333
|
+
"_conflict_resolution_rules": {
|
|
334
|
+
"_comment": "Code Import Mode only",
|
|
335
|
+
"detect": "MUST detect when same token has different values across files",
|
|
336
|
+
"read": "MUST read semantic comments (/* ... */) surrounding definitions",
|
|
337
|
+
"prioritize": "MUST prioritize definitions with semantic intent over bare values",
|
|
338
|
+
"record": "MUST record ALL definitions in conflicts array, not just selected one",
|
|
339
|
+
"explain": "MUST explain selection_reason referencing semantic context",
|
|
340
|
+
"verify": "For core theme tokens (primary, secondary, accent): MUST verify selected value aligns with overall color scheme described in comments"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"templates": [
|
|
4
|
+
{
|
|
5
|
+
"target": "string - page/component name (e.g., hero-section, product-card)",
|
|
6
|
+
"description": "string - layout description",
|
|
7
|
+
"component_type": "universal|specialized",
|
|
8
|
+
"device_type": "mobile|tablet|desktop|responsive",
|
|
9
|
+
"layout_strategy": "string - grid-3col|flex-row|stack|sidebar|etc",
|
|
10
|
+
|
|
11
|
+
"structure": {
|
|
12
|
+
"tag": "string - HTML5 semantic tag (header|nav|main|section|article|aside|footer|div|etc)",
|
|
13
|
+
"attributes": {
|
|
14
|
+
"class": "string - semantic class name",
|
|
15
|
+
"role": "string - ARIA role (navigation|main|complementary|etc)",
|
|
16
|
+
"aria-label": "string - ARIA label",
|
|
17
|
+
"aria-describedby": "string - ARIA describedby",
|
|
18
|
+
"data-state": "string - data attributes for state management (open|closed|etc)"
|
|
19
|
+
},
|
|
20
|
+
"layout": {
|
|
21
|
+
"_comment": "LAYOUT PROPERTIES ONLY - Use camelCase for property names",
|
|
22
|
+
"display": "grid|flex|block|inline-flex",
|
|
23
|
+
"grid-template-columns": "{spacing.*} or CSS value (repeat(3, 1fr))",
|
|
24
|
+
"grid-template-rows": "string",
|
|
25
|
+
"gap": "{spacing.*}",
|
|
26
|
+
"padding": "{spacing.*}",
|
|
27
|
+
"margin": "{spacing.*}",
|
|
28
|
+
"alignItems": "start|center|end|stretch",
|
|
29
|
+
"justifyContent": "start|center|end|space-between|space-around",
|
|
30
|
+
"flexDirection": "row|column",
|
|
31
|
+
"flexWrap": "wrap|nowrap",
|
|
32
|
+
"position": "relative|absolute|fixed|sticky",
|
|
33
|
+
"top": "string",
|
|
34
|
+
"right": "string",
|
|
35
|
+
"bottom": "string",
|
|
36
|
+
"left": "string",
|
|
37
|
+
"width": "string",
|
|
38
|
+
"height": "string",
|
|
39
|
+
"maxWidth": "string",
|
|
40
|
+
"minHeight": "string"
|
|
41
|
+
},
|
|
42
|
+
"responsive": {
|
|
43
|
+
"_comment": "ONLY properties that CHANGE at each breakpoint - NO repetition",
|
|
44
|
+
"sm": {
|
|
45
|
+
"grid-template-columns": "1fr",
|
|
46
|
+
"padding": "{spacing.4}"
|
|
47
|
+
},
|
|
48
|
+
"md": {
|
|
49
|
+
"grid-template-columns": "repeat(2, 1fr)",
|
|
50
|
+
"gap": "{spacing.6}"
|
|
51
|
+
},
|
|
52
|
+
"lg": {
|
|
53
|
+
"grid-template-columns": "repeat(3, 1fr)"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"children": [
|
|
57
|
+
{
|
|
58
|
+
"_comment": "Recursive structure - same fields as parent",
|
|
59
|
+
"tag": "string",
|
|
60
|
+
"attributes": {},
|
|
61
|
+
"layout": {},
|
|
62
|
+
"responsive": {},
|
|
63
|
+
"children": [],
|
|
64
|
+
"content": "string or {{placeholder}}"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"content": "string - text content or {{placeholder}} for dynamic content"
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
"accessibility": {
|
|
71
|
+
"patterns": [
|
|
72
|
+
"string - ARIA patterns used (e.g., WAI-ARIA Tabs pattern, Dialog pattern)"
|
|
73
|
+
],
|
|
74
|
+
"keyboard_navigation": [
|
|
75
|
+
"string - keyboard shortcuts (e.g., Tab/Shift+Tab navigation, Escape to close)"
|
|
76
|
+
],
|
|
77
|
+
"focus_management": "string - focus trap strategy, initial focus target",
|
|
78
|
+
"screen_reader_notes": [
|
|
79
|
+
"string - screen reader announcements (e.g., Dialog opened, Tab selected)"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
"usage_guide": {
|
|
84
|
+
"common_sizes": {
|
|
85
|
+
"small": {
|
|
86
|
+
"dimensions": "string - e.g., px-3 py-1.5 (height: ~32px)",
|
|
87
|
+
"use_case": "string - Compact UI, mobile views"
|
|
88
|
+
},
|
|
89
|
+
"medium": {
|
|
90
|
+
"dimensions": "string - e.g., px-4 py-2 (height: ~40px)",
|
|
91
|
+
"use_case": "string - Default size for most contexts"
|
|
92
|
+
},
|
|
93
|
+
"large": {
|
|
94
|
+
"dimensions": "string - e.g., px-6 py-3 (height: ~48px)",
|
|
95
|
+
"use_case": "string - Prominent CTAs, hero sections"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"variant_recommendations": {
|
|
99
|
+
"variant_name": {
|
|
100
|
+
"description": "string - when to use this variant",
|
|
101
|
+
"typical_actions": ["string - action examples"]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"usage_context": [
|
|
105
|
+
"string - typical usage scenarios (e.g., Landing page hero, Product listing grid)"
|
|
106
|
+
],
|
|
107
|
+
"accessibility_tips": [
|
|
108
|
+
"string - accessibility best practices (e.g., Ensure heading hierarchy, Add aria-label)"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
"extraction_metadata": {
|
|
113
|
+
"source": "code-import|explore|text",
|
|
114
|
+
"created": "ISO timestamp",
|
|
115
|
+
"code_snippets": [
|
|
116
|
+
{
|
|
117
|
+
"component_name": "string - which layout component",
|
|
118
|
+
"source_file": "string - absolute path",
|
|
119
|
+
"line_start": "number",
|
|
120
|
+
"line_end": "number",
|
|
121
|
+
"snippet": "string - complete HTML/CSS/JS code block",
|
|
122
|
+
"context_type": "html-structure|css-utility|react-component|vue-component|etc"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
|
|
129
|
+
"_field_rules": {
|
|
130
|
+
"schema": "$schema MUST reference W3C Design Tokens format specification",
|
|
131
|
+
"semantic_tags": "structure.tag MUST use semantic HTML5 tags (header, nav, main, section, article, aside, footer)",
|
|
132
|
+
"aria": "structure.attributes MUST include ARIA attributes where applicable (role, aria-label, aria-describedby)",
|
|
133
|
+
"token_refs": "structure.layout MUST use {token.path} syntax for all spacing values",
|
|
134
|
+
"no_visual": "structure.layout MUST NOT include visual styling (colors, fonts, shadows - those belong in design-tokens)",
|
|
135
|
+
"layout_only": "structure.layout contains ONLY layout properties (display, grid, flex, position, spacing)",
|
|
136
|
+
"breakpoints": "structure.responsive MUST define breakpoint-specific overrides matching breakpoint tokens",
|
|
137
|
+
"no_repetition": "structure.responsive uses ONLY the properties that change at each breakpoint (no repetition)",
|
|
138
|
+
"recursive": "structure.children inherits same structure recursively for nested elements",
|
|
139
|
+
"component_type": "component_type MUST be 'universal' or 'specialized'",
|
|
140
|
+
"accessibility": "accessibility MUST include patterns, keyboard_navigation, focus_management, screen_reader_notes",
|
|
141
|
+
"usage_guide_universal": "usage_guide REQUIRED for universal components (buttons, inputs, forms, cards, navigation, etc.)",
|
|
142
|
+
"usage_guide_specialized": "usage_guide OPTIONAL for specialized components (can be simplified or omitted)",
|
|
143
|
+
"code_snippets": "extraction_metadata.code_snippets ONLY present in Code Import mode"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: context-search-strategy
|
|
3
|
+
description: Strategic guidelines for context search commands
|
|
4
|
+
type: search-guideline
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Context Search Strategy
|
|
8
|
+
|
|
9
|
+
## ⚡ Execution Environment
|
|
10
|
+
|
|
11
|
+
**CRITICAL**: All commands execute in **Bash environment** (Git Bash on Windows)
|
|
12
|
+
|
|
13
|
+
**❌ Forbidden**: Windows commands (`findstr`, `dir`, `where`) - Use Bash (`grep`, `find`, `cat`)
|
|
14
|
+
|
|
15
|
+
## ⚡ Core Search Tools
|
|
16
|
+
|
|
17
|
+
**Skill()**: FASTEST way to get context - use FIRST if SKILL exists. Three types: (1) `workflow-progress` for WFS sessions (2) tech SKILLs for stack docs (3) `{project-name}` for project docs
|
|
18
|
+
**codebase-retrieval**: Semantic file discovery via Gemini CLI with all files analysis
|
|
19
|
+
**rg (ripgrep)**: Fast content search with regex support
|
|
20
|
+
**find**: File/directory location by name patterns
|
|
21
|
+
**grep**: Built-in pattern matching (fallback when rg unavailable)
|
|
22
|
+
**get_modules_by_depth.sh**: Program architecture analysis (MANDATORY before planning)
|
|
23
|
+
|
|
24
|
+
## 📋 Tool Selection Matrix
|
|
25
|
+
|
|
26
|
+
| Need | Tool | Use Case |
|
|
27
|
+
|------|------|----------|
|
|
28
|
+
| **Workflow history** | Skill(workflow-progress) | WFS sessions lessons/conflicts - `/memory:workflow-skill-memory` |
|
|
29
|
+
| **Tech stack docs** | Skill({tech-name}) | Stack APIs/guides - `/memory:tech-research` |
|
|
30
|
+
| **Project docs** | Skill({project-name}) | Project modules/architecture - `/memory:skill-memory` |
|
|
31
|
+
| **Semantic discovery** | codebase-retrieval | Find files relevant to task/feature context |
|
|
32
|
+
| **Pattern matching** | rg | Search code content with regex |
|
|
33
|
+
| **File name lookup** | find | Locate files by name patterns |
|
|
34
|
+
| **Architecture** | get_modules_by_depth.sh | Understand program structure |
|
|
35
|
+
|
|
36
|
+
## 🔧 Quick Command Reference
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# SKILL Packages (FIRST PRIORITY - fastest context loading)
|
|
40
|
+
Skill(command: "workflow-progress") # Workflow: WFS sessions history, lessons, conflicts
|
|
41
|
+
Skill(command: "react-dev") # Tech: React APIs, patterns, best practices
|
|
42
|
+
Skill(command: "claude_dms3") # Project: Project modules, architecture, examples
|
|
43
|
+
|
|
44
|
+
# Semantic File Discovery (codebase-retrieval)
|
|
45
|
+
cd [directory] && gemini -p "
|
|
46
|
+
PURPOSE: Discover files relevant to task/feature
|
|
47
|
+
TASK: List all files related to [task/feature description]
|
|
48
|
+
MODE: analysis
|
|
49
|
+
CONTEXT: @**/*
|
|
50
|
+
EXPECTED: Relevant file paths with relevance explanation
|
|
51
|
+
RULES: Focus on direct relevance to task requirements
|
|
52
|
+
"
|
|
53
|
+
|
|
54
|
+
# Program Architecture (MANDATORY before planning)
|
|
55
|
+
~/.claude/scripts/get_modules_by_depth.sh
|
|
56
|
+
|
|
57
|
+
# Content Search (rg preferred)
|
|
58
|
+
rg "pattern" --type js -n # Search JS files with line numbers
|
|
59
|
+
rg -i "case-insensitive" # Ignore case
|
|
60
|
+
rg -C 3 "context" # Show 3 lines before/after
|
|
61
|
+
|
|
62
|
+
# File Search
|
|
63
|
+
find . -name "*.ts" -type f # Find TypeScript files
|
|
64
|
+
find . -path "*/node_modules" -prune -o -name "*.js" -print
|
|
65
|
+
|
|
66
|
+
# Workflow Examples
|
|
67
|
+
rg "IMPL-\d+" .workflow/ --type json # Find task IDs
|
|
68
|
+
find .workflow/ -name "*.json" -path "*/.task/*" # Locate task files
|
|
69
|
+
rg "status.*pending" .workflow/.task/ # Find pending tasks
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## ⚡ Performance Tips
|
|
73
|
+
|
|
74
|
+
- **rg > grep** for content search
|
|
75
|
+
- **Use --type filters** to limit file types
|
|
76
|
+
- **Exclude dirs**: `--glob '!node_modules'`
|
|
77
|
+
- **Use -F** for literal strings (no regex)
|