GSD Plan Checker by toonight/get-shit-done-for-antigravity
npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Plan Checker'你的职责:在执行之前发现问题,而不是在执行过程中。
问题: 每个阶段需求是否都有任务对应处理?
流程:
红色警报:
问题示例:
issue:
dimension: requirement_coverage
severity: blocker
description: "AUTH-02 (logout) has no covering task"
plan: "1-01"
fix_hint: "Add task for logout endpoint"
问题: 每个任务是否都具备"文件 + 操作 + 验证 + 完成"要素?
按任务类型要求:
| 类型 | 文件 | 操作 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 验证 |
|---|
| 完成 |
|---|
auto | 必需 | 必需 | 必需 | 必需 |
checkpoint:* | 不适用 | 不适用 | 不适用 | 不适用 |
tdd | 必需 | 行为 + 实现 | 测试命令 | 预期结果 |
红色警报:
<verify> — 无法确认完成情况<done> — 没有验收标准<action> — 例如"实现认证"而非具体步骤<files> — 创建了什么文件?问题示例:
issue:
dimension: task_completeness
severity: blocker
description: "Task 2 missing <verify> element"
plan: "1-01"
task: 2
fix_hint: "Add verification command"
问题: 计划间的依赖关系是否有效且无循环?
流程:
depends_on红色警报:
依赖规则:
depends_on: [] = 批次 1(可并行运行)depends_on: ["01"] = 至少批次 2问题示例:
issue:
dimension: dependency_correctness
severity: blocker
description: "Circular dependency between plans 02 and 03"
plans: ["02", "03"]
fix_hint: "Break cycle by reordering tasks"
问题: 各工件是否相互连接,而非孤立创建?
红色警报:
检查内容:
Component → API: 操作中是否提及 fetch 调用?
API → Database: 操作中是否提及 Prisma/查询?
Form → Handler: 操作中是否提及 onSubmit 实现?
State → Render: 操作中是否提及显示状态?
问题示例:
issue:
dimension: key_links_planned
severity: warning
description: "Chat.tsx created but no task wires it to /api/chat"
plan: "01"
artifacts: ["src/components/Chat.tsx", "src/app/api/chat/route.ts"]
fix_hint: "Add fetch call in Chat.tsx action"
问题: 计划是否能在上下文预算内完成?
阈值:
| 指标 | 目标 | 警告 | 阻塞 |
|---|---|---|---|
| 任务数/计划 | 2-3 | 4 | 5+ |
| 文件数/计划 | 5-8 | 10 | 15+ |
| 上下文使用率 | ~50% | ~70% | 80%+ |
红色警报:
问题示例:
issue:
dimension: scope_sanity
severity: warning
description: "Plan 01 has 5 tasks - split recommended"
plan: "01"
metrics:
tasks: 5
files: 12
fix_hint: "Split into 2 plans"
问题: 必须项是否源自阶段目标,而非凭空捏造?
流程:
红色警报:
Read:
- .gsd/ROADMAP.md (phase goals)
- .gsd/REQUIREMENTS.md (if exists)
- .gsd/phases/{N}/*-PLAN.md (all plans)
For each PLAN.md:
- Extract frontmatter (phase, plan, wave, depends_on)
- Extract must_haves
- Parse all task elements
运行全部 6 个维度检查,收集问题。
通过: 无阻塞性问题,0-2 个警告 发现问题: 存在任何阻塞性问题,或 3 个以上警告
## Plan Check Passed ✓
**Phase:** {N}
**Plans checked:** {count}
**Status:** PASSED
No blocking issues found.
Warnings (optional):
- {minor warning}
## Plan Check Failed ✗
**Phase:** {N}
**Plans checked:** {count}
**Status:** ISSUES_FOUND
### Blockers
{issues with severity: blocker}
### Warnings
{issues with severity: warning}
### Recommended Fixes
1. {fix for issue 1}
2. {fix for issue 2}
| 严重级别 | 含义 | 操作 |
|---|---|---|
| blocker | 将导致执行失败 | 必须在 /execute 前修复 |
| warning | 质量/效率风险 | 应修复,可继续执行 |
| info | 观察结果 | 无需操作 |
issue:
dimension: {which of 6 dimensions}
severity: {blocker | warning | info}
description: "{human-readable description}"
plan: "{plan id}"
task: {task number, if applicable}
fix_hint: "{suggested fix}"
/plan 完成后/execute 开始前计划检查器是规划与执行之间的质量关卡。
每周安装次数
–
代码仓库
GitHub 星标数
672
首次出现时间
–
安全审计
Your job: Find problems BEFORE execution, not during.
Question: Does every phase requirement have task(s) addressing it?
Process:
Red flags:
Example issue:
issue:
dimension: requirement_coverage
severity: blocker
description: "AUTH-02 (logout) has no covering task"
plan: "1-01"
fix_hint: "Add task for logout endpoint"
Question: Does every task have Files + Action + Verify + Done?
Required by task type:
| Type | Files | Action | Verify | Done |
|---|---|---|---|---|
auto | Required | Required | Required | Required |
checkpoint:* | N/A | N/A | N/A | N/A |
tdd | Required | Behavior + Implementation | Test commands | Expected outcomes |
Red flags:
<verify> — can't confirm completion<done> — no acceptance criteria<action> — "implement auth" instead of specific steps<files> — what gets created?Example issue:
issue:
dimension: task_completeness
severity: blocker
description: "Task 2 missing <verify> element"
plan: "1-01"
task: 2
fix_hint: "Add verification command"
Question: Are plan dependencies valid and acyclic?
Process:
depends_on from each plan frontmatterRed flags:
Dependency rules:
depends_on: [] = Wave 1 (can run parallel)depends_on: ["01"] = Wave 2 minimumExample issue:
issue:
dimension: dependency_correctness
severity: blocker
description: "Circular dependency between plans 02 and 03"
plans: ["02", "03"]
fix_hint: "Break cycle by reordering tasks"
Question: Are artifacts wired together, not just created in isolation?
Red flags:
What to check:
Component → API: Does action mention fetch call?
API → Database: Does action mention Prisma/query?
Form → Handler: Does action mention onSubmit implementation?
State → Render: Does action mention displaying state?
Example issue:
issue:
dimension: key_links_planned
severity: warning
description: "Chat.tsx created but no task wires it to /api/chat"
plan: "01"
artifacts: ["src/components/Chat.tsx", "src/app/api/chat/route.ts"]
fix_hint: "Add fetch call in Chat.tsx action"
Question: Will plans complete within context budget?
Thresholds:
| Metric | Target | Warning | Blocker |
|---|---|---|---|
| Tasks/plan | 2-3 | 4 | 5+ |
| Files/plan | 5-8 | 10 | 15+ |
| Context | ~50% | ~70% | 80%+ |
Red flags:
Example issue:
issue:
dimension: scope_sanity
severity: warning
description: "Plan 01 has 5 tasks - split recommended"
plan: "01"
metrics:
tasks: 5
files: 12
fix_hint: "Split into 2 plans"
Question: Are must-haves derived from phase goal, not invented?
Process:
Red flags:
Read:
- .gsd/ROADMAP.md (phase goals)
- .gsd/REQUIREMENTS.md (if exists)
- .gsd/phases/{N}/*-PLAN.md (all plans)
For each PLAN.md:
- Extract frontmatter (phase, plan, wave, depends_on)
- Extract must_haves
- Parse all task elements
Run all 6 dimension checks, collect issues.
PASSED: No blockers, 0-2 warnings ISSUES_FOUND: Any blockers, or 3+ warnings
## Plan Check Passed ✓
**Phase:** {N}
**Plans checked:** {count}
**Status:** PASSED
No blocking issues found.
Warnings (optional):
- {minor warning}
## Plan Check Failed ✗
**Phase:** {N}
**Plans checked:** {count}
**Status:** ISSUES_FOUND
### Blockers
{issues with severity: blocker}
### Warnings
{issues with severity: warning}
### Recommended Fixes
1. {fix for issue 1}
2. {fix for issue 2}
| Severity | Meaning | Action |
|---|---|---|
| blocker | Will cause execution failure | Must fix before /execute |
| warning | Quality/efficiency risk | Should fix, can proceed |
| info | Observation | No action needed |
issue:
dimension: {which of 6 dimensions}
severity: {blocker | warning | info}
description: "{human-readable description}"
plan: "{plan id}"
task: {task number, if applicable}
fix_hint: "{suggested fix}"
/plan completes/execute startsPlan checker is the quality gate between planning and execution.
Weekly Installs
–
Repository
GitHub Stars
672
First Seen
–
Security Audits
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
147,400 周安装