spae-plan
Skill1 starsChanged 4 months agoMITView on GitHub
- SPEC.md exists and needs an execution plan. - STATE.json reports phase: plan. - A revision cycle re-enters planning after /spec reprocesses findings. - Convert normalized requirements into a concise, acyclic, atomic task graph while preserving strict phase and write boundaries. - Produce .spae/current/PLAN.md, initialize task tracking in .spae/current/STATE.json, and advance the workstream to phase: inspect. Use only relevant context from: - .spae/current/SPEC.md. - .spae/current/STATE.json (consult references/STATE.md for field reference, directives, and phase snapshots). - Repository source patterns, read only…
In this repository19 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- testSkill
- tipSkill
- troubleshootSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 10 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Use only relevant context from:
- Very specific: line 77
Keep PLAN.md high-signal and minimal.
- Distinctive: line 78
Prefer existing codebase patterns over speculative design.
- Very specific: line 80
Write acceptance criteria as observable outcomes.
- Distinctive: line 85
Write verification as concrete test commands and deterministic checks.
- Very specific: line 90
Never add SPAE artifacts beyond core files and ephemeral VERIFY.md.
- Very specific: line 92
Never stage or commit .spae/.
- Distinctive: line 103
Autonomy: Never ask users for input or clarification mid-execution.
- Distinctive: line 105
Full autonomy: Never write a task whose Verification section depends on human execution, an attended or interactive terminal, or human …
- Very specific: line 108
Never introduce fields to STATE.json outside the schema reference.
- Distinctive: line 115
Every task includes dependencies, acceptance criteria, and verification steps.
- Very specific: line 117
Every Satisfies-bearing task's Acceptance section names testable behaviors (includes failure modes and edge cases when specified in SPEC.md …
- Distinctive: line 121
Every task's Verification section includes test execution commands.
- Distinctive: line 122
No task's Verification section depends on human execution, an attended or interactive terminal, or human presence.
- Very specific: line 124
Every task includes an Intent line distilled from the requirements it satisfies, or—for an enabling task—its structural purpose toward the …
- Very specific: line 129
Every T-NNN reference in PLAN.md — Task graph edges, the dependency overview list, and Dependencies fields—resolves to a defined task.
- Very specific: line 133
Every SPEC.md requirement maps to at least one task's Satisfies.
- Very specific: line 135
No files outside the allowed SPAE write scope changed.
- Distinctive: line 140
Keep prose terse while ensuring clarity.
- Distinctive: line 143
Use lists and sub-lists over paragraphs and long sentences.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Plan (SPAE)
When to use
SPEC.mdexists and needs an execution plan.STATE.jsonreportsphase: plan.- A revision cycle re-enters planning after
/specreprocesses findings.
Goal
- Convert normalized requirements into a concise, acyclic, atomic task graph while preserving strict phase and write boundaries.
- Produce
.spae/current/PLAN.md, initialize task tracking in.spae/current/STATE.json, and advance theworkstreamtophase: inspect.
Input
Use only relevant context from:
.spae/current/SPEC.md..spae/current/STATE.json(consultreferences/STATE.mdfor field reference, directives, and phase snapshots).- Repository source patterns, read only for codebase fit.
Never read .spae/current/VERIFY.md—not an input to this phase.
Reading qualifies as content-blocking.
Workflow
- GATE—Confirm
.spae/current/SPEC.mdexists and.spae/current/STATE.jsonreportsphase: plan. Halt immediately with a clear result on failure. Make no changes. - ORIENT—Extract goal, requirements, testing strategy, out-of-scope
items, and assumptions from
SPEC.md. Capture everyR-NNNitem into an in-memory coverage checklist. Gather only the source patterns needed for codebase fit; never edit repository files. - PLAN—Decompose work to cover the spec without over-splitting.
- ACT—Delete
.spae/current/PLAN.md(ignore if absent) and clear thetasksregistry in.spae/current/STATE.jsonto empty — unconditionally. Read the template fromreferences/PLAN.md; consultreferences/prose-protocol.mdbefore drafting task prose. Decompose work into atomic tasks numbered fromT-001. Set each task'sSatisfiesto theR-NNNIDs it implements and itsIntentto a one-line distillation of the goal those requirements serve—or, for an enabling task, the structural purpose it serves toward the plan## Goal. Sort tasks by dependency, risk, and vertical value; each task must leave the system working. - VERIFY—Loop over every plan validity criterion:
- For any
R-NNNgap: return toACT, add the missing task, then re-enterVERIFY. TreatSatisfies: noneas intentional; flag empty or missingSatisfiesas a scope-creep observation. - For any graph violation—cycle or forward-order failure: return to
ACT, correct it, then re-enterVERIFY. - Exit only when all
R-NNNitems map to tasks and the graph has no violations. - Fail only for out-of-scope conditions.
- For any
- PERSIST—Write
.spae/current/PLAN.md. Initialize all task IDs astodoin.spae/current/STATE.json. Clearcursorto{}. Setphase: inspect. Write once, atomically. Re-readSTATE.jsonafter writing; on a field mismatch, rewrite and re-read beforeREPORT. - REPORT—Emit the result following the result directives and using the result template.
Directives
- Optimize for agent, token, and context efficiency.
- Keep
PLAN.mdhigh-signal and minimal. - Prefer existing codebase patterns over speculative design.
- Slice vertically; avoid infrastructure-only tasks unless required.
- Write acceptance criteria as observable outcomes; name testable
behaviors for a
Satisfies-bearing task (include failure modes and edge cases only when specified inSPEC.mdor required by task logic); state structural assurances for aSatisfies: noneenabling task. - Write verification as concrete test commands and deterministic checks; every task's Verification section must include test execution.
- Reject verification steps that presume human execution, an attended or
interactive terminal, or human presence; flag as a spec defect instead
of encoding them in
PLAN.md. - Never add
SPAEartifacts beyond core files and ephemeralVERIFY.md. - Never stage or commit
.spae/. - Consult
references/prose-protocol.mdbefore draftingPLAN.md.
Constraints
- Write scope:
.spae/current/PLAN.mdand.spae/current/STATE.json. - Forbidden writes: source code, tests, configuration files, docs,
SPEC.md,VERIFY.md, and any non-SPAEproject file. - Read-only source: inspect repository code only for fit.
- Phase boundary: hand off to
/inspect; don't execute tasks. - Autonomy: Never ask users for input or clarification mid-execution; halts and failures stop autonomously.
- Full autonomy: Never write a task whose Verification section depends on human execution, an attended or interactive terminal, or human presence.
- Never introduce fields to
STATE.jsonoutside the schema reference.
Verification
.spae/current/PLAN.mdcontains atomic, acyclic, dependency-ordered tasks—no cycles; everyDependenciesID numerically precedes its declaring task.- Every task includes dependencies, acceptance criteria, and verification steps.
- Every
Satisfies-bearing task's Acceptance section names testable behaviors (includes failure modes and edge cases when specified inSPEC.mdor required by task logic); aSatisfies: nonetask's Acceptance states structural assurances provided instead. - Every task's Verification section includes test execution commands.
- No task's Verification section depends on human execution, an attended or interactive terminal, or human presence.
- Every task includes an
Intentline distilled from the requirements it satisfies, or—for an enabling task—its structural purpose toward the plan## Goal. .spae/current/PLAN.mdstructures tasks and metadata matchingreferences/PLAN.mdexactly.- Every
T-NNNreference inPLAN.md—Task graphedges, the dependency overview list, andDependenciesfields—resolves to a defined task. .spae/current/STATE.jsontask registry matchesPLAN.mdtask IDs.- Every
SPEC.mdrequirement maps to at least one task'sSatisfies. .spae/current/STATE.jsoncontainsphase: "inspect".- No files outside the allowed
SPAEwrite scope changed.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists over paragraphs and long sentences.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
- Source every
SPAE Statusvalue from the confirmed re-read, never from working memory of intent.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions taken]
- **Files**:
- [Terse list of affected files]
- **Findings**:
- [Terse list of notable findings]
- **Summary**:
- [Terse list of summary of changes]
> **`SPAE` Status** • `[workstream-name]`
> **Result**: [Plan Complete | Failed]
> **Phase Complete**: `/plan`
> **Next Phase**: `/inspect`
> **Impact**: [Terse impact statement]
>
> _Run `/inspect` to optimize and verify `PLAN.md`._<!-- prettier-ignore-end -->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.

