| name | spec-driver |
| description | Use this skill any time work involves creating, listing, finding, showing, editing, completing, syncing, or otherwise interacting with spec-driver entities via the CLI. Trigger it whenever a user asks to create or inspect ADRs, specs, deltas, revisions, audits, memories, policies, standards, backlog items, or related workflow artefacts, especially if there is any temptation to guess IDs, paths, or command shapes. |
Spec Driver
Use spec-driver ....
Defaults
- Never guess the next entity ID. Use
create and let spec-driver allocate it.
- Prefer direct CLI inspection over browsing generated files when the user asks what exists or what command to run.
- Keep usage compact; reach for
--help only when the needed subcommand shape is still unclear.
- When the task is about how spec-driver should be used, not just which command
to type, prefer the relevant memory over ad hoc explanation.
Memory routing
- Start with
spec-driver show memory mem.signpost.spec-driver.overview --raw
for the compact orientation.
- Use
spec-driver show memory mem.pattern.spec-driver.core-loop --raw
when the question is about workflow order, canonical path, or what comes next.
- Use the matching concept memory for task-focused guidance:
mem.concept.spec-driver.delta, mem.concept.spec-driver.spec,
mem.concept.spec-driver.revision, mem.concept.spec-driver.audit,
mem.concept.spec-driver.plan, mem.concept.spec-driver.backlog.
- Use
spec-driver show memory mem.pattern.spec-driver.delta-completion --raw
before complete delta.
- If the right memory is unclear, search first:
spec-driver list memories -c "<task or command terms>"
Common commands
- Create a new entity:
spec-driver create <kind> "<title>"
- List entities:
spec-driver list <kind>
- Find by pattern:
spec-driver find <kind> <pattern>
- Show one entity:
spec-driver show <kind> <id>
- View raw/source-oriented output:
spec-driver view <kind> <id>
- Edit/open via spec-driver:
spec-driver edit <kind> <id>
- Complete a lifecycle action:
spec-driver complete <kind> <id>
Common kind values include:
adr
spec
delta
revision
audit
memory
policy
standard
backlog (also: issue, problem, improvement, risk)
drift
Command discovery
- Top-level commands:
spec-driver --help
- Subcommands for a group:
spec-driver <group> --help
- Creation variants:
spec-driver create --help
When the user asks what is available, prefer showing the relevant group help or
listing the relevant entities instead of dumping every help screen.
Tips
- For audit-driven authorship work, keep the decision path doctrinally narrow:
spec_patch -> revision -> revision-led create spec.
Do not invent a peer "new spec" audit disposition when the right route is to
create the spec through the existing revision branch.
- Regex flags parse left-to-right. Use
-ir "pattern" or -r "pattern" -i,
not -ri "pattern".
- Many
list commands share the same core filters and outputs:
-s status, -f substring, -r regex, -i case-insensitive regex,
--json, --format=tsv, --truncate.
show is often better than reading files directly:
--raw for source markdown, --path for the file path, --json for data.
show --path composes well with shell tools:
dirname "$(spec-driver show delta DE-037 --path)" to get the bundle dir;
if tree is available, tree "$(dirname "$(spec-driver show delta DE-037 --path)")".
- Memory lookup is scope-aware:
spec-driver list memories -p <path> -c "<command terms>" --match-tag <tag>.
- Use schema introspection instead of guessing field names:
spec-driver list schemas,
spec-driver show schema frontmatter.delta -f yaml-example,
spec-driver show schema delta.relationships -f json-schema.
find uses glob patterns, not regex, and accepts numeric shorthand:
spec-driver find delta "DE-04*", spec-driver find delta 44.
- Bare numeric IDs work everywhere:
spec-driver show delta 88 resolves
to DE-088. Same for find, view, edit, show.
read is an alias for view.
show backlog / view backlog resolve any backlog item type by ID
(issue, problem, improvement, risk) without needing the specific subcommand.
edit subcommands support --tag/--untag for in-place frontmatter tag
edits without opening an editor: spec-driver edit delta DE-088 --tag wip --untag stale.
Available on all 17 edit subcommands. --status sets status similarly.
create requirement supports --tag, --ext-id, --ext-url for discovery
metadata at creation time.
admin preboot generates the static boot context file for cache-optimised
agent sessions. Run after governance changes (ADRs, policies, standards).
- Hidden defaults that matter:
list specs hides unit specs unless you use -c all;
list backlog defaults to --limit 20 and excludes resolved/implemented items unless you use -a;
singular and plural subcommands both work.
spec-driver create delta --from-backlog <item-id> is the direct promotion path
from backlog capture to intentional change. --from-backlog is a boolean
flag; the item ID is passed as the positional name argument.
- After creation, commands print
schema show hints for inspecting the
generated artifact's YAML block and frontmatter schemas.