mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
## 主要更新 ### 1. 新增 UI 设计工作流完整指南 - 新增 `ui-design-workflow-guide.md` (12KB) - 使用 Gemini 分析 11 个 UI 设计命令文件 - 提供 4 种工作流模式详细指导: - 探索式设计(新概念) - 设计复制(模仿现有网站) - 代码优先导入 - 批量生成(高容量) - 包含架构最佳实践、性能优化和故障排查 ### 2. 更新工作流模式指南 - 在 `workflow-patterns.md` 中新增 Pattern 7: UI设计工作流 - 提供三种子模式的中文示例 - 添加 UI 设计指南的交叉引用 ### 3. 增强索引构建脚本 - 更新 `analyze_commands.py` 支持自动同步 reference 目录 - 新增 `sync_reference_directory()` 函数: - 自动删除旧的 reference 文件 - 从 `.claude/agents` 和 `.claude/commands` 复制最新文件 - 确保索引构建前 reference 目录为最新 - 增强统计输出,显示 reference 目录同步状态 ### 4. 更新索引文件 - 重建所有索引文件(all-commands.json, by-category.json 等) - 优化命令元数据和分类 - 同步最新的 UI 设计命令(包括新增的 import-from-code.md) ## 技术细节 **命令分类体系**: - Orchestrators: explore-auto, imitate-auto, batch-generate - Core Extractors: style-extract, layout-extract, animation-extract - Input & Capture: capture, explore-layers, import-from-code - Assemblers: generate, update **架构原则**: - 关注点分离:Style、Structure、Motion 独立 - Token-First CSS:使用 CSS 变量而非硬编码 - 并行执行:支持最多 6 个并发任务 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
243 lines
4.6 KiB
JSON
243 lines
4.6 KiB
JSON
{
|
|
"workflow:plan": {
|
|
"calls_internally": [
|
|
"workflow:session:start",
|
|
"workflow:tools:context-gather",
|
|
"workflow:tools:conflict-resolution",
|
|
"workflow:tools:task-generate",
|
|
"workflow:tools:task-generate-agent"
|
|
],
|
|
"next_steps": [
|
|
"workflow:action-plan-verify",
|
|
"workflow:status",
|
|
"workflow:execute"
|
|
],
|
|
"alternatives": [
|
|
"workflow:tdd-plan"
|
|
],
|
|
"prerequisites": []
|
|
},
|
|
"workflow:tdd-plan": {
|
|
"calls_internally": [
|
|
"workflow:session:start",
|
|
"workflow:tools:context-gather",
|
|
"workflow:tools:task-generate-tdd"
|
|
],
|
|
"next_steps": [
|
|
"workflow:tdd-verify",
|
|
"workflow:status",
|
|
"workflow:execute"
|
|
],
|
|
"alternatives": [
|
|
"workflow:plan"
|
|
],
|
|
"prerequisites": []
|
|
},
|
|
"workflow:execute": {
|
|
"prerequisites": [
|
|
"workflow:plan",
|
|
"workflow:tdd-plan"
|
|
],
|
|
"related": [
|
|
"workflow:status",
|
|
"workflow:resume"
|
|
],
|
|
"next_steps": [
|
|
"workflow:review",
|
|
"workflow:tdd-verify"
|
|
]
|
|
},
|
|
"workflow:action-plan-verify": {
|
|
"prerequisites": [
|
|
"workflow:plan"
|
|
],
|
|
"next_steps": [
|
|
"workflow:execute"
|
|
],
|
|
"related": [
|
|
"workflow:status"
|
|
]
|
|
},
|
|
"workflow:tdd-verify": {
|
|
"prerequisites": [
|
|
"workflow:execute"
|
|
],
|
|
"related": [
|
|
"workflow:tools:tdd-coverage-analysis"
|
|
]
|
|
},
|
|
"workflow:session:start": {
|
|
"next_steps": [
|
|
"workflow:plan",
|
|
"workflow:execute"
|
|
],
|
|
"related": [
|
|
"workflow:session:list",
|
|
"workflow:session:resume"
|
|
]
|
|
},
|
|
"workflow:session:resume": {
|
|
"alternatives": [
|
|
"workflow:resume"
|
|
],
|
|
"related": [
|
|
"workflow:session:list",
|
|
"workflow:status"
|
|
]
|
|
},
|
|
"workflow:resume": {
|
|
"alternatives": [
|
|
"workflow:session:resume"
|
|
],
|
|
"related": [
|
|
"workflow:status"
|
|
]
|
|
},
|
|
"task:create": {
|
|
"next_steps": [
|
|
"task:execute"
|
|
],
|
|
"related": [
|
|
"task:breakdown"
|
|
]
|
|
},
|
|
"task:breakdown": {
|
|
"next_steps": [
|
|
"task:execute"
|
|
],
|
|
"related": [
|
|
"task:create"
|
|
]
|
|
},
|
|
"task:replan": {
|
|
"prerequisites": [
|
|
"workflow:plan"
|
|
],
|
|
"related": [
|
|
"workflow:action-plan-verify"
|
|
]
|
|
},
|
|
"task:execute": {
|
|
"prerequisites": [
|
|
"task:create",
|
|
"task:breakdown",
|
|
"workflow:plan"
|
|
],
|
|
"related": [
|
|
"workflow:status"
|
|
]
|
|
},
|
|
"memory:docs": {
|
|
"calls_internally": [
|
|
"workflow:session:start",
|
|
"workflow:tools:context-gather"
|
|
],
|
|
"next_steps": [
|
|
"workflow:execute"
|
|
]
|
|
},
|
|
"memory:skill-memory": {
|
|
"next_steps": [
|
|
"workflow:plan",
|
|
"cli:analyze"
|
|
],
|
|
"related": [
|
|
"memory:load-skill-memory"
|
|
]
|
|
},
|
|
"memory:workflow-skill-memory": {
|
|
"related": [
|
|
"memory:skill-memory"
|
|
],
|
|
"next_steps": [
|
|
"workflow:plan"
|
|
]
|
|
},
|
|
"cli:execute": {
|
|
"alternatives": [
|
|
"cli:codex-execute"
|
|
],
|
|
"related": [
|
|
"cli:analyze",
|
|
"cli:chat"
|
|
]
|
|
},
|
|
"cli:analyze": {
|
|
"related": [
|
|
"cli:chat",
|
|
"cli:mode:code-analysis"
|
|
],
|
|
"next_steps": [
|
|
"cli:execute"
|
|
]
|
|
},
|
|
"workflow:brainstorm:artifacts": {
|
|
"next_steps": [
|
|
"workflow:brainstorm:synthesis",
|
|
"workflow:plan"
|
|
],
|
|
"related": [
|
|
"workflow:brainstorm:auto-parallel"
|
|
]
|
|
},
|
|
"workflow:brainstorm:synthesis": {
|
|
"prerequisites": [
|
|
"workflow:brainstorm:artifacts"
|
|
],
|
|
"next_steps": [
|
|
"workflow:plan"
|
|
]
|
|
},
|
|
"workflow:brainstorm:auto-parallel": {
|
|
"next_steps": [
|
|
"workflow:brainstorm:synthesis",
|
|
"workflow:plan"
|
|
],
|
|
"related": [
|
|
"workflow:brainstorm:artifacts"
|
|
]
|
|
},
|
|
"workflow:test-gen": {
|
|
"prerequisites": [
|
|
"workflow:execute"
|
|
],
|
|
"next_steps": [
|
|
"workflow:test-cycle-execute"
|
|
]
|
|
},
|
|
"workflow:test-fix-gen": {
|
|
"alternatives": [
|
|
"workflow:test-gen"
|
|
],
|
|
"next_steps": [
|
|
"workflow:test-cycle-execute"
|
|
]
|
|
},
|
|
"workflow:test-cycle-execute": {
|
|
"prerequisites": [
|
|
"workflow:test-gen",
|
|
"workflow:test-fix-gen"
|
|
],
|
|
"related": [
|
|
"workflow:tdd-verify"
|
|
]
|
|
},
|
|
"workflow:ui-design:explore-auto": {
|
|
"calls_internally": [
|
|
"workflow:ui-design:capture",
|
|
"workflow:ui-design:style-extract",
|
|
"workflow:ui-design:layout-extract"
|
|
],
|
|
"next_steps": [
|
|
"workflow:ui-design:generate"
|
|
]
|
|
},
|
|
"workflow:ui-design:imitate-auto": {
|
|
"calls_internally": [
|
|
"workflow:ui-design:capture"
|
|
],
|
|
"next_steps": [
|
|
"workflow:ui-design:generate"
|
|
]
|
|
}
|
|
} |