prd-to-sdd-spec
Skill2 starsChanged 14 days agoMITView on GitHub
Fetches an external PRD from Confluence or from a Jira ticket that links to a PRD wiki, and transforms it into a structured local source file that the RD can reference when running SDD tools like spec-kit specify or openspec. Use when a PO hands off a PRD and you need a local source file before running spec-kit specify or openspec.
- Reads credentials
In this repository18 other files it gives its agents.
- ado-open-prSkill
- ado-pr-code-reviewSkill
- ado-pr-resolve-commentsSkill
- ado-pr-teams-notifySkill
- agent-playtestSkill
- explain-diff-htmlSkill
- generate-pr-notesSkill
- git-commit-conventional-strictSkill
- install-atlassian-mcpSkill
- install-azure-devops-mcpSkill
- install-playwright-mcpSkill
- install-sentry-mcpSkill
- sdd-qa-to-ticketSkill
- setup-project-configSkill
- spec-recalibrateSkill
- sync-api-specSkill
- tech-plan-to-ticketSkill
- tech-plan-to-wikiSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 63
Before using this skill, ensure:
- Very specific: line 78
If Confluence input: If a search hint is provided, use mcp__atlassian__confluence_search to find matching pages and let the user select.
- Very specific: line 79
If Jira input: Use mcp__atlassian__jira_get_issue to fetch the ticket details.
- Distinctive: line 121
If a PRD section has no clear match, place it under the closest category or add it as a new section at the bottom
- Very specific: line 122
If a target section has no corresponding PRD content, write [TBD — not specified in PRD]
- Distinctive: line 123
Do not generate or infer requirements that are not in the PRD
- Distinctive: line 127
Ask the user where to save the file:
- Very specific: line 129
Treat n, default, or blank-like responses as "use default"
- Very specific: line 133
Write prd-source.md to the confirmed path.
- Distinctive: line 160
Faithful import only: Do not add technical opinions, architecture suggestions, or implementation details.
- Distinctive: line 162
Preserve PO intent: Keep the language and framing from the PRD.
- Very specific: line 163
Re-runs are safe: If the PO updates the Confluence PRD, the RD can re-run this skill to get a fresh prd-source.md.
- Distinctive: line 164
Jira Integration: When starting from a Jira ticket, ensure the ticket has clear links to the PRD wiki.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PRD to SDD Spec
Install this skill
npx skills add jamesyang124/agent-skills --skill prd-to-sdd-spec -gThis skill bridges the PO handoff and the Specify phase of the SDD workflow. When a PO/PM writes a PRD in Confluence, or when a Jira ticket links to a PRD wiki, this skill fetches it and transforms it into a clean local source file that serves as the RD's input when running SDD tools like spec-kit specify or openspec.
Key principle: The Confluence PRD is written by the PO — the RD should not have to copy-paste it manually. This skill pulls it down, restructures it into a spec-kit-friendly format, and saves it locally so the RD can immediately run spec-kit specify with full context.
Workflow Position
[PO / PM]
Writes PRD in Confluence
│
▼
[prd-to-sdd-spec] ← YOU ARE HERE
Fetch PRD from Confluence or Jira
→ Transform to SDD source format
→ Save as local prd-source.md
│
▼
[RD runs SDD tool]
Uses prd-source.md as context
→ AI-assisted discussion with RD
→ spec.md (local source of truth)
│
▼
[SDD plan]
→ plan.md + requirements.md
│
▼
[/tech-plan-to-wiki]
→ Design review page in ConfluenceArguments
One PRD source, optional — asked in Step 1 if omitted.
| Token shape | Interpreted as |
| all digits | Confluence page ID of the PRD |
matches [A-Z]+-\d+ | Jira ticket key that links to the PRD wiki |
| anything else | Confluence search hint (title / keywords) |
Prerequisites
IMPORTANT: This skill requires the Atlassian MCP Server to be installed and configured.
Before using this skill, ensure:
- ✅ Atlassian MCP server is installed (see the
install-atlassian-mcpskill) - ✅ Credentials are configured in
~/.env.mcp-atlassian - ✅ The following MCP tools are available:
mcp__atlassian__confluence_get_pagemcp__atlassian__confluence_searchmcp__atlassian__jira_get_issue(to fetch Jira ticket details and links)
Process
Step 1: Locate the PRD Source
- The user provides either:
- A Confluence page ID or search hint (title/keywords) for the PRD.
- A Jira ticket key (e.g., "PROJ-123") that links to the PRD wiki.
- If Confluence input: If a search hint is provided, use
mcp__atlassian__confluence_searchto find matching pages and let the user select. Fetch the full PRD content usingmcp__atlassian__confluence_get_page. - If Jira input: Use
mcp__atlassian__jira_get_issueto fetch the ticket details. Look for remote issue links or description links to Confluence PRD pages. If multiple links, let the user select. Then fetch the PRD content from the selected Confluence page.
Step 2: Transform to SDD Source Format
Parse and restructure the PRD content into a clean markdown file organized for the SDD specify phase. The output must be faithful to the PRD — do not add, infer, or editorialize. Gaps in the PRD should appear as explicit [TBD] markers so the RD can address them during the SDD specify phase.
Target structure for prd-source.md:
# [Feature Name] — PRD Source
> Imported from Confluence: "[PRD Page Title]" (ID: XXXXXXXXX)
> Last fetched: [date]
> Author: [PO/PM name from page metadata if available]
## Problem Statement
[From PRD: the problem being solved]
## Goals
[From PRD: success criteria, objectives]
## Non-Goals / Out of Scope
[From PRD: explicit exclusions]
## User Stories / Use Cases
[From PRD: who does what and why]
## Functional Requirements
[From PRD: what the system must do]
## Non-Functional Requirements
[From PRD: performance, security, scale, compliance]
## Constraints
[From PRD: tech stack, timeline, dependencies, compliance]
## Open Questions (from PO)
[TBDs and unresolved items in the original PRD]Transformation rules:
- Map PRD sections to the structure above by content, not by exact heading names (PRDs vary in structure)
- If a PRD section has no clear match, place it under the closest category or add it as a new section at the bottom
- If a target section has no corresponding PRD content, write
[TBD — not specified in PRD] - Do not generate or infer requirements that are not in the PRD
Step 3: Confirm Output Location
Ask the user where to save the file:
- Ask:
"Save path? Type a path or type n to use the default: ./prd-source.md" - Treat
n,default, or blank-like responses as "use default"
Step 4: Write the Local File
Write prd-source.md to the confirmed path.
Step 5: Report and Hand Off
✅ PRD imported and transformed:
Source: "[PRD Page Title]" (Confluence ID: XXXXXXXXX)
Output: ./prd-source.md
Sections mapped:
✅ Problem Statement
✅ Goals
✅ Non-Goals
✅ User Stories
✅ Functional Requirements
⚠️ Non-Functional Requirements — [TBD: not specified in PRD]
✅ Constraints
✅ Open Questions
Next step:
Run your SDD tool (e.g., spec-kit specify or openspec) and reference prd-source.md as your input context.
The AI discussion will help you clarify TBDs and produce spec.md.Tips for the Agent
- Faithful import only: Do not add technical opinions, architecture suggestions, or implementation details. The RD adds those during the SDD specify phase.
- Surface TBDs clearly: Any gap in the PRD should become a visible
[TBD]in the output — these become discussion points in the specify phase. - Preserve PO intent: Keep the language and framing from the PRD. Do not rewrite requirements in technical terms.
- Re-runs are safe: If the PO updates the Confluence PRD, the RD can re-run this skill to get a fresh
prd-source.md. Remind the user to check git diff to see what changed before re-running the SDD tool. - Jira Integration: When starting from a Jira ticket, ensure the ticket has clear links to the PRD wiki. If multiple links exist, present options to the user for selection.
- Jira Integration: When starting from a Jira ticket, ensure the ticket has clear links to the PRD wiki. If multiple links exist, present options to the user for selection.
Workflow Example
Example 1: From Confluence PRD
User: "Import the PRD for the notification refactor from Confluence"
Agent:
- Searches Confluence for "notification refactor PRD".
- Presents 2 matching pages, user selects the correct one.
- Fetches page content.
- Maps PRD sections to
prd-source.mdstructure. Notes that NFRs are not specified → marks as[TBD]. - Confirms output path:
./prd-source.md. - Writes file.
- Reports:
✅ PRD imported and transformed: Source: "Notification System Refactor — PRD" (Confluence ID: 123456789) Output: ./prd-source.md ⚠️ Non-Functional Requirements — [TBD: not specified in PRD] ⚠️ Constraints — [TBD: not specified in PRD] Next step: Run your SDD tool (e.g., spec-kit specify) Reference prd-source.md for context. The 2 TBD sections are good discussion topics for the specify session with the PO.
Example 2: From Jira Ticket Linking to PRD
User: "Import PRD from Jira ticket PROJ-456"
Agent:
- Fetches Jira ticket PROJ-456 using
mcp__atlassian__jira_get_issue. - Finds remote links to Confluence pages. Presents 1 matching PRD page, user confirms.
- Fetches PRD content from Confluence.
- Maps PRD sections to
prd-source.mdstructure. - Confirms output path:
./prd-source.md. - Writes file.
- Reports:
✅ PRD imported and transformed: Source: "User Profile Enhancement — PRD" (Confluence ID: 987654321) Via Jira: PROJ-456 Output: ./prd-source.md All sections mapped successfully. Next step: Run your SDD tool (e.g., openspec) Reference prd-source.md for context.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

