godmode-spec-lifecycle
Skill6 starsChanged 3 months agoApache-2.0View on GitHub
Move a specification and its plan through specify, approve, implement, review, and status as one linked, resumable record instead of separate hand-authored drafts that drift apart. Use when a task needs its spec written, a plan approved before mutation, work bound back to that plan, and its status checked or reverted. Not for authoring a standalone document with no tracked contract, and never as a way to approve a plan against yourself.
- Deletes or force-pushes
In this repository22 other files it gives its agents.
- llms.txtllms.txt
- godmode-budgetSkill
- godmode-changelogSkill
- godmode-ciSkill
- godmode-codegraphSkill
- godmode-code-of-lawSkill
- godmode-continuitySkill
- godmode-evidenceSkill
- godmode-governanceSkill
- godmode-host-syncSkill
- godmode-impact-gateSkill
- godmode-investigationSkill
- godmode-loop-wardenSkill
- godmode-memory-gardenerSkill
- godmode-repairSkill
- godmode-replicateSkill
- godmode-researchSkill
- godmode-second-lookSkill
- godmode-skill-evalSkill
- godmode-skill-forgeSkill
- godmodeSkill
- godmode-triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Read PURPOSE.md for the archive evidence this skill exists to close.
- Very specific: line 46
Never treat an approval that skipped step 4 (planmode check) as valid.
- Very specific: line 47
Never edit GODMODE-CODE-OF-LAW.md by hand to add a rule a spec needs.
- Very specific: line 48
Never resolve two divergent drafts of the same spec or plan by silently overwriting one.
- Very specific: line 49
Never use rewind as a substitute for git reset --hard or git checkout -- over shared history.
- Distinctive: line 56
If an assertion cannot be proved, report the unmet assertion and the next safe action rather than the outcome it was meant to prove.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Godmode Spec Lifecycle
Outcome
A task's what/why, its plan's how, its approval, its bound implementation, and its status are one linked chain a later session can resume from planmode check - not a set of prose drafts that drift and get reconciled by hand, after the fact, in a checkpoint note.
Use
- A task needs a spec (
objective,outcome,acceptance,non_goals) recorded before any plan names a how. - A plan's contract is complete and needs approval before the first edit, or its current gap list needs reading.
- Work already done needs binding back to its approved plan, so drift outside the declared scope is named rather than silently allowed.
- Two divergent drafts of the same spec or plan need reconciling into one linked record instead of a superseding claim added by hand later.
- A stalled or abandoned plan needs its status read, or the project needs reverting to a prior verified point.
Do Not Use
- Writing a one-off prose document (a README section, a design write-up) with no plan or mutation behind it - that is ordinary authoring, not this flow.
- Approving a plan you just drafted in the same pass, as the same actor, with no independent check in between - see Must Not.
- Hand-editing
GODMODE-CODE-OF-LAW.mdto add a rule a spec turned out to need - route that throughatlas law.
Deterministic Execution Flow
- Read where things stand before writing anything.
godmode precheck --about "<the task, in your own words>"- a bounded read of the project's current state against the stated task; run it before drafting a spec so the spec is written against reality, not memory. - Record the what/why.
godmode planmode specify --title "<title>" --objective "<objective>" --outcome "<outcome>" --acceptance "<acceptance>" --non-goals "<non-goals>"- refused when any of the four fields is empty; a plan without a spec is refused later at step 3. - Record the how.
godmode planmode start --title "<title>" --objective "<objective>" --acceptance "<acceptance>" --accept "cmd:<command that proves done>" --scope "<paths>" --out-of-scope "<paths>" --current-state "<state>" --assumptions "<assumptions>" --parity "<parity>" --steps "<steps>" --risk "<risk>" --rollback "<rollback>" --verification "<verification>" --points "<points>"- exits 1 and names every missing contract field ingapsrather than starting incomplete.- Fallback: a missing field is filled and the command re-run; the contract is never approved with a gap waived.
- Check before approving.
godmode planmode check- reportsallowed: falsewith the plan's currentmissingfields until the plan is approved; read this rather than assuming the contract from step 3 is already complete. - Approve, from an independent check.
godmode planmode approve- approves a complete contract; refuses with the exact missing fields if the contract still has gaps.- This is where the must-not below applies: approval is a genuine second read of the completed contract, not an automatic next line after
start.
- This is where the must-not below applies: approval is a genuine second read of the completed contract, not an automatic next line after
- Implement inside the approved plan's scope. Ordinary edits proceed once
planmode checkreportsallowed: true.godmode planmode bind --summary "<summary>" --file <path> [--file <path> ...]records the work against the plan and names any file outside the declaredscopeas drift, rather than allowing it silently. - Reconcile a divergent draft as a new proposal, not a silent overwrite. When implementation reveals the spec or plan needs a rule the project does not yet enforce,
godmode atlas law propose --target <path> --diff <file> --cite <evidence>records the proposed change with its evidence; it is ratified only after a fresh bond test in the reviewing session (godmode atlas law bond-test <name> --command "<checker>" --file <path>thengodmode atlas law ratify <proposal_seq>), never applied by editing the compiled law file directly. - Track and resume status.
godmode status remainingorgodmode status rendershows what is still open against the plan; a later session resumes from this plusplanmode check, not from re-reading prose. - Revert a plan that must not proceed.
godmode rewind --to <seq>previews returning to a prior verified record, through the same governance preview any protected operation requires - never a baregit reset/git checkout --over shared history. - Close the loop.
godmode checkpoint --summary "<summary>" --status "<status>" --next "<next action>" --evidence "<evidence>"records the resumable handoff: the next session reads this plusplanmode checkinstead of re-deriving intent from the conversation.
Read PURPOSE.md for the archive evidence this skill exists to close.
Must Not
- Never approve its own plan:
planmode approvemust not be the very next command afterplanmode startin the same drafting pass with no independent read in between - runplanmode checkfirst, and let a separate reviewing pass (or the operator) runapproveonce the contract's gaps are actually inspected, not assumed complete. - Never treat an approval that skipped step 4 (
planmode check) as valid; an approval with unread gaps is a rubber stamp, not a check. - Never edit
GODMODE-CODE-OF-LAW.mdby hand to add a rule a spec needs; propose it (atlas law propose), prove the checker can fail it (atlas law bond-test), and only then ratify it. - Never resolve two divergent drafts of the same spec or plan by silently overwriting one; record the newer draft's figures as superseding the earlier ones with a cited reason, or route the change through
atlas law proposewhen it changes an enforced rule. - Never use
rewindas a substitute forgit reset --hardorgit checkout --over shared history; a destructive git operation on tracked history goes throughgodmode-governance, not this skill.
Acceptance
godmode planmode checkreportsallowed: falsewith the exact missing contract fields until a complete plan is approved by a pass distinct from the one that drafted it.godmode planmode bindnames every file outside a plan's declared scope as drift rather than allowing it silently.
If an assertion cannot be proved, report the unmet assertion and the next safe action rather than the outcome it was meant to prove.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

