| type | ProcessSpec | |
|---|---|---|
| summary | Maps bundled agent skills to the phases of the spec-driven delivery loop. | |
| id | SPEC-0007 | |
| spec-status | active | |
| last-updated | 2026-05-19 | |
| aliases |
|
This spec tells agents which bundled skills to invoke at each phase of the delivery loop. The skills ship with the spec-driven starter and live canonically under .agents/skills/. Harnesses (Claude Code, Codex, Cursor, etc.) discover skills from there directly or via their own mirrors; when invoking a skill or spawning a sub-agent that uses one, name the skill by name and let the harness resolve the location.
- give agents a single discovery surface for the workflow
- keep skill invocation aligned with
development-loop.md - make it obvious when a skill applies and when to stop
- make neighboring-skill boundaries explicit enough to reduce routing mistakes
- documenting CLI flags for
rzm agent(that lives in the managed Rhizome guidance block insideAGENTS.md/CLAUDE.md) - replacing the SKILL.md bodies; this file routes, it does not re-explain
- Load and consult this spec before starting new work in a spec-driven delivery repo.
- Use the phase → skill mapping below unless the user explicitly asks for something else.
- Stop at phase boundaries the skill's
Outputsection marks as hard stops (especially aftereffort-new). - When a phase skill declares a required saved-query recipe or required discovery pattern, run it before making the phase decision it protects.
specifyMUST search related contracts before creating a new spec; update or reference an existing spec when the requested behavior belongs there.- Effort-bearing phase skills MUST load the current effort's frozen spec set and frozen story scope before planning, implementation, audit, backport, or compound closure decisions.
- Skills that create typed note ids MUST use
rzm agent next-idwhen the live surface advertises it, and mirror the allocated id intoaliases:according to the type's identifier contract. - Skills that edit specs referenced by
plannedoractiveefforts MUST account forfrozen-scope-drift; runrzm agent validate --check frozen-scope-driftwhere the phase contract calls for drift evidence. - Code-evidence discovery MAY require
semantic-queryandfile-contextpatterns in addition to saved GraphQL query recipes until a multi-tool recipe format exists. - Effort closure MUST run the
alignment-audit,backport, andcompoundskills in that order, and each MUST be invoked as a separate sub-agent loading the named skill in its own context. Theimplement-phase agent spawns thealignment-auditsub-agent with the effort note path; the audit sub-agent hands off tobackport;backporthands off tocompound. None of the closure skills run inline insideimplement, andimplementnever flips an effort'sstatustocomplete.
| Phase | Skill | Purpose |
|---|---|---|
| Spec | specify |
Write or update a spec grounded in codebase context |
| Effort | effort-new |
Create the effort note and freeze the spec set |
| Plan | plan |
Produce a decision-complete implementation plan in the effort |
| Execute | implement |
Execute the plan and keep docs in sync |
| Audit | alignment-audit |
Run typed alignment audits and produce a report |
| Backport | backport |
Push durable learnings that changed authoritative truth back into specs, reference docs, code docs, or skills |
| Compound | compound |
Turn repeated friction, missing evidence, and agent blockers into durable future-capacity work |
development-loop— route broad "start/resume/take this through the loop" requests to the right phase skill without duplicating phase instructions.rhizome-onboard— orient quickly before planning, implementation, or note edits when the request is high-level or the subsystem is unfamiliar.debugging— investigate bugs with a root-cause-first loop and consultdebugging-workflow.mdbefore proposing fixes.rhizome-review-feedback— verify review comments against code and durable artifacts before changing implementation.code-docs— tighten in-code documentation hygiene when the focus is doc quality rather than shipping behavior.foundation-review— run a guided review after a foundation-heavy phase before later phases build on top of it.ingest-transcript— turn transcripts or structured meeting notes into ontology-backed specs, reference docs, domain notes, and effort-context updates with provenance.quality-gates-check— run the repo's local quality gates and report pass/fail/deferred checks explicitly.rhizome-note-authoring— use when work becomes primarily note-shape authoring in ontology-backed families.rhizome-ontology— use when the ontology itself or the note-family contract needs to change.rhizome-skill-creator— use when the deliverable is a repo-local skill or a revision to skill routing/instructions.
When another active starter extends spec-driven, final installed skills may include additional native instructions rendered from starter overlays. The final SKILL.md files are the authority; agents should not look for overlay markers at runtime.
For complex-domain, use these added skills when the work depends on source-backed requirements, feature areas, domain concepts, processes, workflows, business rules, or traceability views:
complex-domain— route domain and requirements workflows.requirements-ingest— turn source material into candidate requirements with provenance.requirements-curation— review, accept, reject, merge, supersede, or re-review requirements.domain-modeling— maintain feature areas, bounded contexts, domain types, business rules, and questions.workflow-mapping— model processes, user workflows, variants, and rule points.spec-from-domain— draft or revise specs from deterministic domain and requirement packs.traceability-review— audit requirement/spec/story/source coverage and stale knowledge.domain-backport— reconcile delivery outcomes back into requirements, sources, and domain notes.
Complex-domain overlays augment specify, effort-new, plan, implement, alignment-audit, backport, compound, debugging, and ingest-transcript so those phases load saved domain recipes before making protected decisions.
specifyvsplan: usespecifywhile desired behavior or scope is still moving; useplanonce requirements are stable and the task is technical execution design.planvsimplement: useplanto decide approach, task graph, and checks; useimplementonly after the plan is decision-complete and approved.debuggingvsimplement: usedebuggingwhile the failure mode or root cause is still under investigation; useimplementonce the fix shape is clear.implementvsbackport: useimplementto change behavior; usebackportafter execution when durable specs, reference docs, code docs, or skills must catch up to reality.backportvscompound: usebackportfor known spec/docs reconciliation; usecompoundwhen the main output is future-capacity work such as validation paths, evidence rules, skills, scripts, access paths, or follow-up efforts.alignment-auditvsquality-gates-check: usealignment-auditfor spec/doc/link/drift validation; usequality-gates-checkfor local build, lint, typecheck, and test gates.rhizome-review-feedbackvsimplement: userhizome-review-feedbackto evaluate what a review comment really requires; useimplementonly after the requested change has been verified against repo reality.code-docsvsrhizome-note-authoring: usecode-docswhen the main artifact lives beside code; userhizome-note-authoringwhen the deliverable is a long-lived standalone note.rhizome-onboardis a prep skill: use it to gather context, then hand off to the skill that owns the actual deliverable.development-loopis a coordinator skill: use it only until the current phase is known, then hand off to the owning phase or companion skill.
- whether an optional reporting bundle (
diff-specs,stand-up,remaining-items) should ship once the core loop stabilizes