spae-build
Skill2 starsChanged 15 days agoMITView on GitHub
- STATE.json reads phase: build: implement the active PLAN.md task. - Implement exactly the active PLAN.md task, test-first, so it meets every Acceptance criterion, serves its Intent and the plan ## Goal, and leaves seams for forward tasks. - Advance the workstream to phase: check. Read only what the active task requires: - .spae/current/STATE.json; references/STATE.md holds field reference, directives, and snapshots. - .spae/current/PLAN.md; it carries all goal context. - Repository source, tests, docs, and configuration the active task touches. See…
In this repository21 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- 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, 11 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Read only what the active task requires:
- Very specific: line 52
Read the plan ## Goal and the active task in full.
- Distinctive: line 69
Write a failing test: expected behavior, failure modes, and edge cases.
- Distinctive: line 71
Write the minimal code that passes it.
- Very specific: line 81
Write STATE.json per references/STATE.md exit snapshot.
- Distinctive: line 95
Never write production code before its test exists.
- Distinctive: line 97
Treat a failing test or check as ordinary build work.
- Distinctive: line 98
When the task legitimately changes a contract, update the tests it invalidates to the new contract.
- Very specific: line 117
Version control and release: never execute git mutations (staging, commits, branches, tags, pushes) or release operations.
- Distinctive: line 120
Autonomy: never ask users for input or clarification mid-execution.
- Very specific: line 124
State schema: never introduce STATE.json fields outside references/STATE.md.
- Distinctive: line 140
Scope control: no incidental refactoring, cleanup, formatting, or dependency churn outside the active task.
- Very specific: line 144
Never suppress compiler or linter diagnostics—for example, @ts-ignore, eslint-disable, @SuppressWarnings, # type: ignore.
- Very specific: line 147
Never weaken type contracts to silence errors—for example, as any, !
- Very specific: line 149
Never edit build or tool configuration as a workaround.
- Distinctive: line 151
Never weaken, skip, delete, or game a test to force a pass.
- Very specific: line 155
Every Acceptance criterion passes.
- Very specific: line 156
Every task Verification step passes.
- Very specific: line 160
Every added or updated test passes the CI parity rules in references/testing-guide.md.
- Very specific: line 162
No self-introduced artifact remains per references/cleanup-guide.md.
- Distinctive: line 173
Keep prose terse while ensuring clarity.
- Distinctive: line 176
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
Build (SPAE)
When to use
STATE.jsonreadsphase: build: implement the activePLAN.mdtask.
Goal
- Implement exactly the active
PLAN.mdtask, test-first, so it meets everyAcceptancecriterion, serves itsIntentand the plan## Goal, and leaves seams for forward tasks. - Advance the
workstreamtophase: check.
Input
Read only what the active task requires:
.spae/current/STATE.json;references/STATE.mdholds field reference, directives, and snapshots..spae/current/PLAN.md; it carries all goal context.- Repository source, tests, docs, and configuration the active task touches.
Testing
See references/testing-guide.md for test structure, isolation,
mocking, assertion, and performance standards.
Cleanup
See references/cleanup-guide.md for the self-introduced-artifact
checklist and diff-only audit scope.
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:
PLAN.mdstays unmodified; forward tasks stay unbuilt.- Read the plan
## Goaland the active task in full; read theAcceptanceof itsDependenciestasks as the contracts it may rely on, and of forward tasks as seams to keep open. - Capture the pre-task baseline per
references/cleanup-guide.md. - Mark in progress—the sole write before
PERSIST; reruns repeat it safely: setSTATE.jsontasks[active_task_id]to"in_progress".
- PLAN—Declare the implementation path:
- Read
references/testing-guide.mdandreferences/shell-command-guide.md. - Map the test surface per
Acceptancecriterion: expected behaviors, failure modes, and edge cases. - Choose among valid implementations by fit to the task
Intent, the plan## Goal, and forward seams, not local convenience. - Halt on any Halt conditions entry.
- Read
- ACT—Per
Acceptancecriterion, repeattest→implementuntil it passes:- Write a failing test: expected behavior, failure modes, and edge cases.
- Write the minimal code that passes it.
- Apply Directives and Constraints.
- VERIFY—Loop over Verification criteria for the active task:
- Audit task edits against the pre-task baseline using the
Self-cleanup checklist in
references/cleanup-guide.md; remove every self-introduced artifact before proceeding. - For each failure: return to
ACT, fix, then re-enterVERIFY. - Exit only when every criterion passes.
- Halt only on a Halt conditions entry.
- Audit task edits against the pre-task baseline using the
Self-cleanup checklist in
- PERSIST—Write in order:
- 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:
Result:Implemented, pending checkafterPERSIST, elseFailed.- List under
Findings: each assumption made and each forward task designed around.
Directives
- Optimize for agent, token, and context efficiency.
- Align with existing codebase patterns; avoid speculative design.
- Never write production code before its test exists; write every test category the task demands—unit, integration, end-to-end.
- Treat a failing test or check as ordinary build work; drive it green.
- When the task legitimately changes a contract, update the tests it invalidates to the new contract.
- Execute
Verificationsteps as planned perreferences/verification-guide.md; never discover, install, or calibrate tooling ad hoc. - Resolve underspecified requirements with the assumption most
consistent with the task
Intentand the plan## Goal, then proceed; never ship a locally correct, globally wrong implementation.
Constraints
- Write scope: edit only the source, tests, docs, and configuration
the active task requires, plus
.spae/current/STATE.json; forbid all other writes. Byproducts of a command run for evidence, such as a formatter's rewrites, never count as this phase's writes; never run a command for its write effect outside this scope. Never delete pre-existing uncommitted files. - Phase boundary: execute exactly one task; hand off work to
/check; never mark a task"done"or move the cursor. - Version control and release: never execute git mutations (staging,
commits, branches, tags, pushes) or release operations. Never stage or
commit
.spae/. - Autonomy: never ask users for input or clarification mid-execution; halts and failures stop autonomously. Never perform or request human execution, an attended or interactive terminal, or human presence.
- State schema: never introduce
STATE.jsonfields outsidereferences/STATE.md. - Halt conditions: halt with no further
STATE.jsonwrite; reportFailedwith a diagnostic underFindings:.spae/currentmissing or dangling.STATE.jsonmissing or holds unparseable JSON syntax.STATE.jsonphaseother thanbuild.PLAN.mdmissing,cursor.active_task_idmissing, or the active task absent fromPLAN.md.tasks[active_task_id]reads"done".- A
Dependenciestask not"done"intasks. - The task can't pass within its scope: an infeasible
Acceptancecriterion, a broken external dependency, an unrunnable plannedVerificationstep, a step requiring human presence, or the task as written contradicting the plan## Goal, itsIntent, or a forward task—an undeniable conflict, not a subjective doubt.
- Scope control: no incidental refactoring, cleanup, formatting, or dependency churn outside the active task.
- Integrity: fix issues properly and idiomatically; no hacks,
workarounds, or shortcuts:
- Never suppress compiler or linter diagnostics—for example,
@ts-ignore,eslint-disable,@SuppressWarnings,# type: ignore. - Never weaken type contracts to silence errors—for example,
as any,!non-null assertions, or broadened union types. - Never edit build or tool configuration as a workaround; change it
only when an
Acceptancecriterion requires it. - Never weaken, skip, delete, or game a test to force a pass.
- Never suppress compiler or linter diagnostics—for example,
Verification
- Every
Acceptancecriterion passes. - Every task
Verificationstep passes. - Relevant project tests pass with no new failures.
- Task tests cover expected behavior, failure modes, and edge cases exhaustively; no thin-coverage shortcuts.
- Every added or updated test passes the CI parity rules in
references/testing-guide.md. - No self-introduced artifact remains per
references/cleanup-guide.md. - Implementation advances the task
Intentand the plan## Goal; no forward-task work performed. - The task diff breaks no Integrity rule.
STATE.jsonspecifiesphase: "check",tasks[active_task_id]: "in_progress", and the entry cursor.- This phase wrote no file outside Write scope.
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]
- **Tests**:
- [Terse list of tests written—behaviors, failure modes, and edge cases covered]
- **Findings**:
- [Terse list of notable findings]
- **Summary**:
- [Terse list of summary of changes]
> **`SPAE` Status** • `[workstream-name]`
> **Result**: [Implemented, pending check | Failed]
> **Active Task**: `T-XXX` - [Task title]
>
> _Run `/check` to verify the completed task._ _(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.

