openplanr spec
Spec-driven storage and validation for artifacts authored by the active host agent.
openplanr spec [options] [command]Commands
initActivate spec-driven mode in this project (creates .planr/specs/ root)
createCreate a new spec: a self-contained directory with stories/, tasks/, design/
shapeAuthor a decision-complete professional specification
listList all specs in the project
showPrint a spec + its decomposition tree (stories, tasks)
statusDecomposition state across all specs (or one spec if --spec specified)
destroyRemove a spec entirely (rm -rf of its self-contained directory)
attach-designCopy PNG mockups into a spec's design/ directory and update ui_files frontmatter
promoteValidate that a spec is ready and print the pipeline handoff command
syncValidate spec integrity (orphaned tasks, stories without tasks, missing specId frontmatter, schema drift)
openplanr spec init
Activate spec-driven mode in this project (creates .planr/specs/ root)
openplanr spec init [options]openplanr spec create
Create a new spec: a self-contained directory with stories/, tasks/, design/
openplanr spec create [options] [title...]| Argument | Description |
|---|---|
title...Optional | spec title (alternative to --title) |
| Option | Description |
|---|---|
--title <title> | spec title (required if not given as positional argument) |
--slug <slug> | explicit kebab-case slug; otherwise derived from title |
--priority <priority> | P0 / P1 / P2 (default: P1) |
--milestone <milestone> | milestone label (e.g., v1.0) |
--po <handle> | Product Owner handle (e.g., @AsemDevs) |
openplanr spec shape
Author a decision-complete professional specification
openplanr spec shape [options] <specId>| Argument | Description |
|---|---|
specIdRequired | spec ID (e.g., SPEC-001) |
| Option | Description |
|---|---|
--file <path|-> | read one bounded professional specification JSON object |
--json | emit one machine-readable result |
openplanr spec list
List all specs in the project
openplanr spec list [options]openplanr spec show
Print a spec + its decomposition tree (stories, tasks)
openplanr spec show [options] <specId>| Argument | Description |
|---|---|
specIdRequired | spec ID (e.g., SPEC-001) |
openplanr spec status
Decomposition state across all specs (or one spec if --spec specified)
openplanr spec status [options] [specId]| Argument | Description |
|---|---|
specIdOptional | optional spec ID to scope output |
openplanr spec destroy
Remove a spec entirely (rm -rf of its self-contained directory)
openplanr spec destroy [options] <specId>| Argument | Description |
|---|---|
specIdRequired | spec ID (e.g., SPEC-001) |
openplanr spec attach-design
Copy PNG mockups into a spec's design/ directory and update ui_files frontmatter
openplanr spec attach-design [options] <specId>| Argument | Description |
|---|---|
specIdRequired | spec ID (e.g., SPEC-001) |
| Option | Description |
|---|---|
--files <paths...> | one or more PNG files to attach |
openplanr spec promote
Validate that a spec is ready and print the pipeline handoff command
openplanr spec promote [options] <specId>| Argument | Description |
|---|---|
specIdRequired | spec ID (e.g., SPEC-001) |
openplanr spec sync
Validate spec integrity (orphaned tasks, stories without tasks, missing specId frontmatter, schema drift)
openplanr spec sync [options] [specId]| Argument | Description |
|---|---|
specIdOptional | optional spec ID to scope; otherwise scans all specs |
| Option | Description |
|---|---|
--dry-run | report findings without writing any fixes |