mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
feat: migrate all codex team skills from spawn_agents_on_csv to spawn_agent + wait_agent architecture
- 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>
This commit is contained in:
76
.codex/skills/team-frontend/specs/pipelines.md
Normal file
76
.codex/skills/team-frontend/specs/pipelines.md
Normal file
@@ -0,0 +1,76 @@
|
||||
# Frontend Pipeline Definitions
|
||||
|
||||
## Pipeline Modes
|
||||
|
||||
### Page Mode (4 beats, linear)
|
||||
|
||||
```
|
||||
ANALYZE-001 --> ARCH-001 --> DEV-001 --> QA-001
|
||||
[analyst] [architect] [developer] [qa]
|
||||
```
|
||||
|
||||
### Feature Mode (5 beats, with architecture review gate)
|
||||
|
||||
```
|
||||
ANALYZE-001 --> ARCH-001 --> QA-001 --> DEV-001 --> QA-002
|
||||
[analyst] [architect] [qa:arch] [developer] [qa:code]
|
||||
```
|
||||
|
||||
### System Mode (7 beats, dual-track parallel)
|
||||
|
||||
```
|
||||
ANALYZE-001 --> ARCH-001 --> QA-001 --> ARCH-002 ─┐
|
||||
[analyst] [architect] [qa:arch] [architect] |
|
||||
DEV-001 ──┘ --> QA-002 --> DEV-002 --> QA-003
|
||||
[developer:tokens] [qa] [developer] [qa:final]
|
||||
```
|
||||
|
||||
### Generator-Critic Loop (developer <-> qa)
|
||||
|
||||
```
|
||||
developer (Generator) -> QA artifact -> qa (Critic)
|
||||
<- QA feedback <-
|
||||
(max 2 rounds)
|
||||
|
||||
Convergence: qa.score >= 8 && qa.critical_count === 0
|
||||
```
|
||||
|
||||
## Task Metadata Registry
|
||||
|
||||
| Task ID | Role | Pipeline | Dependencies | Description |
|
||||
|---------|------|----------|-------------|-------------|
|
||||
| ANALYZE-001 | analyst | all | (none) | Requirement analysis + design intelligence |
|
||||
| ARCH-001 | architect | all | ANALYZE-001 | Design token system + component architecture |
|
||||
| ARCH-002 | architect | system | QA-001 | Component specs refinement |
|
||||
| DEV-001 | developer | all | ARCH-001 or QA-001 | Frontend implementation |
|
||||
| DEV-002 | developer | system | QA-002 | Component implementation |
|
||||
| DEV-fix-N | developer | all | QA-N (GC loop trigger) | Fix issues from QA |
|
||||
| QA-001 | qa | all | ARCH-001 or DEV-001 | Architecture or code review |
|
||||
| QA-002 | qa | feature/system | DEV-001 | Code review |
|
||||
| QA-003 | qa | system | DEV-002 | Final quality check |
|
||||
| QA-recheck-N | qa | all | DEV-fix-N | Re-audit after developer fixes |
|
||||
|
||||
## Pipeline Selection Logic
|
||||
|
||||
| Score | Pipeline |
|
||||
|-------|----------|
|
||||
| 1-2 | page |
|
||||
| 3-4 | feature |
|
||||
| 5+ | system |
|
||||
|
||||
Default: feature.
|
||||
|
||||
## ui-ux-pro-max Integration
|
||||
|
||||
Analyst role invokes ui-ux-pro-max via Skill to obtain industry design intelligence:
|
||||
|
||||
| Action | Invocation |
|
||||
|--------|------------|
|
||||
| Full design system | `Skill(skill="ui-ux-pro-max", args="<industry> <keywords> --design-system")` |
|
||||
| Domain search | `Skill(skill="ui-ux-pro-max", args="<query> --domain <domain>")` |
|
||||
| Tech stack guidance | `Skill(skill="ui-ux-pro-max", args="<query> --stack <stack>")` |
|
||||
|
||||
**Supported Domains**: product, style, typography, color, landing, chart, ux, web
|
||||
**Supported Stacks**: html-tailwind, react, nextjs, vue, svelte, shadcn, swiftui, react-native, flutter
|
||||
|
||||
**Fallback**: If ui-ux-pro-max skill not installed, degrade to LLM general design knowledge.
|
||||
84
.codex/skills/team-frontend/specs/team-config.json
Normal file
84
.codex/skills/team-frontend/specs/team-config.json
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"team_name": "frontend",
|
||||
"skill_name": "team-frontend",
|
||||
"team_display_name": "Frontend Development",
|
||||
"description": "全栈前端开发团队,内置 ui-ux-pro-max 设计智能。具备需求分析、设计系统生成、前端实现、质量保证的完整能力。",
|
||||
"pipeline_type": "adaptive",
|
||||
"roles": [
|
||||
{
|
||||
"name": "coordinator",
|
||||
"task_prefix": null,
|
||||
"responsibility_type": "Orchestration",
|
||||
"description": "需求澄清、行业识别、流水线编排、进度监控、GC循环控制",
|
||||
"message_types": ["task_unblocked", "sync_checkpoint", "fix_required", "error", "shutdown"]
|
||||
},
|
||||
{
|
||||
"name": "analyst",
|
||||
"task_prefix": "ANALYZE",
|
||||
"responsibility_type": "Read-only analysis",
|
||||
"description": "需求分析、调用 ui-ux-pro-max 获取设计智能、行业推理规则匹配",
|
||||
"message_types": ["analyze_ready", "analyze_progress", "error"]
|
||||
},
|
||||
{
|
||||
"name": "architect",
|
||||
"task_prefix": "ARCH",
|
||||
"responsibility_type": "Code generation",
|
||||
"description": "消费设计智能、定义设计令牌系统、组件架构、技术选型",
|
||||
"message_types": ["arch_ready", "arch_revision", "arch_progress", "error"]
|
||||
},
|
||||
{
|
||||
"name": "developer",
|
||||
"task_prefix": "DEV",
|
||||
"responsibility_type": "Code generation",
|
||||
"description": "消费架构产出、实现前端组件/页面代码",
|
||||
"message_types": ["dev_complete", "dev_progress", "error"]
|
||||
},
|
||||
{
|
||||
"name": "qa",
|
||||
"task_prefix": "QA",
|
||||
"responsibility_type": "Read-only analysis",
|
||||
"description": "5维度代码审查:代码质量、可访问性、设计合规、UX最佳实践、Pre-Delivery验证",
|
||||
"message_types": ["qa_passed", "qa_result", "fix_required", "error"]
|
||||
}
|
||||
],
|
||||
"pipelines": {
|
||||
"page": {
|
||||
"description": "单页面开发:分析→架构→开发→质检",
|
||||
"task_chain": ["ANALYZE-001", "ARCH-001", "DEV-001", "QA-001"],
|
||||
"collaboration_patterns": ["CP-1", "CP-2"],
|
||||
"complexity": "low"
|
||||
},
|
||||
"feature": {
|
||||
"description": "多组件特性:分析→架构→质检→开发→质检",
|
||||
"task_chain": ["ANALYZE-001", "ARCH-001", "QA-001", "DEV-001", "QA-002"],
|
||||
"collaboration_patterns": ["CP-1", "CP-2", "CP-8"],
|
||||
"complexity": "medium"
|
||||
},
|
||||
"system": {
|
||||
"description": "完整前端系统:分析→架构→[开发令牌 ∥ 架构组件]→质检→开发组件→最终质检",
|
||||
"task_chain": ["ANALYZE-001", "ARCH-001", "QA-001", "ARCH-002||DEV-001", "QA-002", "DEV-002", "QA-003"],
|
||||
"sync_points": ["QA-001", "QA-002"],
|
||||
"collaboration_patterns": ["CP-1", "CP-2", "CP-8", "CP-9"],
|
||||
"complexity": "high"
|
||||
}
|
||||
},
|
||||
"uipro_config": {
|
||||
"search_paths": [
|
||||
"G:/github_lib/ui-ux-pro-max-skill/src/ui-ux-pro-max",
|
||||
"../ui-ux-pro-max-skill/src/ui-ux-pro-max",
|
||||
"./ui-ux-pro-max"
|
||||
],
|
||||
"fallback": "LLM general design knowledge",
|
||||
"data_domains": ["product", "style", "typography", "color", "landing", "chart", "ux", "web"],
|
||||
"supported_stacks": ["html-tailwind", "react", "nextjs", "vue", "svelte", "shadcn"]
|
||||
},
|
||||
"shared_memory_schema": {
|
||||
"design_intelligence": {},
|
||||
"design_token_registry": {},
|
||||
"component_inventory": [],
|
||||
"style_decisions": [],
|
||||
"qa_history": [],
|
||||
"industry_context": {}
|
||||
},
|
||||
"generated_at": "2026-02-17T00:00:00+08:00"
|
||||
}
|
||||
Reference in New Issue
Block a user