skills/mp-to-prd/SKILL.md
Create a PRD as a GitHub issue from passed requirements. Use when: "create PRD", "write PRD", "requirements to PRD", "to PRD"
npx skillsauth add MartinoPolo/mpx-claude-code mp-to-prdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a Product Requirements Document as a GitHub issue from passed requirements. $ARGUMENTS
Read .mpx/CONTEXT.md and .mpx/DECISIONS.md (if it exists). If CONTEXT.md is missing, report error and stop.
Understand current project state:
package.json for project name, dependencies, scriptsSketch out the major modules needed for this feature:
Ask: "Here is the proposed module breakdown. Does this match your expectations? Which modules need tests?"
Incorporate feedback before proceeding to the draft.
Build the PRD with these sections:
What this is and why it matters. Tie back to CONTEXT.md.
For each requirement, write:
As a [user], I want [action], so that [benefit]
Measurable, testable criteria for each user story. Use checkbox format:
Show the full PRD draft to the user:
Ask: "Here is the PRD draft. Approve, or describe edits?"
Incorporate any requested edits. Re-show if changes are substantial.
Ensure the prd label exists:
gh label create prd --description "Product Requirements Document" --color 0052CC --force
gh issue create --title "[title from requirements]" --label "prd" --body "$(cat <<'EOF'
[PRD body from Step 4]
EOF
)"
GitHub assigns the issue number automatically. This number becomes the PRD identifier (e.g., PRD #42).
If $ARGUMENTS contains a milestone name:
gh issue edit <number> --milestone "<milestone name>"
Skip if no milestone provided.
Display:
gh CLI for all GitHub operationsdevelopment
Audit all active skills for consistency, convention drift, and common issues. Auto-fixes where possible, reports remaining issues. Use when: "audit skills", "skill audit", "check skills", "lint skills"
testing
Ship finished work: sync base, commit, push, PR, wait for CI green, merge. Use when: "ship it", "ship and merge", "ship this"
development
Scan recent Claude Code sessions for grilling/design discussions, extract decisions, and update CONTEXT.md + DECISIONS.md. Use when: "harvest decisions", "extract decisions from sessions", "update docs from sessions", "sync decisions"
tools
Consolidate CONTEXT.md: remove duplicates, outdated items, tighten language. Use when: "consolidate context", "clean up context", "simplify context", "consolidate requirements"