claude-code-workflow 7.2.11 → 7.2.13

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.
Files changed (30) hide show
  1. package/.claude/agents/workflow-research-agent.md +112 -0
  2. package/.claude/commands/workflow/analyze-with-file.md +185 -60
  3. package/.claude/commands/workflow-tune.md +811 -0
  4. package/.claude/skills/workflow-lite-execute/SKILL.md +106 -14
  5. package/.claude/skills/workflow-lite-plan/SKILL.md +34 -72
  6. package/.claude/skills/workflow-lite-test-review/SKILL.md +39 -26
  7. package/package.json +1 -1
  8. package/.claude/commands/ddd/auto.md +0 -359
  9. package/.claude/commands/ddd/doc-generate.md +0 -222
  10. package/.claude/commands/ddd/doc-refresh.md +0 -218
  11. package/.claude/commands/ddd/execute.md +0 -416
  12. package/.claude/commands/ddd/index-build.md +0 -212
  13. package/.claude/commands/ddd/plan.md +0 -611
  14. package/.claude/commands/ddd/scan.md +0 -365
  15. package/.claude/commands/ddd/sync.md +0 -353
  16. package/.claude/commands/ddd/update.md +0 -160
  17. package/.claude/commands/idaw/add.md +0 -287
  18. package/.claude/commands/idaw/resume.md +0 -442
  19. package/.claude/commands/idaw/run-coordinate.md +0 -648
  20. package/.claude/commands/idaw/run.md +0 -539
  21. package/.claude/commands/idaw/status.md +0 -182
  22. package/.claude/skills/workflow-tune/SKILL.md +0 -487
  23. package/.claude/skills/workflow-tune/phases/01-setup.md +0 -548
  24. package/.claude/skills/workflow-tune/phases/02-step-execute.md +0 -197
  25. package/.claude/skills/workflow-tune/phases/03-step-analyze.md +0 -386
  26. package/.claude/skills/workflow-tune/phases/04-synthesize.md +0 -257
  27. package/.claude/skills/workflow-tune/phases/05-optimize-report.md +0 -246
  28. package/.claude/skills/workflow-tune/specs/workflow-eval-criteria.md +0 -57
  29. package/.claude/skills/workflow-tune/templates/step-analysis-prompt.md +0 -88
  30. package/.claude/skills/workflow-tune/templates/synthesis-prompt.md +0 -90
@@ -1,90 +0,0 @@
1
- # Synthesis Prompt Template
2
-
3
- Phase 04 使用此模板构造 ccw cli 提示词,让 Gemini 综合所有步骤分析,产出跨步骤优化建议。
4
-
5
- ## Template
6
-
7
- ```
8
- PURPOSE: Synthesize all step analyses into a holistic workflow optimization assessment. Evaluate cross-step concerns: ordering, handoff quality, redundancy, bottlenecks, and overall workflow coherence.
9
-
10
- WORKFLOW OVERVIEW:
11
- Name: ${workflowName}
12
- Goal: ${workflowContext}
13
- Steps: ${stepCount}
14
- Average Quality: ${avgScore}/100
15
- Weakest Step: ${minScore}/100
16
- Total Issues: ${totalIssues} (${totalHighIssues} high severity)
17
-
18
- SCORE SUMMARY:
19
- ${scoreSummary}
20
-
21
- COMPLETE PROCESS LOG:
22
- ${processLog}
23
-
24
- DETAILED STEP ANALYSES:
25
- ${stepAnalyses}
26
-
27
- TASK:
28
- 1. **Workflow Coherence**: Do steps form a logical sequence? Any missing steps?
29
- 2. **Handoff Quality**: Are step outputs well-consumed by subsequent steps? Data format mismatches?
30
- 3. **Redundancy Detection**: Do any steps duplicate work? Overlapping concerns?
31
- 4. **Bottleneck Identification**: Which steps are bottlenecks (lowest quality, longest duration)?
32
- 5. **Step Ordering**: Would reordering steps improve outcomes?
33
- 6. **Missing Steps**: Are there gaps in the pipeline that need additional steps?
34
- 7. **Per-Step Optimization**: Top 3 improvements per underperforming step
35
- 8. **Workflow-Level Optimization**: Structural changes to the overall pipeline
36
-
37
- EXPECTED OUTPUT (strict JSON, no markdown):
38
- {
39
- "workflow_score": <0-100>,
40
- "coherence": {
41
- "score": <0-100>,
42
- "assessment": "<logical flow evaluation>",
43
- "gaps": ["<missing step or transition>"]
44
- },
45
- "handoff_quality": {
46
- "score": <0-100>,
47
- "issues": [
48
- { "from_step": "<step name>", "to_step": "<step name>", "issue": "<description>", "fix": "<suggestion>" }
49
- ]
50
- },
51
- "redundancy": {
52
- "found": <true|false>,
53
- "items": [
54
- { "steps": ["<step1>", "<step2>"], "description": "<what overlaps>", "recommendation": "<merge or remove>" }
55
- ]
56
- },
57
- "bottlenecks": [
58
- { "step": "<step name>", "reason": "<why it's a bottleneck>", "impact": "high|medium|low", "fix": "<suggestion>" }
59
- ],
60
- "ordering_suggestions": [
61
- { "current": "<current order description>", "proposed": "<new order>", "rationale": "<why>" }
62
- ],
63
- "per_step_improvements": [
64
- { "step": "<step name>", "improvements": [
65
- { "priority": "high|medium|low", "description": "<what to change>", "rationale": "<why>" }
66
- ]}
67
- ],
68
- "workflow_improvements": [
69
- { "priority": "high|medium|low", "category": "structure|handoff|performance|quality", "description": "<change>", "rationale": "<why>", "affected_steps": ["<step names>"] }
70
- ],
71
- "summary": "<2-3 sentence executive summary of workflow health and top recommendations>"
72
- }
73
-
74
- CONSTRAINTS: Be specific, reference step names and artifact details, output ONLY JSON
75
- ```
76
-
77
- ## Variable Substitution
78
-
79
- | Variable | Source | Description |
80
- |----------|--------|-------------|
81
- | `${workflowName}` | workflow-state.json | Workflow 名称 |
82
- | `${workflowContext}` | workflow-state.json | Workflow 目标 |
83
- | `${stepCount}` | workflow-state.json | 总步骤数 |
84
- | `${avgScore}` | Phase 04 computes | 所有步骤平均分 |
85
- | `${minScore}` | Phase 04 computes | 最低步骤分 |
86
- | `${totalIssues}` | Phase 04 computes | 总问题数 |
87
- | `${totalHighIssues}` | Phase 04 computes | 高优先级问题数 |
88
- | `${scoreSummary}` | Phase 04 builds | 每步分数一行 |
89
- | `${processLog}` | process-log.md | 完整过程日志 |
90
- | `${stepAnalyses}` | Phase 04 reads | 所有 step-N-analysis.md 内容 |