spae-plan
Skill2 starsChanged 15 days agoMITView on GitHub
- STATE.json reads phase: plan: decompose SPEC.md into an execution plan. - 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; references/STATE.md holds field reference, directives, and snapshots. - Repository source, for codebase fit. Never read .spae/current/VERIFY.md; SPEC.md holds every requirement. 1. GATE—Make no writes: - Parse .spae/current/STATE.json;…
In this repository21 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- structureSkill
- testSkill
- tipSkill
- troubleshootSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 8 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Use only relevant context from:
- Very specific: line 33
Never read .spae/current/VERIFY.md.
- Very specific: line 46
Delete PLAN.md when present.
- Very specific: line 48
Read SPEC.md; extract goal, requirements, testing strategy, out-of-scope items, and assumptions.
- Distinctive: line 53
Read source narrowly; widen only on uncertainty.
- Very specific: line 54
Follow references/PLAN.md.
- Distinctive: line 66
Never halt on requirement content.
- Very specific: line 69
Write STATE.json per references/STATE.md exit snapshot.
- Very specific: line 88
Write acceptance criteria as observable outcomes.
- Very specific: line 93
Write Verification as concrete, deterministic commands, including test execution, per references/verification-guide.md.
- Very specific: line 102
Write scope: write only .spae/current/PLAN.md and .spae/current/STATE.json.
- Distinctive: line 106
Version control and release: never create tasks for version control (git staging, commits, branches, tags) or release operations (package …
- Distinctive: line 110
Autonomy: never ask users for input or clarification mid-execution.
- Very specific: line 115
State schema: never introduce STATE.json fields outside references/STATE.md.
- Very specific: line 128
Every SPEC.md requirement maps to at least one task's Satisfies.
- Very specific: line 129
Every task carries an Intent distilled from the requirements it satisfies, or—for a Satisfies: none enabling task—its structural purpose …
- Very specific: line 132
Every Dependencies ID numerically precedes its declaring task.
- Very specific: line 135
Every Satisfies-bearing task's Acceptance names testable behaviors (failure modes and edge cases when SPEC.md specifies them or task logic …
- Very specific: line 139
Every task's Verification includes test execution.
- Distinctive: line 145
No files outside Write scope changed.
- Distinctive: line 150
Keep prose terse while ensuring clarity.
- Distinctive: line 153
Use lists and sub-lists for long sentences and dense paragraphs.
≈ “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
Plan (SPAE)
When to use
STATE.jsonreadsphase: plan: decomposeSPEC.mdinto an execution plan.
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;references/STATE.mdholds field reference, directives, and snapshots.- Repository source, for codebase fit.
Never read .spae/current/VERIFY.md; SPEC.md holds every requirement.
Workflow
- GATE—Make no writes:
- Parse
.spae/current/STATE.json; self-heal missing metadata:version("1.0"),workstream(target directory name),status("active");PERSISTwrites the healed fields. - Halt on any Halt conditions entry.
- Parse
- ORIENT—State goal in one sentence:
- Source code and
SPEC.mdstay unmodified. - Reset prior cycle unconditionally—the sole write before
PERSIST; reruns repeat it safely:- Delete
PLAN.mdwhen present. - Set
STATE.jsontasks: {}.
- Delete
- Read
SPEC.md; extract goal, requirements, testing strategy, out-of-scope items, and assumptions; capture everyR-NNNinto a coverage checklist.
- Source code and
- PLAN—Identify source patterns needed for codebase fit.
- ACT—Draft
PLAN.md:- Read source narrowly; widen only on uncertainty.
- Follow
references/PLAN.md; number tasks fromT-001. - Set
Satisfiesto theR-NNNIDs a task implements andIntentto a one-line distillation of the goal they serve. - Enabling task:
Satisfies: none;Intentnames its structural purpose toward the plan## Goal. - Order tasks by dependency, risk, and vertical value.
- Apply Directives and Constraints.
- VERIFY—Loop over Verification criteria for
PLAN.md:- For each failure: return to
ACT, fix, then re-enterVERIFY:- Uncovered
R-NNN: add a task. - Task serving no requirement and no enabling purpose: remove it.
- Uncovered
- Exit only when every criterion passes.
- Never halt on requirement content.
- For each failure: return to
- PERSIST—Write in order:
- Write
PLAN.md. - Write
STATE.jsonperreferences/STATE.mdexit snapshot. - Re-read
STATE.json; on a mismatch against Verification state criteria, rewrite and re-read beforeREPORT.
- Write
- REPORT—Emit result following result directives and using result template.
Directives
- Optimize for agent, token, and context efficiency.
- Refine and optimize
PLAN.mdfor agent consumption: agents read it for varied purposes, with no memory of this run; keep it self-contained, explicit, token-dense, and minimal. - Align with existing codebase patterns; avoid speculative design.
- Slice vertically; avoid infrastructure-only tasks unless required; leave the system working after each task.
- Assume each task executes, reviews, and refines under a stateless
agent with no memory beyond
PLAN.mdtext and resulting source; writeContextto supply every fact that agent needs, including facts surfaced only while planning. - 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
Verificationas concrete, deterministic commands, including test execution, perreferences/verification-guide.md; bind each step to tooling available now or installed by a dependency task; schedule new tooling as its own task; carrySPEC.mdresidual risks intoRisk notes. - Consult
references/prose-protocol.mdbefore draftingPLAN.md.
Constraints
- Write scope: write only
.spae/current/PLAN.mdand.spae/current/STATE.json; forbid all other writes. Read source code only for codebase fit. - Phase boundary: hand off work to
/inspect; don't execute tasks. - Version control and release: never create tasks for version
control (git staging, commits, branches, tags) or release operations
(package publishing, deployments); plan scope ends when local tests
pass. Never stage or commit
.spae/or execute git mutations. - Autonomy: never ask users for input or clarification
mid-execution; halts and failures stop autonomously. Never write a
task step presuming human execution, an attended or interactive
terminal, or human presence; translate such a need into automated
evidence, else record it in
Risk notesas a residual risk. - State schema: never introduce
STATE.jsonfields outsidereferences/STATE.md. - Halt conditions: halt without writing; report
Failedwith a diagnostic underFindings:.spae/currentmissing or dangling.STATE.jsonmissing or holds unparseable JSON syntax.STATE.jsonphaseother thanplan.SPEC.mdmissing.
Verification
PLAN.mdholds atomic tasks in structure matchingreferences/PLAN.mdexactly.- Every
SPEC.mdrequirement maps to at least one task'sSatisfies. - Every task carries an
Intentdistilled from the requirements it satisfies, or—for aSatisfies: noneenabling task—its structural purpose toward the plan## Goal. - Every
DependenciesID numerically precedes its declaring task; everyT-NNNreference—Task graphedges, the overview list, andDependenciesfields—resolves to a defined task. - Every
Satisfies-bearing task'sAcceptancenames testable behaviors (failure modes and edge cases whenSPEC.mdspecifies them or task logic requires them); every enabling task'sAcceptancestates structural assurances. - Every task's
Verificationincludes test execution; no step presumes human execution, an attended or interactive terminal, or human presence. - Zero tasks mandate version control or release operations.
STATE.jsonspecifiesphase: "inspect",status: "active",cursor: {}, andtasksmapping everyPLAN.mdtask ID to"todo".- No files outside Write 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 for long sentences and dense paragraphs.
- Emit result template as live markdown—never in a code fence.
- Output nothing outside template.
- Source every
SPAE Statusvalue from 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]
> **Next Phase**: `/inspect` _(unless failed)_
> **Impact**: [Terse impact statement]
>
> _Run `/inspect` to optimize and verify `PLAN.md`._ _(unless failed)_<!-- 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.

