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-perf-opt
|
|
3
3
|
description: Performance optimization team skill. Profiles application performance, identifies bottlenecks, designs optimization strategies, implements changes, benchmarks improvements, and reviews code quality via CSV wave pipeline with interactive review-fix cycles.
|
|
4
4
|
argument-hint: "[-y|--yes] [-c|--concurrency N] [--continue] \"performance 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 performance optimization: profile application, identify
|
|
|
44
44
|
| Phase 0: Pre-Wave Interactive (Requirement Clarification) |
|
|
45
45
|
| +- Parse user task description |
|
|
46
46
|
| +- Detect scope: specific endpoint vs full app profiling |
|
|
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 |
|
|
@@ -276,13 +276,13 @@ Write(`${sessionFolder}/wisdom/patterns.md`, '# Patterns & Conventions\n')
|
|
|
276
276
|
|
|
277
277
|
4. **Clarify if ambiguous** (skip if AUTO_YES):
|
|
278
278
|
```javascript
|
|
279
|
-
|
|
279
|
+
request_user_input({
|
|
280
280
|
questions: [{
|
|
281
|
-
question: "Please confirm the performance optimization scope
|
|
282
|
-
header: "
|
|
283
|
-
|
|
281
|
+
question: "Please confirm the performance optimization scope.",
|
|
282
|
+
header: "Scope",
|
|
283
|
+
id: "perf_scope",
|
|
284
284
|
options: [
|
|
285
|
-
{ label: "Proceed
|
|
285
|
+
{ label: "Proceed (Recommended)", description: "Scope is clear, start profiling" },
|
|
286
286
|
{ label: "Narrow scope", description: "Specify endpoints/modules to focus on" },
|
|
287
287
|
{ label: "Add constraints", description: "Target metrics, acceptable trade-offs" }
|
|
288
288
|
]
|
|
@@ -521,13 +521,13 @@ Session: ${sessionFolder}
|
|
|
521
521
|
|
|
522
522
|
// 3. Completion action
|
|
523
523
|
if (!AUTO_YES) {
|
|
524
|
-
|
|
524
|
+
request_user_input({
|
|
525
525
|
questions: [{
|
|
526
|
-
question: "Performance optimization complete.
|
|
527
|
-
header: "
|
|
528
|
-
|
|
526
|
+
question: "Performance optimization complete. Choose next action.",
|
|
527
|
+
header: "Done",
|
|
528
|
+
id: "completion",
|
|
529
529
|
options: [
|
|
530
|
-
{ label: "Archive
|
|
530
|
+
{ label: "Archive (Recommended)", description: "Archive session, output final summary" },
|
|
531
531
|
{ label: "Keep Active", description: "Keep session for follow-up work" },
|
|
532
532
|
{ label: "Retry Failed", description: "Re-run failed tasks" }
|
|
533
533
|
]
|
|
@@ -657,41 +657,41 @@ All agents (csv-wave and interactive) share a single `discoveries.ndjson` file f
|
|
|
657
657
|
8. **Max 3 Fix Cycles**: Review-fix cycle capped at 3 iterations; escalate to user after
|
|
658
658
|
9. **Cleanup Temp Files**: Remove wave-{N}.csv after results are merged
|
|
659
659
|
10. **DO NOT STOP**: Continuous execution until all waves complete or all remaining tasks are skipped
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
---
|
|
663
|
-
|
|
664
|
-
## Coordinator Role Constraints (Main Agent)
|
|
665
|
-
|
|
666
|
-
**CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
|
|
667
|
-
|
|
668
|
-
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:
|
|
669
|
-
- Spawns agents with task assignments
|
|
670
|
-
- Waits for agent callbacks
|
|
671
|
-
- Merges results and coordinates workflow
|
|
672
|
-
- Manages workflow transitions between phases
|
|
673
|
-
|
|
674
|
-
16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
|
|
675
|
-
- Wait patiently for `wait()` calls to complete
|
|
676
|
-
- NOT skip workflow steps due to perceived delays
|
|
677
|
-
- NOT assume agents have failed just because they're taking time
|
|
678
|
-
- Trust the timeout mechanisms defined in the skill
|
|
679
|
-
|
|
680
|
-
17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
|
|
681
|
-
- Use `send_input()` to ask questions or provide clarification
|
|
682
|
-
- NOT skip the agent or move to next phase prematurely
|
|
683
|
-
- Give agents opportunity to respond before escalating
|
|
684
|
-
- Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
|
|
685
|
-
|
|
686
|
-
18. **No Workflow Shortcuts**: The coordinator MUST NOT:
|
|
687
|
-
- Skip phases or stages defined in the workflow
|
|
688
|
-
- Bypass required approval or review steps
|
|
689
|
-
- Execute dependent tasks before prerequisites complete
|
|
690
|
-
- Assume task completion without explicit agent callback
|
|
691
|
-
- Make up or fabricate agent results
|
|
692
|
-
|
|
693
|
-
19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
|
|
694
|
-
- Total execution time may range from 30-90 minutes or longer
|
|
695
|
-
- Each phase may take 10-30 minutes depending on complexity
|
|
696
|
-
- The coordinator must remain active and attentive throughout the entire process
|
|
697
|
-
- Do not terminate or skip steps due to time concerns
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
---
|
|
663
|
+
|
|
664
|
+
## Coordinator Role Constraints (Main Agent)
|
|
665
|
+
|
|
666
|
+
**CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
|
|
667
|
+
|
|
668
|
+
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:
|
|
669
|
+
- Spawns agents with task assignments
|
|
670
|
+
- Waits for agent callbacks
|
|
671
|
+
- Merges results and coordinates workflow
|
|
672
|
+
- Manages workflow transitions between phases
|
|
673
|
+
|
|
674
|
+
16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
|
|
675
|
+
- Wait patiently for `wait()` calls to complete
|
|
676
|
+
- NOT skip workflow steps due to perceived delays
|
|
677
|
+
- NOT assume agents have failed just because they're taking time
|
|
678
|
+
- Trust the timeout mechanisms defined in the skill
|
|
679
|
+
|
|
680
|
+
17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
|
|
681
|
+
- Use `send_input()` to ask questions or provide clarification
|
|
682
|
+
- NOT skip the agent or move to next phase prematurely
|
|
683
|
+
- Give agents opportunity to respond before escalating
|
|
684
|
+
- Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
|
|
685
|
+
|
|
686
|
+
18. **No Workflow Shortcuts**: The coordinator MUST NOT:
|
|
687
|
+
- Skip phases or stages defined in the workflow
|
|
688
|
+
- Bypass required approval or review steps
|
|
689
|
+
- Execute dependent tasks before prerequisites complete
|
|
690
|
+
- Assume task completion without explicit agent callback
|
|
691
|
+
- Make up or fabricate agent results
|
|
692
|
+
|
|
693
|
+
19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
|
|
694
|
+
- Total execution time may range from 30-90 minutes or longer
|
|
695
|
+
- Each phase may take 10-30 minutes depending on complexity
|
|
696
|
+
- The coordinator must remain active and attentive throughout the entire process
|
|
697
|
+
- Do not terminate or skip steps due to time concerns
|
|
@@ -34,7 +34,7 @@ Handle pipeline completion action for performance 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 performance 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: "Performance 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" },
|