name: to-prd description: Turn conversation context, research, or a rough feature idea into a Linear Project/PRD using this repo's Linear workflow. Use when the user wants a PRD, product spec, Linear project, initiative/project framing, or a source-of-truth product brief for later issue slicing.
To PRD
Create or update the Linear source of truth for a product idea. Linear owns the active PRD, Project, Initiative links, issue graph, decisions, and execution state. The repo owns code and source-backed architecture docs.
Read First
docs/agents/linear-workflow.mddocs/agents/triage-states.mddocs/agents/domain.md- relevant
docs/architecture/*
Use the Linear skill/app for Linear reads and writes. If Linear tools are not available, stop and ask the user to connect the Linear app before attempting to publish the PRD.
Process
- Gather context. Use the current conversation, referenced docs, existing Linear Initiative/Project/issues, and source code. Do not interview by default; synthesize what is known. Ask only for decisions that cannot be resolved from Linear, source, or architecture docs.
- Choose Linear container.
- Existing Initiative/Project: update it.
- New product area: create or propose a Project under the right Initiative.
- Unknown team/project mapping: ask once with a recommended default.
- Stress-test with domain docs. Use current repo vocabulary and verify any implementation claims against source. If the source contradicts the product idea, call that out in the PRD's open questions or implementation decisions.
- Sketch test seams. Prefer existing public interfaces and vertical slices. Identify where worker issues should verify behavior.
- Write the PRD in Linear. Prefer a Linear document attached to the Project when supported; otherwise use the Project description or a linked PRD issue.
- Record unresolved ambiguity. Mark open questions as HITL instead of burying uncertainty.
- Prepare for issue slicing. End with the recommended next step: run
to-issueson the Linear Project/PRD.
PRD Shape
Use this structure in Linear.
# <Project / PRD title>
## Problem Statement
What user or business problem this solves, from the user's perspective.
## Goals
- Goal 1
- Goal 2
## Non-Goals
- Explicitly out-of-scope item
## User Stories
1. As a <actor>, I want <capability>, so that <benefit>.
## Solution
The intended product behavior and workflow.
## Implementation Decisions
- Stable module, interface, data, API, route, persistence, or workflow decisions.
- Avoid volatile file paths unless the path is itself a contract.
## Testing And Verification
- Public interfaces or workflows to verify.
- Similar tests or verification commands in this repo.
- Browser, migration, auth, or CI expectations when relevant.
## Risks And Rollout
- Product, migration, data, auth, infrastructure, or operational risks.
- Rollout or backout notes where relevant.
## Open Questions / HITL Decisions
- Question, recommended answer, and what is blocked by it.
## References
- Linear Initiative/Project/issues
- Architecture docs
- Relevant source-backed notes
Publishing Rules
- Do not create implementation issues inside this skill unless the user
explicitly asks;
to-issuesowns issue slicing. - Link the PRD to the parent Initiative when one exists.
- If creating a Project, give it a title that can become the umbrella for child issues and PRs.
- Add a short Linear comment summarizing what changed and what remains open.
- If the PRD is ready for slicing, set or recommend the state that maps to
ready-for-agentorneeds-triageaccording todocs/agents/triage-states.md.