claude-code-workflow 7.2.3 → 7.2.4
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/team-worker.md +2 -2
- package/.claude/skills/team-arch-opt/SKILL.md +1 -1
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-arch-opt/specs/team-config.json +1 -1
- package/.claude/skills/team-brainstorm/SKILL.md +2 -2
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-designer/SKILL.md +2 -2
- package/.claude/skills/team-designer/phases/03-content-generation.md +2 -2
- package/.claude/skills/team-edict/SKILL.md +1 -1
- package/.claude/skills/team-edict/role-specs/xingbu.md +1 -1
- package/.claude/skills/team-edict/roles/coordinator/role.md +4 -4
- package/.claude/skills/team-frontend/SKILL.md +1 -1
- package/.claude/skills/team-frontend/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-frontend-debug/SKILL.md +1 -1
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +11 -11
- package/.claude/skills/team-issue/SKILL.md +2 -2
- package/.claude/skills/team-issue/roles/coordinator/commands/monitor.md +2 -2
- package/.claude/skills/team-iterdev/SKILL.md +1 -1
- package/.claude/skills/team-iterdev/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-lifecycle-v4/SKILL.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +2 -2
- package/.claude/skills/team-perf-opt/SKILL.md +1 -1
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-perf-opt/roles/coordinator/role.md +1 -1
- package/.claude/skills/team-perf-opt/specs/team-config.json +1 -1
- package/.claude/skills/team-planex/SKILL.md +1 -1
- package/.claude/skills/team-planex/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-quality-assurance/SKILL.md +1 -1
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +1 -1
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +3 -3
- package/.claude/skills/team-review/SKILL.md +1 -1
- package/.claude/skills/team-review/roles/coordinator/commands/dispatch.md +1 -1
- package/.claude/skills/team-review/roles/coordinator/commands/monitor.md +4 -4
- package/.claude/skills/team-roadmap-dev/SKILL.md +1 -1
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +4 -4
- package/.claude/skills/team-roadmap-dev/specs/pipelines.md +3 -3
- package/.claude/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.claude/skills/team-tech-debt/SKILL.md +1 -1
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-testing/SKILL.md +1 -1
- package/.claude/skills/team-testing/roles/coordinator/commands/dispatch.md +1 -1
- package/.claude/skills/team-testing/roles/coordinator/commands/monitor.md +7 -7
- package/.claude/skills/team-uidesign/SKILL.md +1 -1
- package/.claude/skills/team-uidesign/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-ultra-analyze/SKILL.md +1 -1
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +5 -5
- package/.claude/skills/team-ultra-analyze/roles/coordinator/role.md +1 -1
- package/.claude/skills/team-ux-improve/SKILL.md +1 -1
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/monitor.md +1 -1
- package/.claude/skills/team-ux-improve/roles/coordinator/role.md +2 -2
- package/.claude/skills/team-ux-improve/specs/pipelines.md +1 -1
- package/.claude/skills/team-ux-improve/specs/team-config.json +1 -1
- package/.codex/skills/team-arch-opt/SKILL.md +38 -0
- package/.codex/skills/team-arch-opt/instructions/agent-instruction.md +114 -114
- package/.codex/skills/team-brainstorm/SKILL.md +725 -687
- package/.codex/skills/team-coordinate/SKILL.md +38 -0
- package/.codex/skills/team-designer/SKILL.md +691 -653
- package/.codex/skills/team-designer/schemas/tasks-schema.md +180 -180
- package/.codex/skills/team-edict/SKILL.md +781 -742
- package/.codex/skills/team-edict/agents/aggregator.md +246 -246
- package/.codex/skills/team-edict/agents/qa-verifier.md +274 -274
- package/.codex/skills/team-edict/agents/shangshu-dispatcher.md +247 -247
- package/.codex/skills/team-edict/agents/zhongshu-planner.md +198 -198
- package/.codex/skills/team-edict/instructions/agent-instruction.md +177 -177
- package/.codex/skills/team-executor/SKILL.md +38 -0
- package/.codex/skills/team-frontend/SKILL.md +38 -0
- package/.codex/skills/team-frontend-debug/SKILL.md +38 -0
- package/.codex/skills/team-issue/SKILL.md +740 -702
- package/.codex/skills/team-iterdev/SKILL.md +826 -788
- package/.codex/skills/team-lifecycle/SKILL.md +38 -0
- package/.codex/skills/team-lifecycle/agents/analyst.md +6 -6
- package/.codex/skills/team-lifecycle/agents/discuss-agent.md +1 -1
- package/.codex/skills/team-lifecycle/agents/explore-agent.md +3 -3
- package/.codex/skills/team-lifecycle/agents/writer.md +3 -3
- package/.codex/skills/team-lifecycle/phases/01-requirement-clarification.md +1 -1
- package/.codex/skills/team-lifecycle/phases/02-team-initialization.md +1 -1
- package/.codex/skills/team-lifecycle/phases/03-task-chain-creation.md +1 -1
- package/.codex/skills/team-lifecycle/phases/04-pipeline-coordination.md +1 -1
- package/.codex/skills/team-lifecycle/phases/05-completion-report.md +1 -1
- package/.codex/skills/team-lifecycle-v4/SKILL.md +775 -737
- package/.codex/skills/team-perf-opt/SKILL.md +38 -0
- package/.codex/skills/team-perf-opt/instructions/agent-instruction.md +122 -122
- package/.codex/skills/team-planex/SKILL.md +38 -0
- package/.codex/skills/team-planex-v2/SKILL.md +39 -1
- package/.codex/skills/team-quality-assurance/SKILL.md +38 -0
- package/.codex/skills/team-review/SKILL.md +38 -0
- package/.codex/skills/team-roadmap-dev/SKILL.md +38 -0
- package/.codex/skills/team-tech-debt/SKILL.md +38 -0
- package/.codex/skills/team-testing/SKILL.md +38 -0
- package/.codex/skills/team-uidesign/SKILL.md +38 -0
- package/.codex/skills/team-ultra-analyze/SKILL.md +787 -749
- package/.codex/skills/team-ux-improve/SKILL.md +38 -0
- package/ccw/dist/tools/smart-search.d.ts +23 -0
- package/ccw/dist/tools/smart-search.d.ts.map +1 -1
- package/ccw/dist/tools/smart-search.js +41 -10
- package/ccw/dist/tools/smart-search.js.map +1 -1
- package/codex-lens/src/codexlens/config.py +32 -0
- package/codex-lens/src/codexlens/storage/index_tree.py +101 -33
- package/package.json +1 -1
|
@@ -866,3 +866,41 @@ The orchestrator dynamically adds DEV-FE-NNN and QA-FE-NNN tasks to the state fi
|
|
|
866
866
|
| Requirements Template | templates/requirements-prd.md | DRAFT-002 |
|
|
867
867
|
| Architecture Template | templates/architecture-doc.md | DRAFT-003 |
|
|
868
868
|
| Epics Template | templates/epics-template.md | DRAFT-004 |
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
---
|
|
872
|
+
|
|
873
|
+
## Coordinator Role Constraints (Main Agent)
|
|
874
|
+
|
|
875
|
+
**CRITICAL**: The coordinator (main agent executing this skill) is responsible for **orchestration only**, NOT implementation.
|
|
876
|
+
|
|
877
|
+
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:
|
|
878
|
+
- Spawns agents with task assignments
|
|
879
|
+
- Waits for agent callbacks
|
|
880
|
+
- Merges results and coordinates workflow
|
|
881
|
+
- Manages workflow transitions between phases
|
|
882
|
+
|
|
883
|
+
16. **Patient Waiting is Mandatory**: Agent execution takes significant time (typically 10-30 minutes per phase, sometimes longer). The coordinator MUST:
|
|
884
|
+
- Wait patiently for `wait()` calls to complete
|
|
885
|
+
- NOT skip workflow steps due to perceived delays
|
|
886
|
+
- NOT assume agents have failed just because they're taking time
|
|
887
|
+
- Trust the timeout mechanisms defined in the skill
|
|
888
|
+
|
|
889
|
+
17. **Use send_input for Clarification**: When agents need guidance or appear stuck, the coordinator MUST:
|
|
890
|
+
- Use `send_input()` to ask questions or provide clarification
|
|
891
|
+
- NOT skip the agent or move to next phase prematurely
|
|
892
|
+
- Give agents opportunity to respond before escalating
|
|
893
|
+
- Example: `send_input({ id: agent_id, message: "Please provide status update or clarify blockers" })`
|
|
894
|
+
|
|
895
|
+
18. **No Workflow Shortcuts**: The coordinator MUST NOT:
|
|
896
|
+
- Skip phases or stages defined in the workflow
|
|
897
|
+
- Bypass required approval or review steps
|
|
898
|
+
- Execute dependent tasks before prerequisites complete
|
|
899
|
+
- Assume task completion without explicit agent callback
|
|
900
|
+
- Make up or fabricate agent results
|
|
901
|
+
|
|
902
|
+
19. **Respect Long-Running Processes**: This is a complex multi-agent workflow that requires patience:
|
|
903
|
+
- Total execution time may range from 30-90 minutes or longer
|
|
904
|
+
- Each phase may take 10-30 minutes depending on complexity
|
|
905
|
+
- The coordinator must remain active and attentive throughout the entire process
|
|
906
|
+
- Do not terminate or skip steps due to time concerns
|
|
@@ -5,7 +5,7 @@ Seed analysis, codebase exploration (via shared explore subagent), and multi-dim
|
|
|
5
5
|
## Identity
|
|
6
6
|
|
|
7
7
|
- **Type**: `produce`
|
|
8
|
-
- **Role File**:
|
|
8
|
+
- **Role File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/analyst.md`
|
|
9
9
|
- **Prefix**: `RESEARCH-*`
|
|
10
10
|
- **Tag**: `[analyst]`
|
|
11
11
|
- **Responsibility**: Seed Analysis -> Codebase Exploration -> Context Packaging -> Inline Discuss -> Report
|
|
@@ -168,7 +168,7 @@ if (cached) {
|
|
|
168
168
|
// Cache MISS - spawn explore subagent
|
|
169
169
|
const explorer = spawn_agent({
|
|
170
170
|
message: `### MANDATORY FIRST STEPS
|
|
171
|
-
1. Read:
|
|
171
|
+
1. Read: ~/~ or <project>/.codex/skills/team-lifecycle/agents/explore-agent.md
|
|
172
172
|
|
|
173
173
|
---
|
|
174
174
|
|
|
@@ -253,7 +253,7 @@ After packaging, spawn discuss subagent (Pattern 2.8):
|
|
|
253
253
|
```javascript
|
|
254
254
|
const critic = spawn_agent({
|
|
255
255
|
message: `### MANDATORY FIRST STEPS
|
|
256
|
-
1. Read:
|
|
256
|
+
1. Read: ~/~ or <project>/.codex/skills/team-lifecycle/agents/discuss-agent.md
|
|
257
257
|
|
|
258
258
|
## Multi-Perspective Critique: DISCUSS-001
|
|
259
259
|
|
|
@@ -297,7 +297,7 @@ This agent spawns two utility subagents during its execution:
|
|
|
297
297
|
### Explore Subagent (Phase 3)
|
|
298
298
|
|
|
299
299
|
**When**: After seed analysis, when project files detected
|
|
300
|
-
**Agent File**:
|
|
300
|
+
**Agent File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/explore-agent.md`
|
|
301
301
|
**Pattern**: 2.9 (Cache-Aware Exploration)
|
|
302
302
|
|
|
303
303
|
See Phase 3 code block above. Cache is checked before spawning. If cache hit, the spawn is skipped entirely.
|
|
@@ -305,7 +305,7 @@ See Phase 3 code block above. Cache is checked before spawning. If cache hit, th
|
|
|
305
305
|
### Discuss Subagent (Phase 4b)
|
|
306
306
|
|
|
307
307
|
**When**: After context packaging (spec-config.json + discovery-context.json written)
|
|
308
|
-
**Agent File**:
|
|
308
|
+
**Agent File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/discuss-agent.md`
|
|
309
309
|
**Pattern**: 2.8 (Inline Subagent)
|
|
310
310
|
|
|
311
311
|
See Phase 4b code block above.
|
|
@@ -342,7 +342,7 @@ if (cached) {
|
|
|
342
342
|
// Cache MISS - spawn explore subagent, result cached by explore-agent
|
|
343
343
|
const explorer = spawn_agent({
|
|
344
344
|
message: `### MANDATORY FIRST STEPS
|
|
345
|
-
1. Read:
|
|
345
|
+
1. Read: ~/~ or <project>/.codex/skills/team-lifecycle/agents/explore-agent.md
|
|
346
346
|
|
|
347
347
|
---
|
|
348
348
|
|
|
@@ -5,7 +5,7 @@ Lightweight multi-perspective critique engine. Called inline by produce agents (
|
|
|
5
5
|
## Identity
|
|
6
6
|
|
|
7
7
|
- **Type**: `utility`
|
|
8
|
-
- **Role File**:
|
|
8
|
+
- **Role File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/discuss-agent.md`
|
|
9
9
|
- **Tag**: `[discuss]`
|
|
10
10
|
- **Responsibility**: Read Artifact -> Multi-CLI Perspective Analysis -> Divergence Detection -> Consensus Determination -> Write Discussion Record -> Return Verdict
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ Shared codebase exploration utility with centralized caching. Callable by any ag
|
|
|
5
5
|
## Identity
|
|
6
6
|
|
|
7
7
|
- **Type**: `utility`
|
|
8
|
-
- **Role File**:
|
|
8
|
+
- **Role File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/explore-agent.md`
|
|
9
9
|
- **Tag**: `[explore]`
|
|
10
10
|
- **Responsibility**: Cache Check -> Codebase Exploration -> Cache Update -> Return Structured Results
|
|
11
11
|
|
|
@@ -382,7 +382,7 @@ if (cached && !forceRefresh) {
|
|
|
382
382
|
// After seed analysis, explore codebase context (Pattern 2.9 in analyst)
|
|
383
383
|
const explorer = spawn_agent({
|
|
384
384
|
message: `### MANDATORY FIRST STEPS
|
|
385
|
-
1. Read:
|
|
385
|
+
1. Read: ~/~ or <project>/.codex/skills/team-lifecycle/agents/explore-agent.md
|
|
386
386
|
|
|
387
387
|
---
|
|
388
388
|
|
|
@@ -405,7 +405,7 @@ for (const angle of angles) {
|
|
|
405
405
|
// Cache check happens inside explore-agent
|
|
406
406
|
const explorer = spawn_agent({
|
|
407
407
|
message: `### MANDATORY FIRST STEPS
|
|
408
|
-
1. Read:
|
|
408
|
+
1. Read: ~/~ or <project>/.codex/skills/team-lifecycle/agents/explore-agent.md
|
|
409
409
|
|
|
410
410
|
---
|
|
411
411
|
|
|
@@ -5,7 +5,7 @@ Product Brief, Requirements/PRD, Architecture, and Epics & Stories document gene
|
|
|
5
5
|
## Identity
|
|
6
6
|
|
|
7
7
|
- **Type**: `produce`
|
|
8
|
-
- **Role File**:
|
|
8
|
+
- **Role File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/writer.md`
|
|
9
9
|
- **Prefix**: `DRAFT-*`
|
|
10
10
|
- **Tag**: `[writer]`
|
|
11
11
|
- **Responsibility**: Load Context -> Generate Document -> Self-Validation -> Inline Discuss -> Report
|
|
@@ -382,7 +382,7 @@ After validation, spawn discuss subagent (Pattern 2.8) for this task's discuss r
|
|
|
382
382
|
```javascript
|
|
383
383
|
const critic = spawn_agent({
|
|
384
384
|
message: `### MANDATORY FIRST STEPS
|
|
385
|
-
1. Read:
|
|
385
|
+
1. Read: ~/~ or <project>/.codex/skills/team-lifecycle/agents/discuss-agent.md
|
|
386
386
|
|
|
387
387
|
## Multi-Perspective Critique: <DISCUSS-NNN>
|
|
388
388
|
|
|
@@ -435,7 +435,7 @@ This agent spawns the discuss subagent during Phase 4b:
|
|
|
435
435
|
### Discuss Subagent (Phase 4b)
|
|
436
436
|
|
|
437
437
|
**When**: After self-validation of generated document
|
|
438
|
-
**Agent File**:
|
|
438
|
+
**Agent File**: `~/~ or <project>/.codex/skills/team-lifecycle/agents/discuss-agent.md`
|
|
439
439
|
**Pattern**: 2.8 (Inline Subagent)
|
|
440
440
|
|
|
441
441
|
See Phase 4b code block above. The round ID and perspectives vary per doc type -- use the Inline Discuss Mapping table.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phase 1: Requirement Clarification
|
|
2
2
|
|
|
3
|
-
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("
|
|
3
|
+
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("~/~ or <project>/.codex/skills/team-lifecycle/phases/01-requirement-clarification.md")` before continuing. Never execute based on summaries.
|
|
4
4
|
|
|
5
5
|
## Objective
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phase 2: Team Initialization
|
|
2
2
|
|
|
3
|
-
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("
|
|
3
|
+
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("~/~ or <project>/.codex/skills/team-lifecycle/phases/02-team-initialization.md")` before continuing. Never execute based on summaries.
|
|
4
4
|
|
|
5
5
|
## Objective
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phase 3: Task Chain Creation
|
|
2
2
|
|
|
3
|
-
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("
|
|
3
|
+
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("~/~ or <project>/.codex/skills/team-lifecycle/phases/03-task-chain-creation.md")` before continuing. Never execute based on summaries.
|
|
4
4
|
|
|
5
5
|
## Objective
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phase 4: Pipeline Coordination
|
|
2
2
|
|
|
3
|
-
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("
|
|
3
|
+
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("~/~ or <project>/.codex/skills/team-lifecycle/phases/04-pipeline-coordination.md")` before continuing. Never execute based on summaries.
|
|
4
4
|
|
|
5
5
|
## Objective
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phase 5: Completion Report
|
|
2
2
|
|
|
3
|
-
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("
|
|
3
|
+
> **COMPACT PROTECTION**: This is an execution document. After context compression, phase instructions become summaries only. You MUST immediately re-read this file via `Read("~/~ or <project>/.codex/skills/team-lifecycle/phases/05-completion-report.md")` before continuing. Never execute based on summaries.
|
|
4
4
|
|
|
5
5
|
## Objective
|
|
6
6
|
|