Create a structured specification document from a name and summary or draft file.
Creates a structured specification document from a name and summary or draft file.
/plugin marketplace add hernamesbarbara/promptkit/plugin install good-pm@promptkit<name> <summary OR path/to/draft.md>Create a spec in .good-pm/specs/SPEC_<name>.md.
$1 — name: Spec name in kebab-case (e.g., user-auth)$2 — input: Text summary OR path to draft .md file.good-pm/context/PM_CONTRACT.md for full conventions (Decision D1).good-pm/ exists, template exists)pm_work_detected: true in .good-pm/session/current.md frontmatter (Decision D2).md and exists, otherwise text)a-z, 0-9, - only^[a-z][a-z0-9]*(-[a-z0-9]+)*$Text mode: Use $2 as summary (max 256 chars), fill template placeholders.
File mode: Read draft, synthesize into spec sections, delete original draft.
Read from .good-pm/templates/SPEC_TEMPLATE.md. Replace:
{{NAME}} → spec name{{SUMMARY}} → summary text (text mode){{DATE}} → today's date (YYYY-MM-DD)Created spec: .good-pm/specs/SPEC_<name>.md
When ready, break into issues:
/good-pm:create-issues .good-pm/specs/SPEC_<name>.md
/good-pm:create-spec user-auth "OAuth2 with Google and GitHub"
/good-pm:create-spec api-cache ./notes/caching-ideas.md
For detailed validation rules and error handling: /good-pm:help create-spec