/odin-product:write-product-specfrom ODIN Product
Writes product specs with behavioral invariants, technical implementation plans, or evidence-backed PRDs. Supports product, technical, and requirements modes.
Ships in ODIN Product. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User asks for a product spec with numbered behavioral invariants, a technical implementation plan, or an evidence-backed PRD. |
| Authority | Human-gated: in requirements mode, previews and confirms credentials, paid actions, and remote publishing before execution; otherwise writes only the named artifact. Rollback is delete the file. No remote mutation without explicit human approval in requirements mode. |
| Side effect | Writes one PRODUCT.md, TECH.md, or PRD artifact; in requirements mode also stages, commits, and opens a PR after explicit confirmation. |
| Done | The named artifact exists, meets its mode-specific contract, and the output is confirmed. |
product (default), technical, or requirements.product and requirements, a short kebab-case feature name or ticket or issue number; for technical, a description of the feature, change, or system to specify.product and requirements): one to three sentences describing what the feature does and the desired outcome.product): who consumes the surface. Defaults to the end user.product): gather via dialogue; do not guess.technical): existing files, modules, or architecture the spec must integrate with.requirements): who the feature serves.requirements): limits on the feature.requirements): sources to cite.requirements): P0, P1, or P2.product for behavioral invariants, technical for implementation plan, requirements for evidence-backed PRD. Default to product if the request does not name a mode. Done when: the mode is confirmed.product: confirm the feature identifier, feature summary, target consumers, key behaviors, edge cases, and validation approach.technical: confirm the intent, codebase context, and constraints.requirements: confirm the feature name or description, target users, constraints, related URLs or docs, and priority level.
Done when: the required scope for the selected mode is confirmed.requirements: gather supporting evidence. Read local sources when present and non-stale (≤7 days): reports/customer_feedback_summaries/, reports/competitor_changelog_reports/ or reports/feature_research/, reports/git_history_analysis/, reports/weekly_product_briefings/. Note absent or stale sources. Cite every claim in the Problem Statement and Technical Considerations sections; tag unattributed claims [UNCITED]. Done when: available sources are read and stale or missing sources are noted.product: Summary (required), Behavior (required, numbered invariants), optional Problem, optional Goals/Non-goals, optional Open questions. Do not include Validation, Success criteria, or Testing sections.technical: Objective, Background, Design, Implementation plan, Risks and mitigations, Open questions. No placeholders or TODOs.requirements: TL;DR, Problem Statement, Goals & Success Metrics, Target Users, Scope, Proposed Solution, Technical Considerations, Competitive Context, Open Questions, References. Include a header block with title, author, date, status (Draft), priority.
Done when: the section list is decided with required and optional sections.product: write Behavior as numbered, testable invariants from the consumer's perspective. Cover default flow, states, inputs, empty/error/loading/cancellation states, edge cases, keyboard/accessibility, and invariants. Keep framing thin relative to Behavior.technical: write each section. Validate every implementation step against the codebase: confirm referenced paths, types, and interfaces exist or are created by a prior step.requirements: write each section with citations. Derive the feature slug from the feature name (lowercase, hyphenated).
Done when: all sections are drafted with concrete content and the mode-specific contract is satisfied.product: specs/<id>/PRODUCT.md where <id> is the feature identifier.technical: TECH.md in the working directory.requirements: reports/prds/prd_<feature_slug>_YYYY-MM-DD.md.
Create the directory if it does not exist. Done when: the file is written to the correct path.requirements: publish the PRD. Present the saved path and a content summary. Obtain explicit confirmation. Stage and commit the PRD file; open a pull request against the default branch. If VCS commands fail, report the error. Inform the user that optional exports to Google Docs, Notion, or Slack are separate steps. Done when: the PR is open or the user stops before the PR.product, implementation steps for technical, or sections for requirements). Done when: the summary and count are presented.| Failure class | Mode | Partial-result rule | Recovery |
|---|---|---|---|
| Missing scope | all | No file written | Stop; ask for the missing input. |
| Conflicting requirements | technical | No file written | Stop; name the conflict and present the trade-off. |
| Scope creep | technical | Bound to the original ask | Note out-of-scope items in Open questions. |
| Technical uncertainty | technical | Record the assumption | Flag the assumption in Open questions with the test or investigation needed. |
| Unclear behavior | product | No file written | Write **Open question:** ... inline in Behavior; do not guess. |
| File write fails | all | No artifact on disk | Report the error with the path and root cause. |
| Source read fails | requirements | Continue without that source | Note the absence; do not halt. |
| Stale data (>7 days) | requirements | Note staleness | Proceed; do not block. |
| Uncited claim | requirements | Tag [UNCITED] | Resolve or move to Open Questions. |
| Missing required section | all | Incomplete artifact | Do not claim Done; report which section is absent. |
| PR creation fails | requirements | PRD file exists | Report the error; do not delete the PRD file. |
| Partial stop | all | No file written | Do not save a partial artifact. |
To reverse the side effect, delete the written artifact. In requirements mode, a partial result that produced a file but not a PR leaves the file in place.
product: specs/<id>/PRODUCT.md with sections in order: Summary, Behavior (numbered invariants), optional Problem, optional Goals/Non-goals, optional Open questions; no Validation, Success criteria, or Testing sections.technical: TECH.md with sections in order: Objective, Background, Design, Implementation plan, Risks and mitigations, Open questions; no placeholders or TODOs.requirements: reports/prds/prd_<feature_slug>_YYYY-MM-DD.md with sections in order: TL;DR, Problem Statement, Goals & Success Metrics, Target Users, Scope, Proposed Solution, Technical Considerations, Competitive Context, Open Questions, References; plus an open PR against the default branch.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/buyer-objection-researchUse when product copy needs buyer-objection evidence collected through approved, consented outreach. Not for unsolicited outreach or survey design./buzzword-analysisUse when the user wants the current jargon weather of a domain described without advocacy. Not for choosing a positioning move: use buzzword-hijack./buzzword-hijackUse when a user wants to choose and execute a bounded positioning move that rides a jargon wave. Not for describing the jargon weather of a domain: use buzzword-analysis./competitor-feature-researchUse when asked to research a feature across competitor products or to analyze competitor release changelogs (mode: changelog), and publish a cited report./customer-feedback-reportUse when customer feedback, NPS, churn, email feedback, call transcripts, or voice-of-the-customer analysis needs a report over a time window./developer-experience-reviewUse when dogfooding a developer-facing product or workflow to produce an evidence-backed DX scorecard. Not for visual UI audit: use web-design-review.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-productOther plugins' skills for the same job