一键导入
validate
Check the spec structure health of the current momentum project. Activates when the user invokes /validate or asks momentum to run the validate recipe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check the spec structure health of the current momentum project. Activates when the user invokes /validate or asks momentum to run the validate recipe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Begin a new implementation phase. Activates when the user invokes /start-phase or asks momentum to run the start-phase recipe.
Work with concurrent workstreams (Rule 15). Activates when the session involves multiple active branches, cross-lane coordination, or when starting work that should not live on the current branch.
Record a new backlog item (bug, feature, tech debt, or enhancement) when you discover work that needs tracking. Activates when the session identifies unplanned work that should be tracked in the backlog.
Check spec structure health of the momentum project. Activates when the user runs `/validate`, asks for a health check, or when spec changes need verification before phase completion.
>-
Drive a single repo through its phase as part of a swarm. Activates when spawned by the conductor (the user's primary session) with a spawn directive. State lives in files; the conductor reads board.json between turns. Loads on the swarm-supervisor invocation only — not invoked directly by the user.
| name | validate |
| description | Check the spec structure health of the current momentum project. Activates when the user invokes /validate or asks momentum to run the validate recipe. |
Check the spec structure health of the current momentum project.
Run with no arguments for a fast index-first check, or pass --deep for a full scan.
Read specs/status.md — verify required fields are present:
Last Updated, Current Phase, Latest Release, HealthRead specs/backlog/backlog.md — verify all 4 section tables present:
Read specs/phases/index.json — for each phase listed:
specs/phases/<phase-id>/overview.md, plan.md, tasks.md, history.mdCross-check active phase consistency:
status.md must be listed in index.jsonCheck .claude/commands/ for standard momentum commands:
brainstorm-idea, brainstorm-phase, start-project, start-phase,
complete-phase, log, sync-docs, track, migrate, validateReport results:
✓ N checks passed
✗ N issues found:
- specs/phases/index.json: phase-3-gap-fixes directory missing
- specs/status.md: missing field "Latest Release"
--deep Flag (full scan)Run all default mode checks, then additionally:
Walk ALL directories under specs/phases/ — flag any directory not listed in
index.json as an orphaned phase
For each phase directory, read tasks.md:
BUG-NNN, FEAT-NNN, TD-NNN, ENH-NNNspecs/backlog/backlog.mdFor each phase directory, read history.md:
[TYPE], date in YYYY-MM-DD
format, Topics:, Affects-phases:, Affects-specs:, Detail:Check specs/changelog/ — for each phase with status complete in index.json,
verify at least one changelog file exists under specs/changelog/
Swarm member integrity (Phase 17+, only when ecosystem context exists):
<ecosystem-root>/swarms/<id>/manifest.json:
core/swarm/schema/manifest.schema.json (load + structural check)manifest.repos.<id> must reference a real ecosystem.json memberphase_slug must point at an existing phase directory
in that member repocore/swarm/lib/brief.js):
swarm: must resolve to a real swarm manifest at the ecosystem rootwave: must match the wave that swarm has assigned this repoinitiative: must match the swarm manifest's initiative fieldstatus: complete, verify the initiative's
Per-repo contributions section lists all swarm members.Append deep-scan results to the report before printing.