spae-check
Skill1 starsChanged 4 months agoMITView on GitHub
Per-task verification gate for SPAE. Compares active task Intent, Acceptance, and Verification against repo evidence; routes gaps to /fix or advances a clear task.
In this repository19 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- refactorSkill
- spae-buildSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- 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, 4 are distinctive, and 16 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Run active-task verification steps and project checks.
- Very specific: line 69
Gap found: create/overwrite .spae/current/FIX.md per references/FIX.md.
- Very specific: line 73
Task clear, tasks remain: write STATE.json: mark active task done, advance cursor to next "todo" task, phase: build.
- Very specific: line 75
Final task clear: write STATE.json: mark active task done, retain cursor active task ID, phase: verify.
- Very specific: line 90
Follow canonical SPAE Step 5 /check contract on conflicts.
- Very specific: line 99
Keep gaps concrete, reproducible, enough for /fix without PLAN.md.
- Very specific: line 101
Write only current actionable gaps to FIX.md per references/FIX.md.
- Very specific: line 107
Read source, tests, config, docs, logs only.
- Very specific: line 109
Never read/edit .spae/current/SPEC.md.
- Very specific: line 111
Never edit source, tests, config, docs, or non-SPAE project files.
- Very specific: line 112
Never claim workstream completion (only /verify holds that authority).
- Very specific: line 114
Never add artifacts beyond canonical SPAE files or fields beyond STATE.json schema.
- Very specific: line 116
Never stage/commit .spae/ artifacts.
- Distinctive: line 117
Autonomy: Never ask users for input or clarification mid-execution.
- Very specific: line 119
Full autonomy: Never ask for human execution, attended terminal, interactive session, or human presence.
- Very specific: line 127
Every Acceptance, Verification, and Intent reviewed against evidence.
- Very specific: line 129
Only Gap/Observation labels used.
- Very specific: line 132
No speculative abstraction, _unrequested_ complexity, defensive bloat beyond task Scope, or self-introduced cleanup violation per …
- Distinctive: line 144
Keep prose terse while ensuring clarity.
- Distinctive: line 147
Use lists/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
Check (SPAE)
When to use
STATE.jsonreportsphase: check.- Cursor names active task.
Goal
- Compare active task implementation against PLAN.md Intent, Acceptance, and Verification.
- Route gaps to /fix or advance clear task.
Input
Read:
.spae/current/STATE.json(consultreferences/STATE.mdfor field reference, directives, and phase snapshots)- Active task section from
.spae/current/PLAN.md(Intent,Acceptance,Verification) - Source files and test logs scoped to active task
Workflow
- GATE—Read
.spae/current/STATE.json; confirmphase: checkandactive_task_id. Self-heal state drift: iftasks[active_task_id]reads"todo", correct it to"in_progress"and writeSTATE.jsonbefore proceeding. Halt on state drift: iftasks[active_task_id]reads"done", halt. Read activePLAN.mdtask section; confirm title,Intent,Acceptance,Verification. Halt on missing or malformed input; report and make no changes. - ORIENT—Verify active task; hand off to
/fix,/build, or/verify. Leave source, tests,config, docs,PLAN.md,SPEC.md, task scope, andworkstreamcompletion untouched. - PLAN—List active-task
Acceptanceoutcomes andVerificationsteps. Map evidence for declaredIntent; scope source/test reads to active task. Never readSPEC.md. - ACT—Execute:
- Run active-task verification steps and project checks. Without automation, inspect source, logs, or scripted probes for observable behavior.
- Confirm every
Acceptanceoutcome andIntentagainst evidence. - Label findings with exactly two tags:
- Gap: unmet
Acceptance, failedVerification,Intentmismatch, speculative abstraction, unrequested complexity, defensive bloat beyond taskScope, or a self-introduced cleanup violation perreferences/cleanup-guide.md. Include unmet item, file:line, expected vs actual, reproducible evidence. Blocks a clear result. - Observation: minor concern outside task scope,
unrequestededge-case coverage, theoretical risk. Report only; never write toFIX.mdor affect the verdict.
- Gap: unmet
- Draft gaps per
references/FIX.mdschema; consultreferences/prose-protocol.md.
- VERIFY—Reconcile every
Acceptance,Verification, andIntentagainst evidence. Clear verdict only with zero gaps. Confirm draftedFIX.mdmatchesreferences/FIX.mdstructure. - PERSIST—Apply one verdict:
- Gap found: create/overwrite
.spae/current/FIX.mdperreferences/FIX.md. WriteSTATE.json:phase: fix; preserve status, cursor, task registry, version, workstream. Active task staysin_progress. - Task clear, tasks remain: write
STATE.json: mark active taskdone, advance cursor to next"todo"task,phase: build. - Final task clear: write
STATE.json: mark active taskdone, retain cursor active task ID,phase: verify. - All branches: re-read
STATE.jsonafter writing; on a field mismatch, rewrite and re-read beforeREPORT.
- Gap found: create/overwrite
- REPORT—Emit result per directives. Template B after gap, D after clear nonfinal task, E after clear final task. Observations under Findings only.
Directives
- Optimize for agent, token, and context efficiency.
- Consult
references/shell-command-guide.mdfor command safety, timeouts, redirects, and environment directives. - Consult
references/cleanup-guide.mdfor self-introduced-artifact scope and criteria. - Follow canonical
SPAEStep 5/checkcontract on conflicts. - Focus on active-task evidence; prefer existing project checks.
- Enforce
KISSandYAGNI; flagIntentmismatches over speculative scope or defensive bloat. - Ground bloat findings in the diff; never flag hypothetical future risk, stylistic preference, or unshipped edge case.
- Relegate
unrequestededge-case coverage, theoretical risks, and defensive bloat suggestions to observations; forbid writing them toFIX.md. - Keep gaps concrete, reproducible, enough for
/fixwithoutPLAN.md. - Preserve task-plan wording verbatim in
FIX.md## Intent. - Write only current actionable gaps to
FIX.mdperreferences/FIX.md; report observations in summary only. - Consult
references/prose-protocol.mdbefore draftingFIX.md.
Constraints
- Read source, tests,
config, docs, logs only; write only.spae/current/FIX.mdand.spae/current/STATE.json. - Never read/edit
.spae/current/SPEC.md; never edit.spae/current/PLAN.md. - Never edit source, tests,
config, docs, or non-SPAEproject files. - Never claim
workstreamcompletion (only/verifyholds that authority). - Never add artifacts beyond canonical
SPAEfiles or fields beyondSTATE.jsonschema. - Never stage/commit
.spae/artifacts. - Autonomy: Never ask users for input or clarification mid-execution; halts and failures stop autonomously.
- Full autonomy: Never ask for human execution, attended terminal,
interactive session, or human presence. Surface any such dependency as
a
Gap.
Verification
STATE.jsonenters withphase: checkand matching active in-progress task.- Every
Acceptance,Verification, andIntentreviewed against evidence. - Only
Gap/Observationlabels used; every unmet item flaggedGap. - Gap run writes
FIX.mdmatching schema, verbatim intent, actionable evidence; active task staysin_progress; phase →fix. - No speculative abstraction, unrequested complexity, defensive bloat
beyond task
Scope, or self-introduced cleanup violation perreferences/cleanup-guide.mdsurvives unflagged. - Clear run marks one task
done, routes tobuildorverifywith correct cursor state. SPEC.md,PLAN.md, source, tests,config, docs, unrelated files unchanged.- Output uses template B, D, or E verbatim.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, summaries into terse bullet points.
- Use lists/sub-lists over paragraphs and long sentences.
- Emit result 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 checks and verdict work]
- **Files**:
- [Terse list of affected SPAE artifacts]
- **Findings**:
- [Gaps or observations]
- **Summary**:
- [Terse task outcome]<!-- prettier-ignore-end -->Emit exactly one, matching the verdict.
Gap found
<!-- prettier-ignore-start -->> **SPAE Status** • `workstream-name` **Active Task**: `T-XXX` - [Task
> title] **Result**: Gaps found, `FIX.md` written
>
> _Run `/fix` to close the gaps._<!-- prettier-ignore-end -->Clear, tasks remain
<!-- prettier-ignore-start -->> **SPAE Status** • `workstream-name` **Progress**: Task [X] of [Y] ([Z]
> remaining) **Completed**: `T-XXX` - [Task title] **Next Task**:
> `T-YYY` - [Next task title]
>
> _Run `/build` to execute the next task._<!-- prettier-ignore-end -->Clear, final task
<!-- prettier-ignore-start -->> **SPAE Status** • `workstream-name` **Progress**: All [X] tasks
> completed **Completed**: `T-001` through `T-XXX` **Next Phase**:
> `/verify`
>
> _Run `/verify` to validate the implementation against the
> specification._<!-- 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.

