CC-DevFlow Orchestrator
Purpose
Guide users to the correct agent/command WITHOUT duplicating their detailed standards.
Workflow Map
🏢 项目级工作流(Project-Level, 项目初期执行一次)
/core-roadmap → ROADMAP.md + BACKLOG.md (产品路线图)
/core-architecture → ARCHITECTURE.md (系统架构设计)
/core-guidelines → frontend-guidelines.md / backend-guidelines.md (项目规范)
/core-style → STYLE.md (设计风格指南)
📦 需求级工作流(Requirement-Level, 每个需求执行一次)
/flow-init → research.md + tasks.json + BRAINSTORM.md (研究初始化 + 头脑风暴)
↓
/flow-clarify → clarifications/*.md (11 维度歧义扫描, 可选)
↓
/flow-prd → PRD.md (invoke prd-writer agent, 需 BRAINSTORM.md 对齐)
↓
/flow-checklist → checklists/*.md (需求质量检查, 可选)
↓
/flow-tech → TECH_DESIGN.md + data-model + contracts (invoke tech-architect agent)
↓
/flow-ui → UI_PROTOTYPE.html (invoke ui-designer agent, 可选, 引用 STYLE.md)
↓
/flow-epic → EPIC.md + TASKS.md (invoke planner, bite-sized tasks)
↓
/flow-dev → TASKS.md execution (TDD + Autonomous mode default)
↓
/flow-review → SPEC_REVIEW.md + CODE_QUALITY_REVIEW.md (Two-Stage Review)
↓
/flow-qa → QA reports (invoke qa-tester + security-reviewer agents)
↓
/flow-release → PR creation + deployment (分支完成决策)
↓
/flow-verify → consistency check (invoke consistency-checker agent, 任意阶段可调用)
🐛 Bug 修复工作流
/flow-fix "BUG-123|描述" → 系统化调试 (4阶段: Root Cause → Pattern → Hypothesis → TDD Fix)
说明:
- 项目级命令建立全局标准(SSOT),需求级命令引用这些标准
/flow-init 包含 Brainstorming 阶段,生成 BRAINSTORM.md 作为需求「北极星」
/flow-prd 需要 BRAINSTORM.md 对齐检查
/flow-clarify 在 PRD 前可选执行,消除 research.md 中的歧义
/flow-epic 使用 bite-sized tasks 原则 (2-5分钟/任务)
/flow-dev 默认 Autonomous 模式(自动重试),使用 --manual 退出到 Manual 模式
/flow-review 是新增的两阶段审查 (Spec Compliance → Code Quality)
/flow-ui 和 /flow-dev 自动加载 devflow/STYLE.md(如存在)
- 项目级命令可按需执行,无严格顺序要求
Agent Delegation Guide
When User Asks About Requirements Clarification
- DO: Recommend
/flow-clarify command → invokes clarify-analyst agent
- DON'T: Duplicate clarification logic (flow-clarify.md has ~128 lines)
- Link: See .claude/commands/flow-clarify.md for details
- Outputs: clarifications/[timestamp]-flow-clarify.md (澄清报告)
- Features: 11-dimension scan, ≤5 prioritized questions, session recovery
When User Asks About PRD
- DO: Recommend
/flow-prd command → invokes prd-writer agent
- DON'T: Duplicate PRD standards (prd-writer agent has ~300 lines)
- Link: See .claude/agents/prd-writer.md for PRD details
- Standards: INVEST principles, Anti-Expansion mandate, Given-When-Then criteria
When User Asks About Requirement Quality Checklist
- DO: Recommend
/flow-checklist command → invokes checklist-agent
- DON'T: Duplicate checklist standards (checklist-agent has ~180 lines)
- Link: See .claude/commands/flow-checklist.md for details
- Outputs: checklists/*.md (ux, api, security, performance, data, general)
- Features: 5 quality dimensions, Anti-Example rules, 80% gate threshold
- Level: Requirement-level (optional, before /flow-epic)
When User Asks About Tech Design
- DO: Recommend
/flow-tech command → invokes tech-architect agent
- DON'T: Duplicate tech standards (tech-architect agent has ~516 lines)
- Link: See .claude/agents/tech-architect.md for design details
- Outputs: TECH_DESIGN.md, data-model.md, contracts/, quickstart.md
When User Asks About Design Style Guide
- DO: Recommend
/core-style command → invokes style-guide-generator agent
- DON'T: Duplicate style guide standards (style-guide-generator agent has ~400 lines)
- Link: See .claude/agents/style-guide-generator.md for details
- Outputs: STYLE.md (project-level SSOT for visual consistency)
- Level: Project-level (execute once per project)
When User Asks About UI Prototype
- DO: Recommend
/flow-ui command → invokes ui-designer agent
- DON'T: Duplicate UI standards (ui-designer agent has ~485 lines)
- Link: See .claude/agents/ui-designer.md for UI details
- Features: 80+ design masters sampling, responsive design, NO PLACEHOLDER, references STYLE.md
When User Asks About Task Planning
- DO: Recommend
/flow-epic command → invokes planner agent
- DON'T: Duplicate planning logic (planner agent has ~400 lines)
- Link: See .claude/agents/planner.md for task breakdown rules
- Enforces: Phase -1 Gates (Articles VII, VIII, IX), TDD sequence
When User Asks About QA/Security
- DO: Recommend
/flow-qa command → invokes qa-tester + security-reviewer agents
- DON'T: Duplicate QA standards (qa-tester agent has ~300 lines)
- Link: See .claude/agents/qa-tester.md for QA details
When User Asks About Code Review (v2.1.0 新增)
- DO: Recommend
/flow-review command → invokes spec-reviewer + code-quality-reviewer agents
- DON'T: Duplicate review standards (Two-Stage Review)
- Link: See .claude/commands/flow-review.md for details
- Features: Stage 1 (Spec Compliance) → Stage 2 (Code Quality), 不信任实现者报告
When User Asks About Bug Fix (v2.1.0 新增)
- DO: Recommend
/flow-fix command → 4-phase systematic debugging
- DON'T: Guess and fix without investigation
- Link: See .claude/commands/flow-fix.md for details
- Features: Root Cause → Pattern → Hypothesis → TDD Fix, Iron Law enforcement
Phase Gates (Quick Reference Only)
Entry Gates
- flow-init Entry: Git 工作区干净, main 分支
- flow-clarify Entry: research.md 存在, phase0_complete == true
- flow-prd Entry: BRAINSTORM.md 存在, research.md 无 TODO placeholder
- flow-checklist Entry: PRD.md 必须完成 (prd_complete == true)
- flow-tech Entry: PRD.md 必须完成
- flow-ui Entry: PRD.md 必须完成(可与 tech 并行)
- flow-epic Entry: PRD 完成,tech/ui 推荐但可选,Checklist Gate (如存在 checklists/)
- flow-dev Entry: EPIC.md + TASKS.md 存在
- flow-review Entry: development_complete == true
- flow-qa Entry: review_complete == true (或 development_complete)
- flow-release Entry: qa_complete == true
Exit Gates
- flow-init Exit: research.md 5-level quality check, BRAINSTORM.md 完整
- flow-clarify Exit: clarification report 完整, orchestration_status.clarify_complete == true
- flow-prd Exit: PRD.md 无 placeholder, Constitution 合规, BRAINSTORM 对齐
- flow-tech Exit: TECH_DESIGN.md + data-model + contracts 完整
- flow-epic Exit: TASKS.md TDD 顺序正确, bite-sized tasks, Phase -1 Gates 通过
- flow-dev Exit: 所有 TASKS 完成, TDD Checkpoint 通过, 测试通过
- flow-review Exit: SPEC_REVIEW.md + CODE_QUALITY_REVIEW.md 均 PASS
- flow-qa Exit: 无 high-severity 漏洞
- flow-release Exit: PR 创建成功, 分支决策完成
For Details: See orchestration_status.json and EXECUTION_LOG.md
State Machine: Status → Recommended Command
Read orchestration_status.json to determine current phase:
status: "initialized"
→ Recommend: /flow-clarify (optional, clarify ambiguities)
→ Alternative: /flow-prd (skip clarification, generate PRD directly)
→ Note: BRAINSTORM.md 已在 /flow-init 生成
status: "clarify_complete" OR "clarify_skipped"
→ Recommend: /flow-prd (generate PRD)
status: "prd_complete"
→ Recommend: /flow-tech (generate technical design)
→ Alternative: /flow-ui (generate UI prototype, optional)
status: "tech_design_complete"
→ If UI not done: /flow-ui (optional)
→ Else: /flow-epic (generate EPIC and TASKS)
status: "epic_complete"
→ Recommend: /flow-dev (TDD development, Autonomous mode default)
→ Alternative: /flow-dev --manual (Manual mode for complex requirements)
status: "development_complete"
→ Recommend: /flow-review (Two-Stage Code Review)
→ Alternative: /flow-qa (skip review, go directly to QA)
status: "review_complete"
→ Recommend: /flow-qa (quality assurance and security review)
status: "qa_complete"
→ Recommend: /flow-release (create PR and release)
status: "released"
→ Recommend: /flow-verify (final consistency check)
Troubleshooting Quick Routing
Phase gate blocked?
- Action: Check
orchestration_status.json for current status
- Script: Run
.claude/scripts/check-prerequisites.sh --json
Document missing?
- Action: Check which phase is incomplete
- Script: Run
.claude/scripts/generate-status-report.sh
Need detailed standards?
- Clarify: See flow-clarify.md command + clarify-analyst agent
- PRD: Consult prd-writer agent
- Tech: Consult tech-architect agent
- UI: Consult ui-designer agent
- Tasks: Consult planner agent
- QA: Consult qa-tester agent
Constitution violation?
- Real-time check: constitution-guardian guardrail (PreToolUse hook)
- Batch validation: Run
.claude/scripts/validate-constitution.sh
- Reference: See
.claude/rules/project-constitution.md
- Rationalization Library: See
.claude/rules/rationalization-library.md
TDD order violated?
- Real-time check: devflow-tdd-enforcer guardrail (PreToolUse hook)
- Manual check: See TASKS.md, tests MUST be marked [x] before implementation
- TDD Skill: See
.claude/skills/flow-tdd/SKILL.md
Auxiliary Commands
Status and Progress
/flow-status - Query requirement progress
/flow-update "REQ-123" "T012" - Update task completion
/flow-restart "REQ-123" --from=epic - Resume interrupted workflow
Upgrade and Analysis
/flow-upgrade "REQ-123" --analyze - PRD version upgrade impact analysis
/flow-constitution - Constitution management
/flow-verify "REQ-123" - Comprehensive consistency verification
Bug Fix
/flow-fix "BUG-123|登录超时" - 系统化 BUG 修复 (4阶段调试法)
/problem-analyzer "<issue>" - Problem diagnosis
Code Review
/flow-review "REQ-123" - Two-Stage Code Review (Spec → Quality)
/code-review-high "<diff>" - High-rigor code review
Integration with Other Skills
Guardrails (实时阻断)
- devflow-tdd-enforcer: Enforces TDD order in TASKS.md
- constitution-guardian: Enforces Constitution compliance
Workflow Skills
- flow-brainstorming: 需求头脑风暴,生成 BRAINSTORM.md
- flow-tdd: TDD Iron Law 执行
- flow-debugging: 4阶段系统化调试
- flow-receiving-review: 处理代码审查反馈
- flow-finishing-branch: 分支完成决策
- verification-before-completion: 验证闸门
Reference Skills
- devflow-file-standards: File naming and directory structure reference
- devflow-constitution-quick-ref: Constitution quick reference
Design Principle
This skill does NOT contain:
- ❌ Detailed agent execution standards (those are in agent files)
- ❌ Full Phase Gate validation logic (those are in flow command files)
- ❌ Complete Constitution articles (those are in project-constitution.md)
This skill ONLY contains:
- ✅ Workflow routing (which command to run next)
- ✅ Agent delegation (which agent handles what)
- ✅ Quick reference (Phase Gates summary, not full details)
- ✅ Links to detailed documentation
Rationale: Avoid duplication ("不重不漏" principle). Agents and Commands own detailed standards.
1---2name: cc-devflow-orchestrator3description: CC-DevFlow workflow router and agent recommender. Use when starting requirements, running flow commands, or asking about devflow processes.4---56# CC-DevFlow Orchestrator78## Purpose9Guide users to the correct agent/command WITHOUT duplicating their detailed standards.1011## Workflow Map1213### 🏢 项目级工作流(Project-Level, 项目初期执行一次)1415```16/core-roadmap → ROADMAP.md + BACKLOG.md (产品路线图)17/core-architecture → ARCHITECTURE.md (系统架构设计)18/core-guidelines → frontend-guidelines.md / backend-guidelines.md (项目规范)19/core-style → STYLE.md (设计风格指南) 20```2122### 📦 需求级工作流(Requirement-Level, 每个需求执行一次)2324```25/flow-init → research.md + tasks.json + BRAINSTORM.md (研究初始化 + 头脑风暴)26 ↓27/flow-clarify → clarifications/*.md (11 维度歧义扫描, 可选)28 ↓29/flow-prd → PRD.md (invoke prd-writer agent, 需 BRAINSTORM.md 对齐)30 ↓31/flow-checklist → checklists/*.md (需求质量检查, 可选)32 ↓33/flow-tech → TECH_DESIGN.md + data-model + contracts (invoke tech-architect agent)34 ↓35/flow-ui → UI_PROTOTYPE.html (invoke ui-designer agent, 可选, 引用 STYLE.md)36 ↓37/flow-epic → EPIC.md + TASKS.md (invoke planner, bite-sized tasks)38 ↓39/flow-dev → TASKS.md execution (TDD + Autonomous mode default)40 ↓41/flow-review → SPEC_REVIEW.md + CODE_QUALITY_REVIEW.md (Two-Stage Review) 42 ↓43/flow-qa → QA reports (invoke qa-tester + security-reviewer agents)44 ↓45/flow-release → PR creation + deployment (分支完成决策)46 ↓47/flow-verify → consistency check (invoke consistency-checker agent, 任意阶段可调用)48```4950### 🐛 Bug 修复工作流5152```53/flow-fix "BUG-123|描述" → 系统化调试 (4阶段: Root Cause → Pattern → Hypothesis → TDD Fix)54```5556**说明**:57- 项目级命令建立全局标准(SSOT),需求级命令引用这些标准58- `/flow-init` 包含 Brainstorming 阶段,生成 BRAINSTORM.md 作为需求「北极星」59- `/flow-prd` 需要 BRAINSTORM.md 对齐检查60- `/flow-clarify` 在 PRD 前可选执行,消除 research.md 中的歧义61- `/flow-epic` 使用 bite-sized tasks 原则 (2-5分钟/任务)62- `/flow-dev` 默认 Autonomous 模式(自动重试),使用 `--manual` 退出到 Manual 模式 63- `/flow-review` 是新增的两阶段审查 (Spec Compliance → Code Quality)64- `/flow-ui` 和 `/flow-dev` 自动加载 `devflow/STYLE.md`(如存在)65- 项目级命令可按需执行,无严格顺序要求6667## Agent Delegation Guide6869### When User Asks About Requirements Clarification70- **DO**: Recommend `/flow-clarify` command → invokes clarify-analyst agent71- **DON'T**: Duplicate clarification logic (flow-clarify.md has ~128 lines)72- **Link**: See [.claude/commands/flow-clarify.md](.claude/commands/flow-clarify.md) for details73- **Outputs**: clarifications/[timestamp]-flow-clarify.md (澄清报告)74- **Features**: 11-dimension scan, ≤5 prioritized questions, session recovery7576### When User Asks About PRD77- **DO**: Recommend `/flow-prd` command → invokes prd-writer agent78- **DON'T**: Duplicate PRD standards (prd-writer agent has ~300 lines)79- **Link**: See [.claude/agents/prd-writer.md](.claude/agents/prd-writer.md) for PRD details80- **Standards**: INVEST principles, Anti-Expansion mandate, Given-When-Then criteria8182### When User Asks About Requirement Quality Checklist83- **DO**: Recommend `/flow-checklist` command → invokes checklist-agent84- **DON'T**: Duplicate checklist standards (checklist-agent has ~180 lines)85- **Link**: See [.claude/commands/flow-checklist.md](.claude/commands/flow-checklist.md) for details86- **Outputs**: checklists/*.md (ux, api, security, performance, data, general)87- **Features**: 5 quality dimensions, Anti-Example rules, 80% gate threshold88- **Level**: Requirement-level (optional, before /flow-epic)8990### When User Asks About Tech Design91- **DO**: Recommend `/flow-tech` command → invokes tech-architect agent92- **DON'T**: Duplicate tech standards (tech-architect agent has ~516 lines)93- **Link**: See [.claude/agents/tech-architect.md](.claude/agents/tech-architect.md) for design details94- **Outputs**: TECH_DESIGN.md, data-model.md, contracts/, quickstart.md9596### When User Asks About Design Style Guide97- **DO**: Recommend `/core-style` command → invokes style-guide-generator agent98- **DON'T**: Duplicate style guide standards (style-guide-generator agent has ~400 lines)99- **Link**: See [.claude/agents/style-guide-generator.md](.claude/agents/style-guide-generator.md) for details100- **Outputs**: STYLE.md (project-level SSOT for visual consistency)101- **Level**: Project-level (execute once per project)102103### When User Asks About UI Prototype104- **DO**: Recommend `/flow-ui` command → invokes ui-designer agent105- **DON'T**: Duplicate UI standards (ui-designer agent has ~485 lines)106- **Link**: See [.claude/agents/ui-designer.md](.claude/agents/ui-designer.md) for UI details107- **Features**: 80+ design masters sampling, responsive design, NO PLACEHOLDER, references STYLE.md108109### When User Asks About Task Planning110- **DO**: Recommend `/flow-epic` command → invokes planner agent111- **DON'T**: Duplicate planning logic (planner agent has ~400 lines)112- **Link**: See [.claude/agents/planner.md](.claude/agents/planner.md) for task breakdown rules113- **Enforces**: Phase -1 Gates (Articles VII, VIII, IX), TDD sequence114115### When User Asks About QA/Security116- **DO**: Recommend `/flow-qa` command → invokes qa-tester + security-reviewer agents117- **DON'T**: Duplicate QA standards (qa-tester agent has ~300 lines)118- **Link**: See [.claude/agents/qa-tester.md](.claude/agents/qa-tester.md) for QA details119120### When User Asks About Code Review (v2.1.0 新增)121- **DO**: Recommend `/flow-review` command → invokes spec-reviewer + code-quality-reviewer agents122- **DON'T**: Duplicate review standards (Two-Stage Review)123- **Link**: See [.claude/commands/flow-review.md](.claude/commands/flow-review.md) for details124- **Features**: Stage 1 (Spec Compliance) → Stage 2 (Code Quality), 不信任实现者报告125126### When User Asks About Bug Fix (v2.1.0 新增)127- **DO**: Recommend `/flow-fix` command → 4-phase systematic debugging128- **DON'T**: Guess and fix without investigation129- **Link**: See [.claude/commands/flow-fix.md](.claude/commands/flow-fix.md) for details130- **Features**: Root Cause → Pattern → Hypothesis → TDD Fix, Iron Law enforcement131132## Phase Gates (Quick Reference Only)133134### Entry Gates135- **flow-init Entry**: Git 工作区干净, main 分支136- **flow-clarify Entry**: research.md 存在, phase0_complete == true137- **flow-prd Entry**: BRAINSTORM.md 存在, research.md 无 TODO placeholder 138- **flow-checklist Entry**: PRD.md 必须完成 (prd_complete == true)139- **flow-tech Entry**: PRD.md 必须完成140- **flow-ui Entry**: PRD.md 必须完成(可与 tech 并行)141- **flow-epic Entry**: PRD 完成,tech/ui 推荐但可选,Checklist Gate (如存在 checklists/)142- **flow-dev Entry**: EPIC.md + TASKS.md 存在143- **flow-review Entry**: development_complete == true 144- **flow-qa Entry**: review_complete == true (或 development_complete)145- **flow-release Entry**: qa_complete == true146147### Exit Gates148- **flow-init Exit**: research.md 5-level quality check, BRAINSTORM.md 完整149- **flow-clarify Exit**: clarification report 完整, orchestration_status.clarify_complete == true150- **flow-prd Exit**: PRD.md 无 placeholder, Constitution 合规, BRAINSTORM 对齐151- **flow-tech Exit**: TECH_DESIGN.md + data-model + contracts 完整152- **flow-epic Exit**: TASKS.md TDD 顺序正确, bite-sized tasks, Phase -1 Gates 通过153- **flow-dev Exit**: 所有 TASKS 完成, TDD Checkpoint 通过, 测试通过154- **flow-review Exit**: SPEC_REVIEW.md + CODE_QUALITY_REVIEW.md 均 PASS 155- **flow-qa Exit**: 无 high-severity 漏洞156- **flow-release Exit**: PR 创建成功, 分支决策完成 157158**For Details**: See [orchestration_status.json](devflow/requirements/REQ-XXX/orchestration_status.json) and [EXECUTION_LOG.md](devflow/requirements/REQ-XXX/EXECUTION_LOG.md)159160## State Machine: Status → Recommended Command161162Read `orchestration_status.json` to determine current phase:163164```yaml165status: "initialized"166 → Recommend: /flow-clarify (optional, clarify ambiguities)167 → Alternative: /flow-prd (skip clarification, generate PRD directly)168 → Note: BRAINSTORM.md 已在 /flow-init 生成 169170status: "clarify_complete" OR "clarify_skipped"171 → Recommend: /flow-prd (generate PRD)172173status: "prd_complete"174 → Recommend: /flow-tech (generate technical design)175 → Alternative: /flow-ui (generate UI prototype, optional)176177status: "tech_design_complete"178 → If UI not done: /flow-ui (optional)179 → Else: /flow-epic (generate EPIC and TASKS)180181status: "epic_complete"182 → Recommend: /flow-dev (TDD development, Autonomous mode default)183 → Alternative: /flow-dev --manual (Manual mode for complex requirements) 184185status: "development_complete"186 → Recommend: /flow-review (Two-Stage Code Review) 187 → Alternative: /flow-qa (skip review, go directly to QA)188189status: "review_complete"190 → Recommend: /flow-qa (quality assurance and security review)191192status: "qa_complete"193 → Recommend: /flow-release (create PR and release)194195status: "released"196 → Recommend: /flow-verify (final consistency check)197```198199## Troubleshooting Quick Routing200201### Phase gate blocked?202- **Action**: Check `orchestration_status.json` for current status203- **Script**: Run `.claude/scripts/check-prerequisites.sh --json`204205### Document missing?206- **Action**: Check which phase is incomplete207- **Script**: Run `.claude/scripts/generate-status-report.sh`208209### Need detailed standards?210- **Clarify**: See flow-clarify.md command + clarify-analyst agent211- **PRD**: Consult prd-writer agent212- **Tech**: Consult tech-architect agent213- **UI**: Consult ui-designer agent214- **Tasks**: Consult planner agent215- **QA**: Consult qa-tester agent216217### Constitution violation?218- **Real-time check**: constitution-guardian guardrail (PreToolUse hook)219- **Batch validation**: Run `.claude/scripts/validate-constitution.sh`220- **Reference**: See `.claude/rules/project-constitution.md` 221- **Rationalization Library**: See `.claude/rules/rationalization-library.md` 222223### TDD order violated?224- **Real-time check**: devflow-tdd-enforcer guardrail (PreToolUse hook)225- **Manual check**: See TASKS.md, tests MUST be marked [x] before implementation226- **TDD Skill**: See `.claude/skills/flow-tdd/SKILL.md` 227228## Auxiliary Commands229230### Status and Progress231- `/flow-status` - Query requirement progress232- `/flow-update "REQ-123" "T012"` - Update task completion233- `/flow-restart "REQ-123" --from=epic` - Resume interrupted workflow234235### Upgrade and Analysis236- `/flow-upgrade "REQ-123" --analyze` - PRD version upgrade impact analysis237- `/flow-constitution` - Constitution management238- `/flow-verify "REQ-123"` - Comprehensive consistency verification239240### Bug Fix241- `/flow-fix "BUG-123|登录超时"` - 系统化 BUG 修复 (4阶段调试法)242- `/problem-analyzer "<issue>"` - Problem diagnosis243244### Code Review245- `/flow-review "REQ-123"` - Two-Stage Code Review (Spec → Quality)246- `/code-review-high "<diff>"` - High-rigor code review247248## Integration with Other Skills249250### Guardrails (实时阻断)251- **devflow-tdd-enforcer**: Enforces TDD order in TASKS.md252- **constitution-guardian**: Enforces Constitution compliance253254### Workflow Skills255- **flow-brainstorming**: 需求头脑风暴,生成 BRAINSTORM.md256- **flow-tdd**: TDD Iron Law 执行257- **flow-debugging**: 4阶段系统化调试258- **flow-receiving-review**: 处理代码审查反馈259- **flow-finishing-branch**: 分支完成决策260- **verification-before-completion**: 验证闸门261262### Reference Skills263- **devflow-file-standards**: File naming and directory structure reference264- **devflow-constitution-quick-ref**: Constitution quick reference265266## Design Principle267268**This skill does NOT contain**:269- ❌ Detailed agent execution standards (those are in agent files)270- ❌ Full Phase Gate validation logic (those are in flow command files)271- ❌ Complete Constitution articles (those are in project-constitution.md)272273**This skill ONLY contains**:274- ✅ Workflow routing (which command to run next)275- ✅ Agent delegation (which agent handles what)276- ✅ Quick reference (Phase Gates summary, not full details)277- ✅ Links to detailed documentation278279**Rationale**: Avoid duplication ("不重不漏" principle). Agents and Commands own detailed standards.