claude-code-workflow 7.2.14 → 7.2.15
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/commands/workflow/analyze-with-file.md +7 -0
- package/.codex/skills/analyze-with-file/SKILL.md +1181 -1182
- package/.codex/skills/brainstorm/SKILL.md +723 -725
- package/.codex/skills/brainstorm-with-file/SKILL.md +10 -5
- package/.codex/skills/clean/SKILL.md +33 -26
- package/.codex/skills/collaborative-plan-with-file/SKILL.md +830 -831
- package/.codex/skills/csv-wave-pipeline/SKILL.md +906 -906
- package/.codex/skills/issue-discover/SKILL.md +57 -50
- package/.codex/skills/issue-discover/phases/01-issue-new.md +18 -11
- package/.codex/skills/issue-discover/phases/02-discover.md +31 -26
- package/.codex/skills/issue-discover/phases/03-discover-by-prompt.md +13 -11
- package/.codex/skills/issue-discover/phases/04-quick-execute.md +32 -27
- package/.codex/skills/parallel-dev-cycle/SKILL.md +402 -402
- package/.codex/skills/project-documentation-workflow/SKILL.md +13 -3
- package/.codex/skills/roadmap-with-file/SKILL.md +901 -897
- package/.codex/skills/session-sync/SKILL.md +222 -212
- package/.codex/skills/spec-add/SKILL.md +620 -613
- package/.codex/skills/spec-generator/SKILL.md +2 -2
- package/.codex/skills/spec-generator/phases/01-5-requirement-clarification.md +10 -10
- package/.codex/skills/spec-generator/phases/01-discovery.md +11 -18
- package/.codex/skills/spec-generator/phases/02-product-brief.md +5 -5
- package/.codex/skills/spec-generator/phases/03-requirements.md +7 -7
- package/.codex/skills/spec-generator/phases/04-architecture.md +4 -4
- package/.codex/skills/spec-generator/phases/05-epics-stories.md +5 -6
- package/.codex/skills/spec-generator/phases/06-readiness-check.md +10 -17
- package/.codex/skills/spec-generator/phases/07-issue-export.md +326 -329
- package/.codex/skills/spec-setup/SKILL.md +669 -657
- package/.codex/skills/team-arch-opt/SKILL.md +50 -50
- package/.codex/skills/team-arch-opt/agents/completion-handler.md +3 -3
- package/.codex/skills/team-brainstorm/SKILL.md +724 -725
- package/.codex/skills/team-coordinate/SKILL.md +51 -51
- package/.codex/skills/team-coordinate/agents/completion-handler.md +3 -3
- package/.codex/skills/team-coordinate/agents/plan-reviewer.md +4 -4
- package/.codex/skills/team-designer/SKILL.md +691 -691
- package/.codex/skills/team-designer/agents/requirement-clarifier.md +11 -12
- package/.codex/skills/team-executor/SKILL.md +45 -45
- package/.codex/skills/team-frontend/SKILL.md +45 -45
- package/.codex/skills/team-frontend/agents/completion-handler.md +3 -3
- package/.codex/skills/team-frontend/agents/qa-gate-reviewer.md +4 -4
- package/.codex/skills/team-frontend-debug/SKILL.md +50 -50
- package/.codex/skills/team-frontend-debug/agents/completion-handler.md +3 -3
- package/.codex/skills/team-frontend-debug/agents/conditional-skip-gate.md +4 -4
- package/.codex/skills/team-issue/SKILL.md +751 -740
- package/.codex/skills/team-iterdev/SKILL.md +825 -826
- package/.codex/skills/team-lifecycle-v4/SKILL.md +775 -775
- package/.codex/skills/team-lifecycle-v4/agents/quality-gate.md +165 -165
- package/.codex/skills/team-lifecycle-v4/agents/requirement-clarifier.md +163 -163
- package/.codex/skills/team-perf-opt/SKILL.md +50 -50
- package/.codex/skills/team-perf-opt/agents/completion-handler.md +3 -3
- package/.codex/skills/team-planex-v2/SKILL.md +652 -637
- package/.codex/skills/team-quality-assurance/SKILL.md +51 -52
- package/.codex/skills/team-review/SKILL.md +40 -40
- package/.codex/skills/team-roadmap-dev/SKILL.md +51 -51
- package/.codex/skills/team-roadmap-dev/agents/roadmap-discusser.md +8 -8
- package/.codex/skills/team-tech-debt/SKILL.md +50 -50
- package/.codex/skills/team-tech-debt/agents/plan-approver.md +5 -5
- package/.codex/skills/team-testing/SKILL.md +51 -52
- package/.codex/skills/team-uidesign/SKILL.md +40 -40
- package/.codex/skills/team-uidesign/agents/completion-handler.md +177 -177
- package/.codex/skills/team-ultra-analyze/SKILL.md +786 -787
- package/.codex/skills/team-ultra-analyze/agents/discussion-feedback.md +8 -8
- package/.codex/skills/team-ux-improve/SKILL.md +51 -52
- package/.codex/skills/team-ux-improve/agents/ux-designer.md +2 -2
- package/.codex/skills/team-ux-improve/agents/ux-explorer.md +1 -1
- package/.codex/skills/unified-execute-with-file/SKILL.md +797 -796
- package/.codex/skills/workflow-execute/SKILL.md +1117 -1118
- package/.codex/skills/workflow-lite-planex/SKILL.md +1144 -1141
- package/.codex/skills/workflow-plan/SKILL.md +631 -636
- package/.codex/skills/workflow-tdd-plan/SKILL.md +753 -759
- package/.codex/skills/workflow-test-fix-cycle/SKILL.md +402 -392
- package/README.md +25 -0
- package/ccw/dist/commands/install.d.ts.map +1 -1
- package/ccw/dist/commands/install.js +12 -0
- package/ccw/dist/commands/install.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: team-arch-opt
|
|
3
3
|
description: Architecture optimization team skill. Analyzes codebase architecture, designs refactoring plans, implements changes, validates improvements, and reviews code quality via CSV wave pipeline with interactive review-fix cycles.
|
|
4
4
|
argument-hint: "[-y|--yes] [-c|--concurrency N] [--continue] \"architecture optimization task description\""
|
|
5
|
-
allowed-tools: spawn_agents_on_csv, spawn_agent, wait, send_input, close_agent, Read, Write, Edit, Bash, Glob, Grep,
|
|
5
|
+
allowed-tools: spawn_agents_on_csv, spawn_agent, wait, send_input, close_agent, Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
## Auto Mode
|
|
@@ -44,7 +44,7 @@ Orchestrate multi-agent architecture optimization: analyze codebase structure, d
|
|
|
44
44
|
| Phase 0: Pre-Wave Interactive (Requirement Clarification) |
|
|
45
45
|
| +- Parse user task description |
|
|
46
46
|
| +- Detect scope: targeted module vs full architecture |
|
|
47
|
-
| +- Clarify ambiguous requirements (
|
|
47
|
+
| +- Clarify ambiguous requirements (request_user_input) |
|
|
48
48
|
| +- Output: refined requirements for decomposition |
|
|
49
49
|
| |
|
|
50
50
|
| Phase 1: Requirement -> CSV + Classification |
|
|
@@ -275,13 +275,13 @@ Write(`${sessionFolder}/wisdom/patterns.md`, '# Patterns & Conventions\n')
|
|
|
275
275
|
|
|
276
276
|
4. **Clarify if ambiguous** (skip if AUTO_YES):
|
|
277
277
|
```javascript
|
|
278
|
-
|
|
278
|
+
request_user_input({
|
|
279
279
|
questions: [{
|
|
280
|
-
question: "Please confirm the architecture optimization scope
|
|
281
|
-
header: "
|
|
282
|
-
|
|
280
|
+
question: "Please confirm the architecture optimization scope.",
|
|
281
|
+
header: "Scope",
|
|
282
|
+
id: "arch_scope",
|
|
283
283
|
options: [
|
|
284
|
-
{ label: "Proceed
|
|
284
|
+
{ label: "Proceed (Recommended)", description: "Scope is clear, start analysis" },
|
|
285
285
|
{ label: "Narrow scope", description: "Specify modules/files to focus on" },
|
|
286
286
|
{ label: "Add constraints", description: "Exclude areas, set priorities" }
|
|
287
287
|
]
|
|
@@ -522,13 +522,13 @@ Session: ${sessionFolder}
|
|
|
522
522
|
|
|
523
523
|
// 3. Completion action
|
|
524
524
|
if (!AUTO_YES) {
|
|
525
|
-
|
|
525
|
+
request_user_input({
|
|
526
526
|
questions: [{
|
|
527
|
-
question: "Architecture optimization complete.
|
|
528
|
-
header: "
|
|
529
|
-
|
|
527
|
+
question: "Architecture optimization complete. Choose next action.",
|
|
528
|
+
header: "Done",
|
|
529
|
+
id: "completion",
|
|
530
530
|
options: [
|
|
531
|
-
{ label: "Archive
|
|
531
|
+
{ label: "Archive (Recommended)", description: "Archive session, output final summary" },
|
|
532
532
|
{ label: "Keep Active", description: "Keep session for follow-up work" },
|
|
533
533
|
{ label: "Retry Failed", description: "Re-run failed tasks" }
|
|
534
534
|
]
|
|
@@ -658,41 +658,41 @@ All agents (csv-wave and interactive) share a single `discoveries.ndjson` file f
|
|
|
658
658
|
8. **Max 3 Fix Cycles**: Review-fix cycle capped at 3 iterations; escalate to user after
|
|
659
659
|
9. **Cleanup Temp Files**: Remove wave-{N}.csv after results are merged
|
|
660
660
|
10. **DO NOT STOP**: Continuous execution until all waves complete or all remaining tasks are skipped
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
---
|
|
664
|
-
|
|
665
|
-
## Coordinator Role Constraints (Main Agent)
|
|
666
|
-
|
|
667
|
-
**CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
|
|
668
|
-
|
|
669
|
-
15. **Coordinator Does NOT Execute Code**: The main agent MUST NOT write, modify, or implement any code directly. All implementation work is delegated to spawned team agents. The coordinator only:
|
|
670
|
-
- Spawns agents with task assignments
|
|
671
|
-
- Waits for agent callbacks
|
|
672
|
-
- Merges results and coordinates workflow
|
|
673
|
-
- Manages workflow transitions between phases
|
|
674
|
-
|
|
675
|
-
16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
|
|
676
|
-
- Wait patiently for `wait()` calls to complete
|
|
677
|
-
- NOT skip workflow steps due to perceived delays
|
|
678
|
-
- NOT assume agents have failed just because they're taking time
|
|
679
|
-
- Trust the timeout mechanisms defined in the skill
|
|
680
|
-
|
|
681
|
-
17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
|
|
682
|
-
- Use `send_input()` to ask questions or provide clarification
|
|
683
|
-
- NOT skip the agent or move to next phase prematurely
|
|
684
|
-
- Give agents opportunity to respond before escalating
|
|
685
|
-
- Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
|
|
686
|
-
|
|
687
|
-
18. **No Workflow Shortcuts**: The coordinator MUST NOT:
|
|
688
|
-
- Skip phases or stages defined in the workflow
|
|
689
|
-
- Bypass required approval or review steps
|
|
690
|
-
- Execute dependent tasks before prerequisites complete
|
|
691
|
-
- Assume task completion without explicit agent callback
|
|
692
|
-
- Make up or fabricate agent results
|
|
693
|
-
|
|
694
|
-
19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
|
|
695
|
-
- Total execution time may range from 30-90 minutes or longer
|
|
696
|
-
- Each phase may take 10-30 minutes depending on complexity
|
|
697
|
-
- The coordinator must remain active and attentive throughout the entire process
|
|
698
|
-
- Do not terminate or skip steps due to time concerns
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
---
|
|
664
|
+
|
|
665
|
+
## Coordinator Role Constraints (Main Agent)
|
|
666
|
+
|
|
667
|
+
**CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
|
|
668
|
+
|
|
669
|
+
15. **Coordinator Does NOT Execute Code**: The main agent MUST NOT write, modify, or implement any code directly. All implementation work is delegated to spawned team agents. The coordinator only:
|
|
670
|
+
- Spawns agents with task assignments
|
|
671
|
+
- Waits for agent callbacks
|
|
672
|
+
- Merges results and coordinates workflow
|
|
673
|
+
- Manages workflow transitions between phases
|
|
674
|
+
|
|
675
|
+
16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
|
|
676
|
+
- Wait patiently for `wait()` calls to complete
|
|
677
|
+
- NOT skip workflow steps due to perceived delays
|
|
678
|
+
- NOT assume agents have failed just because they're taking time
|
|
679
|
+
- Trust the timeout mechanisms defined in the skill
|
|
680
|
+
|
|
681
|
+
17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
|
|
682
|
+
- Use `send_input()` to ask questions or provide clarification
|
|
683
|
+
- NOT skip the agent or move to next phase prematurely
|
|
684
|
+
- Give agents opportunity to respond before escalating
|
|
685
|
+
- Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
|
|
686
|
+
|
|
687
|
+
18. **No Workflow Shortcuts**: The coordinator MUST NOT:
|
|
688
|
+
- Skip phases or stages defined in the workflow
|
|
689
|
+
- Bypass required approval or review steps
|
|
690
|
+
- Execute dependent tasks before prerequisites complete
|
|
691
|
+
- Assume task completion without explicit agent callback
|
|
692
|
+
- Make up or fabricate agent results
|
|
693
|
+
|
|
694
|
+
19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
|
|
695
|
+
- Total execution time may range from 30-90 minutes or longer
|
|
696
|
+
- Each phase may take 10-30 minutes depending on complexity
|
|
697
|
+
- The coordinator must remain active and attentive throughout the entire process
|
|
698
|
+
- Do not terminate or skip steps due to time concerns
|
|
@@ -34,7 +34,7 @@ Handle pipeline completion action for architecture optimization: present results
|
|
|
34
34
|
| `Read` | builtin | Load result artifacts |
|
|
35
35
|
| `Write` | builtin | Write export files |
|
|
36
36
|
| `Bash` | builtin | Archive/cleanup operations |
|
|
37
|
-
| `
|
|
37
|
+
| `request_user_input` | builtin | Present completion choices |
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
@@ -74,11 +74,11 @@ Handle pipeline completion action for architecture optimization: present results
|
|
|
74
74
|
2. Present completion action:
|
|
75
75
|
|
|
76
76
|
```javascript
|
|
77
|
-
|
|
77
|
+
request_user_input({
|
|
78
78
|
questions: [{
|
|
79
79
|
question: "Architecture optimization complete. What would you like to do?",
|
|
80
80
|
header: "Completion",
|
|
81
|
-
|
|
81
|
+
id: "completion_action",
|
|
82
82
|
options: [
|
|
83
83
|
{ label: "Archive & Clean (Recommended)", description: "Archive session, output final summary" },
|
|
84
84
|
{ label: "Keep Active", description: "Keep session for follow-up work or inspection" },
|