GSD 阶段计划执行
gsd-execute-phase
SDD 阶段执行——执行某一阶段中的全部计划,并采用感知依赖关系的波次并行化方式
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- gsd-execute-phase
- description
- SDD phase execution — execute all plans in a phase with dependency-aware wave parallelization
03 SKILL.md 正文
<cursor_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-execute-phaseor describes a task matching this skill. - Treat all user text after the skill mention as
{{GSD_ARGS}}. - If no arguments are present, treat
{{GSD_ARGS}}as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Cursor tools when executing GSD workflows:
Shellfor running commands (terminal operations)StrReplacefor editing existing filesRead,Write,Glob,Grep,Task,WebSearch,WebFetch,TodoWriteas needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...) - The
modelparameter maps to Cursor's model options (e.g., "fast") </cursor_skill_adapter>
<objective> Execute all plans in a phase using wave-based parallel execution.
Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
Optional wave filter:
--wave Nexecutes only WaveNfor pacing, quota management, or staged rollout- phase verification/completion still only happens when no incomplete plans remain after the selected wave finishes
Flag handling rule:
- The optional flags documented below are available behaviors, not implied active behaviors
- A flag is active only when its literal token appears in
{{GSD_ARGS}} - If a documented flag is absent from
{{GSD_ARGS}}, treat it as inactive
Context budget: ~15% orchestrator, 100% fresh per subagent. </objective>
<execution_context> @/Users/igorganapolsky/workspace/git/igor/Random-Timer/.claude/worktrees/opengsd-gsd-core/.cursor/gsd-core/workflows/execute-phase.md @/Users/igorganapolsky/workspace/git/igor/Random-Timer/.claude/worktrees/opengsd-gsd-core/.cursor/gsd-core/references/ui-brand.md </execution_context>
<context> Phase: {{GSD_ARGS}}
Available optional flags (documentation only — not automatically active):
--wave N— Execute only WaveNin the phase. Use when you want to pace execution or stay inside usage limits.--gaps-only— Execute only gap closure plans (plans withgap_closure: truein frontmatter). Use after verify-work creates fix plans.--interactive— Execute plans sequentially inline (no subagents) with user checkpoints between tasks. Lower token usage, pair-programming style. Best for small phases, bug fixes, and verification gaps.
Active flags must be derived from {{GSD_ARGS}}:
--wave Nis active only if the literal--wavetoken is present in{{GSD_ARGS}}--gaps-onlyis active only if the literal--gaps-onlytoken is present in{{GSD_ARGS}}--interactiveis active only if the literal--interactivetoken is present in{{GSD_ARGS}}- If none of these tokens appear, run the standard full-phase execution flow with no flag-specific filtering
- Do not infer that a flag is active just because it is documented in this prompt
Context files are resolved inside the workflow via gsd-tools query init.execute-phase and per-subagent <required_reading> blocks.
</context>
<process> Execute end-to-end. Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing). </process>
04 同仓库更多 Skills
任务实施计划编写
writing-plans
当你有某个多步骤任务的规格说明或需求时,在动手编写代码之前使用。
AI 工作流经济性评估
workflow-economics-lite
逃离 AI 试点炼狱:要求构建闭环(completion-loop)工作流,包含单一负责人、基线、经济指标、记录系统(system-of-record)集成和审计轨迹。阻断孤立的聊天机器人以及将“兴趣”当作 ROI 的说法。
完成前验证确认
verification-before-completion
当准备声称工作已完成、已修复或已通过时,在提交或创建 PR 之前使用——要求在做出任何成功声明之前先运行验证命令并确认输出;始终遵循“证据先于断言”。
价值中心五问评估
value-center-lite
应用 InfoQ Rohrer 的价值中心 / VSM 五问法(自主性 + 一致性)。在规划工作、发布版本或审计智能体自主性声明时使用。对于没有 WQTU/付费墙价值的纯产品口号,采取 fail closed(默认拒绝)的严格判定。
技能发现与调用规范
using-superpowers
在每次对话开始时使用——建立如何查找和使用技能的方法,要求在任何回应(包括澄清性问题)之前都必须先调用技能。
Git 工作树隔离开发
using-git-worktrees
在开始需要与当前工作区隔离的功能开发时,或在实施计划执行前使用——通过原生工具或 git worktree 回退机制确保存在隔离的工作区。