mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
- Delete 21 old team skill directories using CSV-wave pipeline pattern (~100+ files) - Delete old team-lifecycle (v3) and team-planex-v2 - Create generic team-worker.toml and team-supervisor.toml (replacing tlv4-specific TOMLs) - Convert 19 team skills from Claude Code format (Agent/SendMessage/TaskCreate) to Codex format (spawn_agent/wait_agent/tasks.json/request_user_input) - Update team-lifecycle-v4 to use generic agent types (team_worker/team_supervisor) - Convert all coordinator role files: dispatch.md, monitor.md, role.md - Convert all worker role files: remove run_in_background, fix Bash syntax - Convert all specs/pipelines.md references - Final state: 20 team skills, 217 .md files, zero Claude Code API residuals Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Implement
Execute implementation from task JSON via agent or CLI delegation.
Agent Mode
Direct implementation using Edit/Write/Bash tools:
- Read task.files[] as target files
- Read task.implementation[] as step-by-step instructions
- For each step:
- Substitute [variable] placeholders with pre_analysis results
- New file -> Write tool; Modify file -> Edit tool
- Follow task.reference patterns
- Apply task.rationale.chosen_approach
- Mitigate task.risks[] during implementation
Quality rules:
- Verify module existence before referencing
- Incremental progress -- small working changes
- Follow existing patterns from task.reference
- ASCII-only, no premature abstractions
CLI Delegation Mode
Build prompt from task JSON, delegate to CLI:
Prompt structure:
PURPOSE: <task.title>
<task.description>
TARGET FILES:
<task.files[] with paths and changes>
IMPLEMENTATION STEPS:
<task.implementation[] numbered>
PRE-ANALYSIS CONTEXT:
<pre_analysis results>
REFERENCE:
<task.reference pattern and files>
DONE WHEN:
<task.convergence.criteria[]>
MODE: write
CONSTRAINTS: Only modify listed files | Follow existing patterns
CLI call:
Bash(`ccw cli -p "<prompt>" --tool <tool> --mode write --rule development-implement-feature`)
Resume strategy:
| Strategy | Command |
|---|---|
| new | --id -<task_id> |
| resume | --resume <parent_id> |
RoleSpec: .codex/skills/team-lifecycle-v4/roles/executor/role.md