بنقرة واحدة
spae-inspect
Optimization & Verification for the `SPAE` framework. Performs gap analysis on `PLAN.md`.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Optimization & Verification for the `SPAE` framework. Performs gap analysis on `PLAN.md`.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Atomic execution for the project framework. Executes exactly one atomic task from `PLAN.md`.
Comprehensive Execution for the `SPAE` framework. Executes all tasks from `PLAN.md` sequentially in one invocation.
Orchestrate SPAE subagents sequentially through the structured workflow and lifecycle.
Task Decomposition for the `SPAE` framework. Decomposes `SPEC.md` into a `DAG` of atomic tasks in `PLAN.md`.
Orchestrate SPAE subagents sequentially through the spec, plan, and inspect phases of the structured workflow.
Executes the build phase of the SPAE structured workflow autonomously.
| name | spae-inspect |
| description | Optimization & Verification for the `SPAE` framework. Performs gap analysis on `PLAN.md`. |
| user-invocable | true |
SPAE)STATE.json has phase: inspect.PLAN.md needs validation against SPEC.md, codebase patterns, or
technical constraints before execution.SPEC.md, PLAN.md, and relevant codebase context.workstream to execution readiness.Read only what the inspection requires:
.spae/current/SPEC.md.spae/current/PLAN.md.spae/current/STATE.jsonNever read .spae/current/VERIFY.md—not an input to this phase.
Reading qualifies as content-blocking.
STATE.jsonSee references/STATE.md for the field reference, directives, and phase
snapshots.
.spae/current/STATE.json, .spae/current/SPEC.md,
and .spae/current/PLAN.md. Halt when phase ≠ inspect.SPEC.md unchanged.PLAN.md. Declare the
minimal refinements the findings demand.SPEC.md requirement absent from every task as
Must fix.Intent as Must fix; flag a vague or
non-actionable Intent as Should fix; backfill or sharpen it
from SPEC.md (or, for enabling tasks, from Context and the plan
## Goal) during refinement.Should fix.Should fix.Dependencies entry with a T-NNN ID ≥ the declaring
task's own ID as Must fix (topological violation).Must fix.Dependencies entry referencing a T-NNN absent from
PLAN.md as Must fix (dangling reference).Task graph mermaid edges and per-task
Dependencies fields as Should fix.Satisfies: none lacking a credible
enabling-task rationale in its Context as Should fix (orphan
task—likely scope creep).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.PLAN.md: Rewrite what each Must fix or Should fix
demands—re-split, reorder, add, or remove tasks. Make no change
absent a classified finding. Preserve atomic, independently
verifiable tasks and contiguous sequential T-NNN IDs.
T-NNN reference in lockstep—task headers,
Task graph mermaid edges, the dependency overview list, and
each Dependencies field. Leave no dangling or stale ID.## Verification:
ACT, address it, then re-enter
VERIFY..spae/current/STATE.json once, atomically: set
phase: build; set cursor to T-001 with task_status: todo;
rebuild the tasks registry to mirror the refined PLAN.md IDs,
each mapped to todo; set metrics.tasks_total to the refined
task count and metrics.tasks_completed to 0./inspect lightweight; reject process bloat and new approval
gates.workstream after inspection:
/build, /tdd, or /execute..spae/ stays local execution state and never gets staged or
committed..spae/current/PLAN.md and
.spae/current/STATE.json.SPEC.md, VERIFY.md, or any non-SPAE project file.SPAE artifacts beyond the
canonical files.SPEC.md or concrete codebase constraints.SUCCESS only after writing the optimized plan and
advancing state.STATE.json outside the schema reference..spae/current/PLAN.md satisfies .spae/current/SPEC.md and reflects
required refinements.Dependencies ID numerically precedes the declaring
task; no cycles survive.Should fix.Intent line.T-NNN reference survives in
.spae/current/PLAN.md after renumbering.Must fix, Should fix, or Observations..spae/current/STATE.json has phase: build and cursor T-001 ready
for execution..spae/current/STATE.json tasks registry and metrics mirror the
refined PLAN.md task count.### 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`, `/tdd`, or `/execute`
> **Result**: [Ready | Revised | Failed]
> **Impact**: [Terse impact statement]
>
> _Run `/build`, `/tdd`, or `/execute` next. Keep one execution mode for this workstream._