gsd-orchestration

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

GSD Orchestration

GSD 开发编排

"The complexity is in the system, not in your workflow." — TÂCHES
"复杂度存在于系统之中,而非你的工作流内。" — TÂCHES

Philosophy

设计理念

GSD solves context rot — the quality degradation as Claude fills its context window. Each task runs in fresh context. Plans are atomic. Verification is built-in.
GSD 解决了上下文衰减问题——即Claude的上下文窗口被填满时,输出质量下降的问题。每个任务都在全新上下文中运行,计划是原子化的,内置验证机制。

Quick Reference

速查指南

CommandPurpose
gsd init
New project: questions → research → requirements → roadmap
gsd discuss [N]
Capture decisions for phase N (NO CODE)
gsd plan [N]
Create atomic task plans for phase N
gsd execute [N]
Run tasks with fresh context per task
gsd verify [N]
Verify deliverables work as expected
gsd status
Current position and next action
gsd complete [N]
Archive phase, update state
命令用途
gsd init
新建项目:提问→调研→需求梳理→路线图制定
gsd discuss [N]
记录第N阶段的决策(不涉及代码)
gsd plan [N]
为第N阶段创建原子化任务计划
gsd execute [N]
在全新上下文中执行每个任务
gsd verify [N]
验证交付成果是否符合预期
gsd status
查看当前进度与下一步操作建议
gsd complete [N]
归档阶段,更新项目状态

Parallel Execution Commands (NEW)

并行执行命令(新增)

CommandPurpose
gsd execute-all
Execute all phases sequentially (background optional)
gsd execute-parallel [N]
Execute phase N with parallel tasks where possible
gsd execute-overnight
Full autopilot mode for unattended execution
gsd check-conflicts [N]
Analyze PLANs for file conflicts before parallel execution
gsd status --live
Live monitoring of running background agents
命令用途
gsd execute-all
按顺序执行所有阶段(可选后台运行)
gsd execute-parallel [N]
尽可能以并行方式执行第N阶段的任务
gsd execute-overnight
全自动无人值守执行模式
gsd check-conflicts [N]
并行执行前分析计划中的文件冲突
gsd status --live
实时监控后台运行的Agent

Core Workflow

核心工作流

gsd init → gsd discuss 1 → gsd plan 1 → gsd execute 1 → gsd verify 1 → gsd complete 1
         gsd discuss 2 → gsd plan 2 → ...
For detailed workflow instructions, see references/WORKFLOW.md.
gsd init → gsd discuss 1 → gsd plan 1 → gsd execute 1 → gsd verify 1 → gsd complete 1
         gsd discuss 2 → gsd plan 2 → ...
详细工作流说明,请查看 references/WORKFLOW.md

Project Structure

项目结构

.gsd/
├── PROJECT.md         # Vision, goals, tech stack (always loaded)
├── REQUIREMENTS.md    # Scoped v1/v2 requirements
├── ROADMAP.md         # All phases with status
├── STATE.md           # Current position, blockers, decisions
└── phases/
    └── phase-N/
        ├── CONTEXT.md       # Decisions from discuss
        ├── ARCHITECTURE.md  # AI agent architecture (if AI phase)
        ├── RESEARCH.md      # Domain research (optional)
        ├── PLAN-1.md        # Atomic task plan
        ├── PLAN-2.md        # Atomic task plan
        └── SUMMARY.md       # What was built
.gsd/
├── PROJECT.md         # 愿景、目标、技术栈(始终加载)
├── REQUIREMENTS.md    # 分版本的v1/v2需求
├── ROADMAP.md         # 所有阶段及状态
├── STATE.md           # 当前进度、阻塞问题、决策记录
└── phases/
    └── phase-N/
        ├── CONTEXT.md       # 讨论阶段的决策记录
        ├── ARCHITECTURE.md  # AI Agent架构(若为AI相关阶段)
        ├── RESEARCH.md      # 领域调研(可选)
        ├── PLAN-1.md        # 原子化任务计划
        ├── PLAN-2.md        # 原子化任务计划
        └── SUMMARY.md       # 阶段交付成果总结

Context Engineering Rules

上下文工程规则

Critical: These rules prevent context rot.
  1. Fresh context per task - Clear mental state between tasks
  2. Load only relevant files - Never load all .gsd/ files at once
  3. Maximum 3 tasks per plan - Keeps execution focused
  4. Size limits:
    • PROJECT.md: ~500 lines max
    • Each PLAN.md: ~200 lines max
    • RESEARCH.md: ~1000 lines max
For context engineering principles, see references/CONTEXT-ENGINEERING.md.
关键规则:这些规则用于防止上下文衰减。
  1. 每个任务使用全新上下文 - 任务间清空状态
  2. 仅加载相关文件 - 绝不一次性加载所有.gsd/目录下的文件
  3. 每个计划最多包含3个任务 - 保持执行聚焦
  4. 文件大小限制:
    • PROJECT.md:最多约500行
    • 每个PLAN.md:最多约200行
    • RESEARCH.md:最多约1000行
上下文工程原则,请查看 references/CONTEXT-ENGINEERING.md

Configuration

配置说明

This skill is configured for:
  • Project types: Mixed (all types - adaptive based on project)
  • Verification: Automated tests + manual checks
  • Planning depth: Adaptive (adjust based on complexity)
  • Git workflow: Atomic commits per task with conventional format

本工具的配置适用于:
  • 项目类型:混合类型(自适应所有项目)
  • 验证方式:自动化测试 + 人工检查
  • 规划深度:自适应(根据复杂度调整)
  • Git工作流:每个任务对应一次原子化提交,采用规范提交格式

Command Implementations

命令实现细节

gsd init

gsd init

Context to load: Nothing - fresh start
Process:
  1. Ask 5 focused questions: project description, core problem, target user, tech stack, success criteria
  2. Optional: Spawn research subagent for complex domains
  3. Generate: PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md
Output: "Project initialized. Run
gsd discuss 1
to begin."

加载上下文:无 - 全新开始
执行流程:
  1. 提出5个聚焦问题:项目描述、核心问题、目标用户、技术栈、成功标准
  2. 可选:针对复杂领域启动调研子Agent
  3. 生成文件:PROJECT.md、REQUIREMENTS.md、ROADMAP.md、STATE.md
输出:"项目初始化完成。执行
gsd discuss 1
开始下一阶段。"

gsd discuss [N]

gsd discuss [N]

Context to load: PROJECT.md, ROADMAP.md (phase N), STATE.md (decisions)
CRITICAL RULE: NO CODE. NO FILE CREATION. Only conversation.
Process:
  1. Summarize phase goal
  2. Offer agent-architect for complex phases (see ARCHITECT-INTEGRATION.md)
  3. Identify gray areas (visual, API, data, CLI decisions)
  4. Ask clarifying questions until clear
  5. Generate
    .gsd/phases/phase-N/CONTEXT.md
Output format:
undefined
加载上下文:PROJECT.md、ROADMAP.md(第N阶段)、STATE.md(决策记录)
关键规则:禁止编写代码、禁止创建文件。仅用于讨论。
执行流程:
  1. 总结阶段目标
  2. 可选:针对复杂阶段提供Agent架构师支持(查看ARCHITECT-INTEGRATION.md)
  3. 识别模糊领域(视觉设计、API、数据、CLI相关决策)
  4. 提出澄清问题直至达成共识
  5. 生成文件:
    .gsd/phases/phase-N/CONTEXT.md
输出格式:
undefined

Phase [N] Discussion Complete

第[N]阶段讨论完成

Decisions Made:

已做出的决策:

  • [Decision 1 with reasoning]
  • [Decision 2 with reasoning]
  • [决策1及理由]
  • [决策2及理由]

Out of Scope:

暂不纳入范围:

  • [Deferred item with reason]
  • [延迟处理的事项及理由]

Edge Cases Identified:

已识别的边缘情况:

  • [Edge case 1 and how to handle]
  • [Edge case 2 and how to handle]
Ready to plan? Run:
gsd plan [N]

**CONTEXT.md template**:
```markdown
  • [边缘情况1及处理方案]
  • [边缘情况2及处理方案]
准备好制定计划了吗?执行:
gsd plan [N]

**CONTEXT.md模板**:
```markdown

Phase [N] Context

第[N]阶段上下文

Decisions

决策记录

  • [Topic]: [Decision] - [Reasoning]
  • [Topic]: [Decision] - [Reasoning]
  • [主题]: [决策内容] - [理由]
  • [主题]: [决策内容] - [理由]

Out of Scope

暂不纳入范围

  • [Item] - [Why deferred/rejected]
  • [事项] - [延迟/拒绝的原因]

Edge Cases

边缘情况

  • [Case] → [How to handle]
  • [场景] → [处理方案]

Open Questions

待解决问题

  • [Question that needs answering during planning]

---
  • [规划阶段需要回答的问题]

---

gsd plan [N]

gsd plan [N]

Context to load:
  • PROJECT.md (tech stack section)
  • ROADMAP.md (phase N only)
  • CONTEXT.md (if exists)
  • ARCHITECTURE.md (if exists from agent-architect) ← Architectural decisions
  • Previous phase SUMMARY.md (if exists)
Process:
  1. Research (optional): Spawn researcher subagent for complex/unfamiliar domains
  2. Plan: Break into 2-3 atomic tasks
    • If ARCHITECTURE.md present (agent-architect was used):
      • Use agent definitions (identity + task dispatch templates) → Task for implementing agents
      • Use tool specifications (built-in + custom MCP + external MCP) → Task for tools + MCP setup
      • Use orchestration pattern + guiding skill → Task for orchestration + interaction loop
      • Reference architecture decisions in all plans
      • Instruct prompts to be stored as markdown files in
        prompts/
        directory
    • Standard phases: Break phase into logical atomic tasks
  3. Validate: Check plan completeness
Generate: Task plans using XML format.
For XML task templates, see references/XML-TEMPLATES.md.
Output:
.gsd/phases/phase-N/PLAN-1.md
,
PLAN-2.md
, etc.
Planning depth (adaptive based on configuration):
  • Quick: Minimal specs, basic acceptance criteria
  • Standard: Clear descriptions, testable criteria
  • Comprehensive: Detailed specs, edge cases, examples
  • Adaptive: Adjust based on task complexity
Each PLAN.md should be executable - another Claude instance can implement it without additional context.

加载上下文:
  • PROJECT.md(技术栈部分)
  • ROADMAP.md(仅第N阶段)
  • CONTEXT.md(若存在)
  • ARCHITECTURE.md(若由Agent架构师生成) ← 架构决策记录
  • 上一阶段的SUMMARY.md(若存在)
执行流程:
  1. 调研(可选):针对复杂/不熟悉的领域启动调研子Agent
  2. 制定计划:拆分为2-3个原子化任务
    • 若存在ARCHITECTURE.md(使用了Agent架构师):
      • 使用Agent定义(身份 + 任务分发模板)→ 实现Agent的任务
      • 使用工具规范(内置工具 + 自定义MCP + 外部MCP)→ 工具与MCP配置任务
      • 使用编排模式 + 指导工具 → 编排与交互循环任务
      • 所有计划中引用架构决策
      • 要求将提示词存储在
        prompts/
        目录下的markdown文件中
    • 标准阶段:将阶段拆分为逻辑独立的原子化任务
  3. 验证:检查计划的完整性
生成:采用XML格式的任务计划。
XML任务模板,请查看 references/XML-TEMPLATES.md
输出
.gsd/phases/phase-N/PLAN-1.md
PLAN-2.md
等文件。
规划深度(根据配置自适应):
  • 快速模式:最小化规范,基础验收标准
  • 标准模式:清晰的描述,可测试的验收标准
  • 全面模式:详细规范,边缘情况,示例
  • 自适应模式:根据任务复杂度调整
每个PLAN.md都应是可直接执行的——其他Claude实例无需额外上下文即可实现。

gsd execute [N]

gsd execute [N]

For EACH task in phase:
Context to load (fresh per task):
  • PROJECT.md (tech stack only - ~50 lines)
  • Current PLAN-X.md (full)
  • Relevant source files only
Process:
  1. Announce: "Starting Task [X]: [Name]"
  2. Execute according to plan
  3. Self-verify against acceptance criteria
  4. Commit (if git workflow enabled):
    bash
    git add -A && git commit -m "type(phase-N): description
    
    - Detail 1
    - Detail 2
    
    Co-Authored-By: Claude <noreply@anthropic.com>"
  5. Announce: "Task [X] complete - [summary]"
  6. Clear context
  7. Next task
Commit types: feat, fix, docs, refactor, test, chore
Between tasks output:
---
✓ Task 1 complete: [one-line summary]

Clearing context for Task 2...
Loading: PROJECT.md (tech), PLAN-2.md, [relevant files]

Starting Task 2: [Name]
---
Important: The "clearing context" announcement is a mental cue to actually reset context. Don't carry forward details from previous tasks.

针对阶段中的每个任务:
加载上下文(每个任务使用全新上下文):
  • PROJECT.md(仅技术栈部分 - 约50行)
  • 当前PLAN-X.md(完整内容)
  • 仅相关源码文件
执行流程:
  1. 通知:"开始执行任务[X]:[任务名称]"
  2. 根据计划执行任务
  3. 根据验收标准自我验证
  4. 提交代码(若启用Git工作流):
    bash
    git add -A && git commit -m "type(phase-N): description
    
    - 细节1
    - 细节2
    
    Co-Authored-By: Claude <noreply@anthropic.com>"
  5. 通知:"任务[X]完成 - [总结]"
  6. 清空上下文
  7. 执行下一个任务
提交类型:feat(新功能)、fix(修复)、docs(文档)、refactor(重构)、test(测试)、chore(杂项)
任务间输出:
---
✓ 任务1完成: [一行总结]

正在清空上下文以执行任务2...
正在加载: PROJECT.md(技术栈)、PLAN-2.md、[相关文件]

开始执行任务2: [任务名称]
---
重要提示:“清空上下文”的通知是一个明确的信号,必须实际重置上下文,不得携带上一个任务的细节。

gsd verify [N]

gsd verify [N]

Context to load:
  • ROADMAP.md (phase N goals)
  • All PLAN-X.md files for phase
  • STATE.md
Process:
  1. Extract testable deliverables from plans
  2. For each deliverable:
    • Automated: Run test commands (based on configuration)
    • Manual: Provide verification instructions
  3. Document results
  4. If all pass → suggest
    gsd complete [N]
  5. If any fail → identify failing task, suggest fix
Verification based on configuration:
  • Automated tests: pytest, jest, npm test, go test, etc.
  • Manual checks: curl commands, UI walkthrough, CLI usage
Output:
undefined
加载上下文:
  • ROADMAP.md(第N阶段目标)
  • 第N阶段的所有PLAN-X.md文件
  • STATE.md
执行流程:
  1. 从计划中提取可测试的交付成果
  2. 针对每个交付成果:
    • 自动化验证:运行测试命令(根据配置)
    • 人工验证:提供验证步骤说明
  3. 记录验证结果
  4. 若全部通过 → 建议执行
    gsd complete [N]
  5. 若有失败 → 识别失败任务,建议修复
基于配置的验证方式:
  • 自动化测试:pytest、jest、npm test、go test等
  • 人工检查:curl命令、UI走查、CLI使用验证
输出:
undefined

Verification Results: Phase [N]

第[N]阶段验证结果

Automated Tests

自动化测试

[✓ / ✗] Unit tests pass [✓ / ✗] Integration tests pass [✓ / ✗] Type checking clean [✓ / ✗] Linter clean
[✓ / ✗] 单元测试通过 [✓ / ✗] 集成测试通过 [✓ / ✗] 类型检查通过 [✓ / ✗] 代码检查通过

Manual Checks

人工检查

  • Check 1: [specific instruction]
  • Check 2: [specific instruction]
  • 检查1: [具体步骤]
  • 检查2: [具体步骤]

Overall Status

整体状态

[PASS / FAIL with summary]
[If PASS] All verification passed. Run
gsd complete [N]
to finalize.
[If FAIL] Issues found:
  • Task [X]: [specific failure] Suggested action: Fix and re-verify

---
[通过 / 失败及总结]
[若通过] 所有验证已通过。执行
gsd complete [N]
完成本阶段。
[若失败] 发现问题:
  • 任务[X]: [具体失败内容] 建议操作:修复后重新验证

---

gsd status

gsd status

Context to load: STATE.md only
Output:
undefined
加载上下文:仅STATE.md
输出:
undefined

GSD Status

GSD 项目状态

Project: [Name] Phase: [N] - [Phase Name] Status: [Not Started / Planning / Executing / Verifying]
项目: [名称] 阶段: [N] - [阶段名称] 状态: [未开始 / 规划中 / 执行中 / 验证中]

Progress

进度

[■■■□□□□□□□] 30% (3/10 phases)
[■■■□□□□□□□] 30% (3/10阶段)

Completed Phases

已完成阶段

  • Phase 1: [Name] ✓
  • Phase 2: [Name] ✓
  • 阶段1: [名称] ✓
  • 阶段2: [名称] ✓

Current Phase Tasks

当前阶段任务

  • Task 1: [brief description]
  • Task 2: [brief description] ← YOU ARE HERE
  • Task 3: [brief description]
  • 任务1: [简要描述]
  • 任务2: [简要描述] ← 当前位置
  • 任务3: [简要描述]

Next Action

下一步操作

gsd execute 3
(continue with task 2)
gsd execute 3
(继续执行任务2)

Recent Decisions

近期决策

  • [Most recent decision from STATE.md]
  • [STATE.md中最新的决策]

Blockers

阻塞问题

[None / list of blockers]

---
[无 / 阻塞问题列表]

---

gsd complete [N]

gsd complete [N]

Process:
  1. Generate SUMMARY.md (deliverables, files, decisions, metrics)
  2. Update STATE.md (mark complete, advance to N+1)
  3. Update ROADMAP.md (mark requirements done)
  4. Optional: Git tag if milestone complete
Output: "Phase [N] complete ✓. Run
gsd discuss [N+1]
for next phase."

执行流程:
  1. 生成SUMMARY.md(交付成果、文件、决策、指标)
  2. 更新STATE.md(标记阶段完成,推进至N+1阶段)
  3. 更新ROADMAP.md(标记需求已完成)
  4. 可选:若为里程碑阶段,创建Git标签
输出:"第[N]阶段完成 ✓。执行
gsd discuss [N+1]
开始下一阶段。"

Parallel Execution Commands

并行执行命令

GSD supports parallel execution using the Fan-Out / Fan-In pattern with automatic dependency detection.
Critical Claude Code Constraints (enforced by the platform):
  • No MCP tools in background agents - Use built-in tools only (Read, Write, Edit, Bash, Glob, Grep)
  • No nested subagents - Orchestrator spawns all agents, agents cannot delegate
  • Max ~10 concurrent agents - Batch execution for larger phases
For complete documentation, see references/PARALLEL-EXECUTION.md. For detailed command reference, see references/COMMANDS-REFERENCE.md.
GSD 支持使用扇出/扇入模式进行并行执行,并自动检测依赖。
Claude平台关键限制(平台强制要求):
  • 后台Agent无法使用MCP工具 - 仅使用内置工具(Read、Write、Edit、Bash、Glob、Grep)
  • 不支持嵌套子Agent - 由编排器启动所有Agent,Agent无法再委派任务
  • 最多约10个并发Agent - 大型阶段采用批量执行
完整文档,请查看 references/PARALLEL-EXECUTION.md。 命令详细参考,请查看 references/COMMANDS-REFERENCE.md

Quick Command Summary

命令速查

CommandSyntaxPurpose
execute-all
gsd execute-all [--from N] [--to M] [--background]
Run all phases sequentially
execute-parallel
gsd execute-parallel [N] [--max-agents N]
Fan-Out/Fan-In parallel execution
execute-overnight
gsd execute-overnight [--from N] [--parallel]
Full autopilot for unattended execution
check-conflicts
gsd check-conflicts [N] [--fix]
Detect file conflicts before parallel
status --live
gsd status --live [--interval N]
Real-time monitoring of background agents
命令语法用途
execute-all
gsd execute-all [--from N] [--to M] [--background]
按顺序执行所有阶段
execute-parallel
gsd execute-parallel [N] [--max-agents N]
扇出/扇入并行执行
execute-overnight
gsd execute-overnight [--from N] [--parallel]
全自动无人值守执行
check-conflicts
gsd check-conflicts [N] [--fix]
并行执行前检测文件冲突
status --live
gsd status --live [--interval N]
实时监控后台Agent

Overnight Execution Workflow

夜间执行工作流

bash
undefined
bash
undefined

Day: Plan all phases

白天:规划所有阶段

gsd discuss 1 && gsd plan 1 gsd discuss 2 && gsd plan 2
gsd discuss 1 && gsd plan 1 gsd discuss 2 && gsd plan 2

... repeat for all phases

... 重复上述步骤完成所有阶段规划

Before sleep: Check conflicts and start

睡前:检查冲突并启动执行

gsd check-conflicts 2 --fix gsd execute-overnight --from 2 --parallel
gsd check-conflicts 2 --fix gsd execute-overnight --from 2 --parallel

Next morning: Check results

次日早晨:查看结果

gsd status

---
gsd status

---

Additional Commands

额外命令

gsd add-phase

gsd add-phase

Append a new phase to the roadmap interactively.
交互式为路线图添加新阶段。

gsd pause

gsd pause

Save current state for resuming later. Updates STATE.md with pause timestamp and context.
保存当前状态以便后续恢复。更新STATE.md,记录暂停时间戳和上下文。

gsd resume

gsd resume

Restore from paused state. Shows what was in progress and suggests next action.
从暂停状态恢复。显示之前的进度并建议下一步操作。

gsd quick [description]

gsd quick [description]

Execute a quick ad-hoc task without full planning workflow. Useful for small fixes.

无需完整规划工作流,执行快速临时任务。适用于小型修复。

Subagent Architecture

子Agent架构

When spawning subagents, use minimal focused context:
SubagentPurposeContext
ResearcherInvestigate domainQuery + PROJECT.md tech stack
PlannerCreate task plansPhase goal + CONTEXT.md
CheckerValidate plansPlan + requirements
ExecutorImplement tasksSingle PLAN.md + relevant files
Rule: The orchestrator (main GSD) never does heavy lifting. It spawns, waits, integrates.

启动子Agent时,使用最小化的聚焦上下文:
子Agent用途上下文
调研Agent领域调研查询内容 + PROJECT.md技术栈
规划Agent创建任务计划阶段目标 + CONTEXT.md
检查Agent验证计划计划 + 需求
执行Agent实现任务单个PLAN.md + 相关文件
规则:编排器(主GSD)从不执行具体任务,仅负责启动、等待、整合结果。

Best Practices

最佳实践

  1. Fresh context per task - Never accumulate across tasks
  2. No code during discuss - Discuss is for requirements only
  3. Atomic means atomic - If >15 min, split it
  4. Verify everything - Even if it "looks right"
  5. Document decisions - Future Claude instances need this
  6. Commit per task - Git bisect finds exact failures
  7. Keep PROJECT.md lean - Details go in REQUIREMENTS or phase docs
  8. One phase at a time - Complete current before planning next
  9. Prompts as markdown files - For agent projects, store prompts in
    prompts/*.md
For complete command reference, see references/COMMANDS-REFERENCE.md.

  1. 每个任务使用全新上下文 - 绝不跨任务累积上下文
  2. 讨论阶段禁止编写代码 - 讨论仅用于梳理需求
  3. 原子化任务的定义 - 若执行时间超过15分钟,拆分任务
  4. 验证所有内容 - 即使看起来正确也要验证
  5. 记录所有决策 - 未来的Claude实例需要这些信息
  6. 每个任务对应一次提交 - Git bisect可精确定位问题
  7. 保持PROJECT.md简洁 - 细节放入REQUIREMENTS或阶段文档
  8. 一次专注一个阶段 - 完成当前阶段后再规划下一阶段
  9. 提示词存储为markdown文件 - 对于Agent项目,将提示词存储在
    prompts/*.md
命令详细参考,请查看 references/COMMANDS-REFERENCE.md

When to Use GSD

何时使用GSD

Use GSD when:
  • Projects taking > 2 hours
  • Multiple interconnected features
  • Need to maintain context across sessions
  • Want systematic verification
  • Working on production code
Skip GSD when:
  • Quick scripts (< 1 hour)
  • Exploratory prototyping
  • Single-file changes
  • Emergency hotfixes
  • You already have detailed specs

建议使用GSD的场景:
  • 项目耗时超过2小时
  • 包含多个相互关联的功能
  • 需要跨会话保持上下文一致性
  • 希望系统化验证交付成果
  • 开发生产环境代码
建议跳过GSD的场景:
  • 快速脚本(耗时少于1小时)
  • 探索性原型开发
  • 单文件修改
  • 紧急热修复
  • 已有详细规范的项目

Integrations

集成功能

agent-architect Integration

Agent架构师集成

During
gsd discuss [N]
, GSD offers professional architectural design via agent-architect for complex phases. Creates
ARCHITECTURE.md
with 5-phase design process covering strategy, components, tools, orchestration, and production readiness.
See: references/ARCHITECT-INTEGRATION.md
在执行
gsd discuss [N]
时,GSD会针对复杂阶段提供专业架构设计支持,通过agent-architect生成
ARCHITECTURE.md
,包含5阶段设计流程:战略、组件、工具、编排、生产就绪性。
查看:references/ARCHITECT-INTEGRATION.md

Domain Skill Integration

领域工具集成

GSD auto-detects domain-specific needs (ML/DL, etc.) from PROJECT.md and offers specialized expertise during discuss/plan/execute phases.
See: references/DOMAIN-INTEGRATION.md

GSD会从PROJECT.md中自动检测领域特定需求(如ML/DL等),并在讨论/规划/执行阶段提供专业支持。
查看:references/DOMAIN-INTEGRATION.md

File Size Management

文件大小管理

To keep context loading efficient:
FileTarget LinesMax Lines
PROJECT.md200-300500
REQUIREMENTS.md500-8001000
ROADMAP.md300-400500
STATE.md100-150200
PLAN-X.md100-150200
CONTEXT.md150-200300
If files exceed max, refactor or split into reference documents.
为保证上下文加载效率:
文件目标行数最大行数
PROJECT.md200-300500
REQUIREMENTS.md500-8001000
ROADMAP.md300-400500
STATE.md100-150200
PLAN-X.md100-150200
CONTEXT.md150-200300
若文件超过最大行数,需重构或拆分为参考文档。