spae-inspect
Skill1 starsChanged 4 months agoMITView on GitHub
- STATE.json has phase: inspect. - PLAN.md needs validation against SPEC.md, codebase patterns, or technical constraints before execution. - Tighten the atomic task graph before execution while keeping the repository source read-only. - Find gaps between SPEC.md, PLAN.md, and relevant codebase context. - Fix each classified gap fully; match correction depth to finding severity, not diff size. - Advance the workstream to execution readiness. Read only what the inspection requires: - .spae/current/SPEC.md - .spae/current/PLAN.md - .spae/current/STATE.json (consult references/STATE.md for field…
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-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
19 rules. About 0 are common, 9 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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
Read only what the inspection requires:
- Very specific: line 85
Renumber atomically: when adding, removing, or reordering, update every T-NNN reference in lockstep—task headers, Task graph mermaid edges, …
- Distinctive: line 89
Topological correction: when fixing a topological violation, reorder tasks so every dependency precedes its dependent by ID, then renumber …
- Distinctive: line 108
Prefer existing repository patterns over speculative design.
- Very specific: line 109
Keep /inspect lightweight.
- Very specific: line 114
Ensure .spae/ stays local execution state and never gets staged or committed.
- Very specific: line 122
Forbidden Writes: Never edit source code, tests, configuration, docs, SPEC.md, VERIFY.md, or any non-SPAE project file.
- Very specific: line 124
Artifact Limit: Don't create new SPAE artifacts beyond the canonical files.
- Very specific: line 126
Scope Control: Don't add requirements, features, tasks, or gates not grounded in SPEC.md or concrete codebase constraints.
- Distinctive: line 130
Autonomy: Never ask users for input or clarification mid-execution.
- Distinctive: line 132
Full autonomy: Never leave or write a task whose Verification section depends on human execution, an attended or interactive terminal, or …
- Very specific: line 135
Never introduce fields to STATE.json outside the schema reference.
- Very specific: line 144
Every Satisfies-bearing task's Acceptance section names testable behaviors matching SPEC.md requirements (flags missing failure modes or …
- Distinctive: line 148
Every task's Verification section includes test execution commands.
- Very specific: line 149
Every task carries an actionable Intent line.
- Very specific: line 150
No dangling or stale T-NNN reference survives in .spae/current/PLAN.md after renumbering.
- Distinctive: line 157
No forbidden files changed.
- Distinctive: line 162
Keep prose terse while ensuring clarity.
- Distinctive: line 165
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
Inspect (SPAE)
When to use
STATE.jsonhasphase: inspect.PLAN.mdneeds validation againstSPEC.md, codebase patterns, or technical constraints before execution.
Goal
- Tighten the atomic task graph before execution while keeping the repository source read-only.
- Find gaps between
SPEC.md,PLAN.md, and relevant codebase context. - Fix each classified gap fully; match correction depth to finding severity, not diff size.
- Advance the
workstreamto execution readiness.
Input
Read only what the inspection requires:
.spae/current/SPEC.md.spae/current/PLAN.md.spae/current/STATE.json(consultreferences/STATE.mdfor field reference, directives, and phase snapshots)- Relevant source files for context only.
Never read .spae/current/VERIFY.md—not an input to this phase.
Reading qualifies as content-blocking.
Workflow
- GATE—Read
.spae/current/STATE.json,.spae/current/SPEC.md, and.spae/current/PLAN.md. Halt whenphase ≠ inspect. - ORIENT—Goal: tighten the task graph for execution readiness.
Source stays read-only;
SPEC.mdunchanged. - PLAN—Classify each gap before editing
PLAN.md. Declare the minimal refinements the findings demand. - ACT—Apply classified findings only. Compare requirements, plan
tasks, acceptance criteria, verification steps, dependencies, and
codebase patterns.
- Flag any
SPEC.mdrequirement absent from every task asMust fix. - Flag any task missing an
IntentasMust fix; flag a vague or non-actionableIntentasShould fix; backfill or sharpen it fromSPEC.md(or, for enabling tasks, fromContextand the plan## Goal) during refinement. - Flag any
Satisfies-bearing task's Acceptance section omitting test requirements specified inSPEC.mdor required by task logic asShould fix. - Flag any Verification section lacking test execution commands as
Should fix. - Flag any
Dependenciesentry with aT-NNNID ≥ the declaring task's own ID asMust fix(topological violation). - Flag any cycle—a task transitively depending on itself—as
Must fix. - Flag any
Dependenciesentry referencing aT-NNNabsent fromPLAN.mdasMust fix(dangling reference). - Flag any mismatch between
Task graphmermaid edges and per-taskDependenciesfields asShould fix. - Flag any task with
Satisfies: nonelacking a credible enabling-task rationale in itsContextasShould fix(orphan task—likely scope creep). - Flag any ≥2 adjacent tasks sharing no independent acceptance value
and no dependency-ordering reason for separation as
Should fix(merge candidate). - Classify findings:
Must fix: gaps breaking requirements, contracts, safety, or verification.Should fix: refinements reducing risk or simplifying execution.Observations: useful notes that shouldn't expand scope.
- Refine
PLAN.md: Rewrite what eachMust fixorShould fixdemands—re-split, reorder, add, or remove tasks. Make no change absent a classified finding. Preserve atomic, independently verifiable tasks and contiguous sequentialT-NNNIDs. Consultreferences/prose-protocol.mdbefore rewriting task prose.- Renumber atomically: when adding, removing, or reordering,
update every
T-NNNreference in lockstep—task headers,Task graphmermaid edges, the dependency overview list, and eachDependenciesfield. Leave no dangling or stale ID. - Topological correction: when fixing a topological violation, reorder tasks so every dependency precedes its dependent by ID, then renumber atomically.
- Renumber atomically: when adding, removing, or reordering,
update every
- Flag any
- VERIFY—Loop over every item in
## Verification:- For each failing item: return to
ACT, address it, then re-enterVERIFY. - Exit only when all items pass.
- Fail only for out-of-scope conditions.
- For each failing item: return to
- PERSIST—Write
.spae/current/STATE.jsononce, atomically: setphase: build; set cursoractive_task_idtoT-001; rebuild thetasksregistry to mirror the refinedPLAN.mdIDs, each mapped to todo. 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 all work for agent, token, and context efficiency.
- Prefer existing repository patterns over speculative design.
- Keep
/inspectlightweight; reject process bloat and new approval gates. - Strengthen verification steps with concrete test commands; test execution, not just build commands.
- Route every
workstreamto/buildafter inspection. - Ensure
.spae/stays local execution state and never gets staged or committed. - Consult
references/prose-protocol.mdbefore editingPLAN.md.
Constraints
- Write Boundaries: Edit only
.spae/current/PLAN.mdand.spae/current/STATE.json. - Forbidden Writes: Never edit source code, tests, configuration,
docs,
SPEC.md,VERIFY.md, or any non-SPAEproject file. - Artifact Limit: Don't create new
SPAEartifacts beyond the canonical files. - Scope Control: Don't add requirements, features, tasks, or gates
not grounded in
SPEC.mdor concrete codebase constraints. - Status: Report
SUCCESSonly after writing the optimized plan and advancing state. - Autonomy: Never ask users for input or clarification mid-execution; halts and failures stop autonomously.
- Full autonomy: Never leave or write a task whose Verification section depends on human execution, an attended or interactive terminal, or human presence; correct it during refinement.
- Never introduce fields to
STATE.jsonoutside the schema reference.
Verification
.spae/current/PLAN.mdsatisfies.spae/current/SPEC.mdand reflects required refinements.- Each task remains atomic, independently verifiable, and topologically
ordered—every
DependenciesID numerically precedes the declaring task; no cycles survive. - Every
Satisfies-bearing task's Acceptance section names testable behaviors matchingSPEC.mdrequirements (flags missing failure modes or edge cases asShould fixonly when specified inSPEC.mdor required by task logic). - Every task's Verification section includes test execution commands.
- Every task carries an actionable
Intentline. - No dangling or stale
T-NNNreference survives in.spae/current/PLAN.mdafter renumbering. - Findings use
Must fix,Should fix, orObservations. .spae/current/STATE.jsonhasphase: buildand cursorT-001ready for execution..spae/current/STATE.jsontasksregistry mirrors the refinedPLAN.mdtask count and IDs.- No forbidden files 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]`
> **Phase Complete**: `/inspect`
> **Next Phase**: `/build`
> **Result**: [Ready | Revised | Failed]
> **Impact**: [Terse impact statement]
>
> _Run `/build` next._<!-- 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.

