Drafts, scopes, and formalizes features as PRDs — a planning agent can consume the output in one shot without re-elicitation. Triggers on "write a PRD for X", "let's plan X", "scope this out", "what should X do", or when a tracker issue needs to be fleshed out before planning. Do NOT use for code edits, debugging, or PR reviews.
A PRD is the input contract for the planning phase. A good PRD lets a planning
agent produce a usable plan in one shot instead of burning turns asking "what did
you mean by X?". A bad PRD causes planner thrash, review rejection, and
verification failures downstream.
This skill is platform-agnostic. It assumes a plan → review → verify → ship flow
where a PRD is written first, a planner decomposes it into steps, and a verifier
checks the result against the PRD's acceptance criteria. Adapt the storage and
field mechanics below to whatever tracker you use.
Storage Location
Prefer making the tracker issue body the PRD. One document per work item, one
location: the body of an issue in the project's tracker. Avoid scattering PRDs
across local sidecar files that drift out of sync the moment work starts.
Create a PRD by creating an issue whose body is clean PRD markdown.
Edit a PRD by editing that issue's body.
Version history is the tracker's edit history — no manual updated field.
The planner reads the issue body verbatim. What you write in the body is
exactly what the planning agent sees, so it must stand alone.
If there is no connected tracker, decide on the single canonical location for the
PRD before writing — do not draft into a throwaway scratch file that nobody will
find again.
Native Tracker Metadata
Do not put YAML frontmatter at the top of issue bodies. Trackers render
issue-body frontmatter as visible noise and already have native fields for this
metadata.
Use native tracker / project-board fields instead:
Issue type:Feature, Bug, or Task.
Status:Backlog, In Progress, Human Review, Done, or Deferred.
Priority:P0, P1, P2, or P3.
Complexity:Low, Medium, or High.
Blast radius:Contained, Cross-package, Cross-app, or Infra.
Rules:
The PRD body starts with # PRD: <name> and contains only human-readable PRD content.
Put card/list summaries in the issue title, project fields, or a short Executive Summary, not in hidden metadata.
If you cannot estimate complexity, set the field to Medium and explain why in Risks & Open Questions.
Draft is workflow state, not body text. Keep draft PRDs off the runnable board path through status fields, not by editing the body.
Issue Title Style
The issue title is what the board shows most of the time. Keep it short.
Prefer 4-7 words when possible.
Prefer an imperative verb + object shape: Add pipeline checkpoints, Track CI blockers on issues, Expose model selectors in settings.
Put the detail in the Executive Summary and body, not in the title.
Avoid titles chained together with and / while / during unless the feature is truly one inseparable unit.
Avoid titles that restate the full implementation loop. The title names the work item; the PRD explains it.
Keep the # PRD: name aligned with the final issue title's slugified form. If you shorten the title, shorten the PRD heading too.
Bad:
Open draft PR during execution and ingest PR feedback into stabilization loop
Treat CI failures as blocker state on issue tasks
Better:
Add draft PR feedback loop
Track CI blockers on issues
Required Sections
Every PRD must have these sections, in this order. Missing sections fail quality gate.
# PRD: <name>
## Executive Summary
<2–4 sentences. What is this feature, why now, who wins.>
## Problem Statement
<The concrete pain. Reference real incidents, real users, real metrics where possible.
Avoid "users might want..." — if you can't name the user, you don't have a problem yet.>
## Goals
- <measurable, verifiable goal>
- <measurable, verifiable goal>
## Non-Goals
- <thing this explicitly does NOT do — the more you list, the less scope creep downstream>
## User Stories
- As a <role>, I want <capability> so that <outcome>.
- Each story ends with "**Acceptance:**" followed by 1–3 EARS criteria
(`WHEN <trigger> THE SYSTEM SHALL <response>`) — same syntax as Acceptance Criteria below.
## Functional Requirements
<Numbered list. Each item must be verifiable by reading code or running it.
NO implementation details — "the system must do X", not "use Zustand to do X".>
## Non-Functional Requirements
<Performance, accessibility, error-handling, offline, observability.
Only list the ones that actually matter for this feature.>
## Acceptance Criteria
<The bar the verification phase will check against. Write every bullet in EARS
syntax (Easy Approach to Requirements Syntax) so it parses unambiguously and is
pass/fail without judgement. Each bullet becomes an assertion the verifier checks:
- Event: WHEN <trigger> THE SYSTEM SHALL <response>.
- State: WHILE <state> THE SYSTEM SHALL <response>.
- Unwanted: IF <condition> THEN THE SYSTEM SHALL <response>.
- Optional: WHERE <feature enabled> THE SYSTEM SHALL <response>.
- Always: THE SYSTEM SHALL <invariant>.>
## Out of Scope
<Be ruthless. Future-proofs the review phase against scope creep.>
## Dependencies
<Other PRDs, packages, external APIs, feature flags. Reference by path or URL.>
## Verification Plan
<How the verifier will know this shipped correctly.
`tests`: list the test files/suites that must exist and pass.
`manual`: list the manual QA steps a human will run post-merge.
`both`: both sections. The clearer this section, the fewer verification retries you burn.>
## Risks & Open Questions
<Unknowns, edge cases, things that could kill the plan mid-execution.
Open questions get tracked here until answered, then deleted.>
Mapping PRD Sections to the Plan
A PRD is read by the planning agent. Every section has a downstream consumer:
PRD section
Feeds
Consumer
Executive Summary
Plan objective
Plan display, PR title, board card
Goals + Functional Requirements
Plan steps
Planner decomposition
Acceptance Criteria
Acceptance criteria (EARS)
Verification phase
Out of Scope
Plan out-of-scope list
Review phase (rejects scope creep)
Complexity field
Estimated complexity
Review rubric, retry budget
Verification Plan
Verification prompt input
Verification phase
Non-Goals + Out of Scope
Review gate
Reviewer rejects patches that violate these
Do not write sections that describe files to change, function names, or implementation choices. Those belong in the plan, not the PRD. If you can't resist writing pseudo-code, put it under "Risks & Open Questions" as "I suspect we'll need to touch X" — not as a requirement.
Quality Gates
Before marking a PRD ready for a planner to consume, every one of these must be true:
No placeholder text (TODO, TBD, <fill this in>) remains in any section.
Goals has at least one measurable bullet.
Acceptance Criteria has at least one bullet, every bullet is written in EARS syntax (WHEN/WHILE/WHERE/IF … THE SYSTEM SHALL …, or a bare THE SYSTEM SHALL …), and each is verifiable without judgement — it either passes or fails. "Feels fast" is not verifiable. "WHEN the issues query runs THE SYSTEM SHALL return p95 latency < 300ms" is.
Out of Scope has at least one bullet. Empty Out of Scope is a tell that the author didn't scope the feature.
User Stories has at least one story with explicit Acceptance bullets.
Every external dependency in Dependencies is named (package, PRD path, or URL), not described vaguely.
Verification Plan names either test file paths, suite names, or concrete manual steps — not "write some tests".
If any gate fails, keep it in draft/on-hold workflow state and do not mark it ready to plan.
Workflow
When the user says "write a PRD for X"
Confirm where the PRD will live. If using a tracker, confirm the target repo/project. If nothing is connected, agree on the single canonical location first — there must be exactly one.
Do not start writing immediately. Run a short elicitation pass first — you need answers before section-filling is meaningful:
What problem does this solve, and for whom specifically?
What does success look like — how would we measure it?
What is explicitly out of scope?
What's the complexity gut feel (low/medium/high) and why?
Any hard constraints — deadlines, other projects in flight, package boundaries?
Check for an existing issue. Search the project's tracker by keywords and state. If a matching issue already exists, ask whether to edit it or create a fresh one.
Kebab-case the PRD name. If the proposed name has spaces, camelCase, or punctuation, kebab-case it: "Notification Center" → notification-center. This slug goes in the # PRD: heading.
Compress the issue title before writing the body. Default to a short imperative title, then derive the # PRD: heading from that final title. Put nuance in the Executive Summary, not the title.
Draft the PRD body using the template above, in a scratch buffer. Fill every required section. If you can't fill a section, ask the user — don't hallucinate requirements.
Run the quality gates against the draft. If any fail, keep the issue in draft/on-hold workflow state and tell the user which gates failed. If they all pass, mark it ready through native project state.
Create the issue (with user approval). Show the drafted body first. On approval, create it through the tracker's native issue creation flow, using the PRD markdown as the issue body.
Confirm the outcome to the user with the issue URL. Suggest the next step: "Ready to hand this to the planner? Say: plan issue #N".
When the user says "plan the X PRD"
Fetch the current issue body from the tracker. Read it fully before producing anything.
Verify the issue is ready through native project state — never plan a draft/on-hold issue.
Translate directly: Executive Summary → objective, Acceptance Criteria → acceptance criteria, Out of Scope → out-of-scope, complexity field → estimated complexity.
The plan phase owns file changes and step breakdown — do not copy those out of the PRD (there shouldn't be any).
The resulting plan is posted back as a ## Implementation Plan comment on the same issue (see writing-plans) — it lives on the issue, not in a local file, so it stays in sync with the PRD and reaches the loop.
When the user says "update the X PRD"
Fetch the current issue body (prefer the tracker's live read to guarantee freshness).
Make the requested edit in a scratch buffer.
Write it back through the tracker's native edit flow. The tracker records the edit history automatically.
If the change invalidates an in-flight plan (new acceptance criterion, new out-of-scope item), flag that explicitly — the user may want to kill the thread and re-plan.
Anti-Patterns
Observed failure modes — do not repeat:
PRD full of implementation details. Writing use TanStack Query v5 for caching in Functional Requirements. The PRD describes the what; the plan owns the how. This leaks into review and causes the reviewer to flag the plan for violating the PRD, which the planner then "fixes" by copying the implementation detail verbatim. Dead loop.
Acceptance Criteria written as vibes. "Users should find the flow intuitive." Unverifiable → verification retries forever. Force it into EARS: WHEN the import completes THE SYSTEM SHALL display a success toast within 200ms.
Empty Out of Scope. Always a sign the author is planning to sneak scope in later. Force the listing.
Authoring a PRD with nowhere to put it. If there's no agreed canonical location, the PRD becomes an orphan document that drifts out of sync. Decide the location first.
Editing a cached copy instead of the source. If your tracker caches issue bodies locally, the cache is downstream of the tracker, not upstream. Always edit via the tracker's API/CLI, never the cache.
Creating an issue without running the quality gates first. Half-formed PRDs thrash the planner and burn verification retries. Running gates after the issue is already public is embarrassing and harder to fix than running them first.
Writing a PRD for something you should just ticket. A typo fix does not need a PRD. A dependency bump does not need a PRD. Reserve PRDs for features and architectural changes that will run through plan / review / verify / ship.
Minimal Example
The text below is the exact issue body to publish. Tracker metadata belongs in native fields, not in this body.
# PRD: copy-issue-url-action
## Executive Summary
Users working in the board frequently need to paste an issue URL into chat,
commit messages, or an external ticketing tool. Today the only way to get the
URL is to click into the issue, then copy from the header — three clicks and
a context switch. Add a "Copy URL" action to the card's context menu so it
takes one click.
## Problem Statement
Observed on 2026-04-09: the user mentioned needing to paste an issue URL
into a chat thread five times in a single session, each requiring a detour
through the issue detail view. This is pure friction — the URL is already known.
## Goals
- Right-clicking a board card shows a context menu with "Copy URL".
- Clicking "Copy URL" writes the issue's URL to the clipboard and
shows a toast confirming the copy.
## Non-Goals
- Copying anything other than the URL (title, body, ID — all separate actions
if demand appears).
- A multi-select "copy all URLs" bulk action.
- Keyboard shortcut for copy — mouse-only for v1.
## User Stories
- As a developer pasting issue links into chat, I want to copy an issue's
URL without leaving the board, so that I don't break my flow.
**Acceptance:**
- WHEN a user right-clicks a board card THE SYSTEM SHALL display a context
menu including a "Copy URL" action.
- WHEN a user clicks "Copy URL" THE SYSTEM SHALL write the issue's URL to the
system clipboard.
- WHEN the copy succeeds THE SYSTEM SHALL display a confirmation toast within 200ms.
## Functional Requirements
1. The card component must support a right-click context menu.
2. The context menu must include an action labeled "Copy URL".
3. The URL written to the clipboard must be the canonical issue URL.
4. The toast notification must use the existing UI toast primitive.
## Non-Functional Requirements
- Clipboard write must succeed or fail cleanly — no silent failures. On
permission denial, surface an error toast.
## Acceptance Criteria
- WHEN a user right-clicks any board card THE SYSTEM SHALL open a context menu
containing a "Copy URL" item.
- WHEN a user clicks "Copy URL" THE SYSTEM SHALL place the exact canonical issue
URL on the clipboard.
- WHEN the clipboard write succeeds THE SYSTEM SHALL display a success toast.
- IF the clipboard API rejects the write THEN THE SYSTEM SHALL display an error toast.
## Out of Scope
- Copying other fields (title, body, branch name).
- Bulk selection + copy.
- Keyboard shortcut bindings.
- A "Share" action that opens the URL in the browser.
## Dependencies
- The existing UI toast primitive in the project's component library.
- The issue number and repo identifier for URL construction.
## Verification Plan
- **tests:** add a test that simulates a right-click and asserts the context
menu includes a "Copy URL" item wired to a mocked clipboard write.
- **manual:** right-click three cards from different projects, paste the
clipboard into a browser tab, verify the URL loads the correct issue.
## Risks & Open Questions
- Which clipboard API does the renderer use today? Check the existing
implementation before writing new clipboard code.
- Do we need focus-management so the context menu doesn't fight with
drag-and-drop handlers on the same card?
Note: no created, updated, status, complexity, or blast radius fields in the body — the tracker and project board track those natively. No file path — the PRD lives in the issue body itself.
1---2name: writing-prds-23description: Drafts, scopes, and formalizes features as PRDs — a planning agent can consume the output in one shot without re-elicitation. Triggers on "write a PRD for X", "let's plan X", "scope this out", "what should X do", or when a tracker issue needs to be fleshed out before planning. Do NOT use for code edits, debugging, or PR reviews.4---56# Writing PRDs78A PRD is the input contract for the planning phase. A good PRD lets a planning9agent produce a usable plan in one shot instead of burning turns asking "what did10you mean by X?". A bad PRD causes planner thrash, review rejection, and11verification failures downstream.1213This skill is platform-agnostic. It assumes a plan → review → verify → ship flow14where a PRD is written first, a planner decomposes it into steps, and a verifier15checks the result against the PRD's acceptance criteria. Adapt the storage and16field mechanics below to whatever tracker you use.1718## Storage Location1920**Prefer making the tracker issue body the PRD.** One document per work item, one21location: the body of an issue in the project's tracker. Avoid scattering PRDs22across local sidecar files that drift out of sync the moment work starts.2324- **Create** a PRD by creating an issue whose body is clean PRD markdown.25- **Edit** a PRD by editing that issue's body.26- **Version history** is the tracker's edit history — no manual `updated` field.27- **The planner reads the issue body verbatim.** What you write in the body is28 exactly what the planning agent sees, so it must stand alone.2930If there is no connected tracker, decide on the single canonical location for the31PRD before writing — do not draft into a throwaway scratch file that nobody will32find again.3334## Native Tracker Metadata3536Do not put YAML frontmatter at the top of issue bodies. Trackers render37issue-body frontmatter as visible noise and already have native fields for this38metadata.3940Use native tracker / project-board fields instead:4142- **Issue type:** `Feature`, `Bug`, or `Task`.43- **Status:** `Backlog`, `In Progress`, `Human Review`, `Done`, or `Deferred`.44- **Priority:** `P0`, `P1`, `P2`, or `P3`.45- **Complexity:** `Low`, `Medium`, or `High`.46- **Blast radius:** `Contained`, `Cross-package`, `Cross-app`, or `Infra`.4748Rules:4950- The PRD body starts with `# PRD: <name>` and contains only human-readable PRD content.51- Put card/list summaries in the issue title, project fields, or a short Executive Summary, not in hidden metadata.52- If you cannot estimate complexity, set the field to `Medium` and explain why in Risks & Open Questions.53- `Draft` is workflow state, not body text. Keep draft PRDs off the runnable board path through status fields, not by editing the body.5455## Issue Title Style5657The issue title is what the board shows most of the time. Keep it short.5859- Prefer **4-7 words** when possible.60- Prefer an **imperative verb + object** shape: `Add pipeline checkpoints`, `Track CI blockers on issues`, `Expose model selectors in settings`.61- Put the detail in the Executive Summary and body, not in the title.62- Avoid titles chained together with `and` / `while` / `during` unless the feature is truly one inseparable unit.63- Avoid titles that restate the full implementation loop. The title names the work item; the PRD explains it.64- Keep the `# PRD:` name aligned with the final issue title's slugified form. If you shorten the title, shorten the PRD heading too.6566Bad:6768- `Open draft PR during execution and ingest PR feedback into stabilization loop`69- `Treat CI failures as blocker state on issue tasks`7071Better:7273- `Add draft PR feedback loop`74- `Track CI blockers on issues`7576## Required Sections7778Every PRD must have these sections, in this order. Missing sections fail quality gate.7980```markdown81# PRD: <name>8283## Executive Summary84<2–4 sentences. What is this feature, why now, who wins.>8586## Problem Statement87<The concrete pain. Reference real incidents, real users, real metrics where possible.88Avoid "users might want..." — if you can't name the user, you don't have a problem yet.>8990## Goals91- <measurable, verifiable goal>92- <measurable, verifiable goal>9394## Non-Goals95- <thing this explicitly does NOT do — the more you list, the less scope creep downstream>9697## User Stories98- As a <role>, I want <capability> so that <outcome>.99- Each story ends with "**Acceptance:**" followed by 1–3 EARS criteria100 (`WHEN <trigger> THE SYSTEM SHALL <response>`) — same syntax as Acceptance Criteria below.101102## Functional Requirements103<Numbered list. Each item must be verifiable by reading code or running it.104NO implementation details — "the system must do X", not "use Zustand to do X".>105106## Non-Functional Requirements107<Performance, accessibility, error-handling, offline, observability.108Only list the ones that actually matter for this feature.>109110## Acceptance Criteria111<The bar the verification phase will check against. Write every bullet in EARS112syntax (Easy Approach to Requirements Syntax) so it parses unambiguously and is113pass/fail without judgement. Each bullet becomes an assertion the verifier checks:114- Event: WHEN <trigger> THE SYSTEM SHALL <response>.115- State: WHILE <state> THE SYSTEM SHALL <response>.116- Unwanted: IF <condition> THEN THE SYSTEM SHALL <response>.117- Optional: WHERE <feature enabled> THE SYSTEM SHALL <response>.118- Always: THE SYSTEM SHALL <invariant>.>119120## Out of Scope121<Be ruthless. Future-proofs the review phase against scope creep.>122123## Dependencies124<Other PRDs, packages, external APIs, feature flags. Reference by path or URL.>125126## Verification Plan127<How the verifier will know this shipped correctly.128`tests`: list the test files/suites that must exist and pass.129`manual`: list the manual QA steps a human will run post-merge.130`both`: both sections. The clearer this section, the fewer verification retries you burn.>131132## Risks & Open Questions133<Unknowns, edge cases, things that could kill the plan mid-execution.134Open questions get tracked here until answered, then deleted.>135```136137## Mapping PRD Sections to the Plan138139A PRD is read by the planning agent. Every section has a downstream consumer:140141| PRD section | Feeds | Consumer |142|---|---|---|143| Executive Summary | Plan objective | Plan display, PR title, board card |144| Goals + Functional Requirements | Plan steps | Planner decomposition |145| Acceptance Criteria | Acceptance criteria (EARS) | Verification phase |146| Out of Scope | Plan out-of-scope list | Review phase (rejects scope creep) |147| Complexity field | Estimated complexity | Review rubric, retry budget |148| Verification Plan | Verification prompt input | Verification phase |149| Non-Goals + Out of Scope | Review gate | Reviewer rejects patches that violate these |150151**Do not write sections that describe files to change, function names, or implementation choices.** Those belong in the plan, not the PRD. If you can't resist writing pseudo-code, put it under "Risks & Open Questions" as "I suspect we'll need to touch X" — not as a requirement.152153## Quality Gates154155Before marking a PRD ready for a planner to consume, every one of these must be true:156157- [ ] No placeholder text (`TODO`, `TBD`, `<fill this in>`) remains in any section.158- [ ] `Goals` has at least one measurable bullet.159- [ ] `Acceptance Criteria` has at least one bullet, every bullet is written in **EARS** syntax (`WHEN`/`WHILE`/`WHERE`/`IF … THE SYSTEM SHALL …`, or a bare `THE SYSTEM SHALL …`), and each is **verifiable without judgement** — it either passes or fails. "Feels fast" is not verifiable. "WHEN the issues query runs THE SYSTEM SHALL return p95 latency < 300ms" is.160- [ ] `Out of Scope` has at least one bullet. Empty `Out of Scope` is a tell that the author didn't scope the feature.161- [ ] `User Stories` has at least one story with explicit Acceptance bullets.162- [ ] Every external dependency in `Dependencies` is named (package, PRD path, or URL), not described vaguely.163- [ ] `Verification Plan` names either test file paths, suite names, or concrete manual steps — not "write some tests".164165If any gate fails, keep it in draft/on-hold workflow state and do not mark it ready to plan.166167## Workflow168169### When the user says "write a PRD for X"1701711. **Confirm where the PRD will live.** If using a tracker, confirm the target repo/project. If nothing is connected, agree on the single canonical location first — there must be exactly one.1721732. **Do not start writing immediately.** Run a short elicitation pass first — you need answers before section-filling is meaningful:174 - What problem does this solve, and for whom specifically?175 - What does success look like — how would we measure it?176 - What is explicitly out of scope?177 - What's the complexity gut feel (low/medium/high) and why?178 - Any hard constraints — deadlines, other projects in flight, package boundaries?1791803. **Check for an existing issue.** Search the project's tracker by keywords and state. If a matching issue already exists, ask whether to edit it or create a fresh one.1811824. **Kebab-case the PRD name.** If the proposed name has spaces, camelCase, or punctuation, kebab-case it: `"Notification Center"` → `notification-center`. This slug goes in the `# PRD:` heading.1831845. **Compress the issue title before writing the body.** Default to a short imperative title, then derive the `# PRD:` heading from that final title. Put nuance in the Executive Summary, not the title.1851866. **Draft the PRD body** using the template above, in a scratch buffer. Fill every required section. If you can't fill a section, ask the user — don't hallucinate requirements.1871887. **Run the quality gates** against the draft. If any fail, keep the issue in draft/on-hold workflow state and tell the user which gates failed. If they all pass, mark it ready through native project state.1891908. **Create the issue (with user approval).** Show the drafted body first. On approval, create it through the tracker's native issue creation flow, using the PRD markdown as the issue body.1911929. **Confirm the outcome** to the user with the issue URL. Suggest the next step: "Ready to hand this to the planner? Say: plan issue #N".193194### When the user says "plan the X PRD"1951961. Fetch the current issue body from the tracker. Read it fully before producing anything.1972. Verify the issue is ready through native project state — never plan a draft/on-hold issue.1983. Translate directly: Executive Summary → objective, Acceptance Criteria → acceptance criteria, Out of Scope → out-of-scope, complexity field → estimated complexity.1994. The plan phase owns file changes and step breakdown — do not copy those out of the PRD (there shouldn't be any).2005. The resulting plan is posted back as a `## Implementation Plan` comment on the same issue (see `writing-plans`) — it lives on the issue, not in a local file, so it stays in sync with the PRD and reaches the loop.201202### When the user says "update the X PRD"2032041. Fetch the current issue body (prefer the tracker's live read to guarantee freshness).2052. Make the requested edit in a scratch buffer.2063. Write it back through the tracker's native edit flow. The tracker records the edit history automatically.2074. If the change invalidates an in-flight plan (new acceptance criterion, new out-of-scope item), flag that explicitly — the user may want to kill the thread and re-plan.208209## Anti-Patterns210211Observed failure modes — do not repeat:212213- **PRD full of implementation details.** Writing `use TanStack Query v5 for caching` in Functional Requirements. The PRD describes the *what*; the plan owns the *how*. This leaks into review and causes the reviewer to flag the plan for violating the PRD, which the planner then "fixes" by copying the implementation detail verbatim. Dead loop.214- **Acceptance Criteria written as vibes.** "Users should find the flow intuitive." Unverifiable → verification retries forever. Force it into EARS: `WHEN the import completes THE SYSTEM SHALL display a success toast within 200ms`.215- **Empty Out of Scope.** Always a sign the author is planning to sneak scope in later. Force the listing.216- **Authoring a PRD with nowhere to put it.** If there's no agreed canonical location, the PRD becomes an orphan document that drifts out of sync. Decide the location first.217- **Editing a cached copy instead of the source.** If your tracker caches issue bodies locally, the cache is downstream of the tracker, not upstream. Always edit via the tracker's API/CLI, never the cache.218- **Creating an issue without running the quality gates first.** Half-formed PRDs thrash the planner and burn verification retries. Running gates after the issue is already public is embarrassing and harder to fix than running them first.219- **Writing a PRD for something you should just ticket.** A typo fix does not need a PRD. A dependency bump does not need a PRD. Reserve PRDs for features and architectural changes that will run through plan / review / verify / ship.220221## Minimal Example222223The text below is the exact issue body to publish. Tracker metadata belongs in native fields, not in this body.224225```markdown226# PRD: copy-issue-url-action227228## Executive Summary229Users working in the board frequently need to paste an issue URL into chat,230commit messages, or an external ticketing tool. Today the only way to get the231URL is to click into the issue, then copy from the header — three clicks and232a context switch. Add a "Copy URL" action to the card's context menu so it233takes one click.234235## Problem Statement236Observed on 2026-04-09: the user mentioned needing to paste an issue URL237into a chat thread five times in a single session, each requiring a detour238through the issue detail view. This is pure friction — the URL is already known.239240## Goals241- Right-clicking a board card shows a context menu with "Copy URL".242- Clicking "Copy URL" writes the issue's URL to the clipboard and243 shows a toast confirming the copy.244245## Non-Goals246- Copying anything other than the URL (title, body, ID — all separate actions247 if demand appears).248- A multi-select "copy all URLs" bulk action.249- Keyboard shortcut for copy — mouse-only for v1.250251## User Stories252- As a developer pasting issue links into chat, I want to copy an issue's253 URL without leaving the board, so that I don't break my flow.254 **Acceptance:**255 - WHEN a user right-clicks a board card THE SYSTEM SHALL display a context256 menu including a "Copy URL" action.257 - WHEN a user clicks "Copy URL" THE SYSTEM SHALL write the issue's URL to the258 system clipboard.259 - WHEN the copy succeeds THE SYSTEM SHALL display a confirmation toast within 200ms.260261## Functional Requirements2621. The card component must support a right-click context menu.2632. The context menu must include an action labeled "Copy URL".2643. The URL written to the clipboard must be the canonical issue URL.2654. The toast notification must use the existing UI toast primitive.266267## Non-Functional Requirements268- Clipboard write must succeed or fail cleanly — no silent failures. On269 permission denial, surface an error toast.270271## Acceptance Criteria272- WHEN a user right-clicks any board card THE SYSTEM SHALL open a context menu273 containing a "Copy URL" item.274- WHEN a user clicks "Copy URL" THE SYSTEM SHALL place the exact canonical issue275 URL on the clipboard.276- WHEN the clipboard write succeeds THE SYSTEM SHALL display a success toast.277- IF the clipboard API rejects the write THEN THE SYSTEM SHALL display an error toast.278279## Out of Scope280- Copying other fields (title, body, branch name).281- Bulk selection + copy.282- Keyboard shortcut bindings.283- A "Share" action that opens the URL in the browser.284285## Dependencies286- The existing UI toast primitive in the project's component library.287- The issue number and repo identifier for URL construction.288289## Verification Plan290- **tests:** add a test that simulates a right-click and asserts the context291 menu includes a "Copy URL" item wired to a mocked clipboard write.292- **manual:** right-click three cards from different projects, paste the293 clipboard into a browser tab, verify the URL loads the correct issue.294295## Risks & Open Questions296- Which clipboard API does the renderer use today? Check the existing297 implementation before writing new clipboard code.298- Do we need focus-management so the context menu doesn't fight with299 drag-and-drop handlers on the same card?300```301302Note: no `created`, `updated`, `status`, `complexity`, or `blast radius` fields in the body — the tracker and project board track those natively. No file path — the PRD lives in the issue body itself.
Run npx skillmds@latest add shipshitdev/writing-prds-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Drafts, scopes, and formalizes features as PRDs — a planning agent can consume the output in one shot without re-elicitation. Triggers on "write a PRD for X", "let's plan X", "scope this out", "what should X do", or when a tracker issue needs to be fleshed out before planning. Do NOT use for code edits, debugging, or PR reviews. It is listed under Product & Planning on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
shipshitdev (@shipshitdev) published this skill. Their other Agent Skills are listed on their SkillMD profile.