Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mattpocock avatar

Write A Prd

  • 21 installs
  • 17 repo stars
  • Updated February 11, 2026
  • mattpocock/ralph-workshop-repo-001

write-a-prd is an agent skill that interviews you, explores the repo, and files a scoped PRD as a GitHub issue.

About

write-a-prd is an agent skill for solo builders who need a disciplined product brief before implementation. It walks you from a long-form problem description through repository exploration, alternative options, and a detailed implementation interview, then negotiates exact scope—including what you will not build—and sketches major modules with an emphasis on deep, testable boundaries. When you and the agent align on modules and which areas deserve tests, the skill emits a PRD from its template as a GitHub issue so the spec lives where your team already tracks work. Use it when a feature feels underspecified or when you want repo-grounded assertions instead of hand-wavy plans. It pairs naturally with spec-driven build skills that consume written requirements after scope is approved.

  • Seven-step interview flow from problem narrative through repo verification to module sketching
  • Deep-module guidance: simple testable interfaces that encapsulate churning internals
  • Explicit in-scope / out-of-scope negotiation before writing the doc
  • PRD output follows a structured template submitted as a GitHub issue
  • Optional step skipping when repo context already answers open questions

Write A Prd by the numbers

  • 21 all-time installs (skills.sh)
  • Ranked #2,012 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 25, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mattpocock/ralph-workshop-repo-001 --skill write-a-prd

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs21
repo stars17
Security audit3 / 3 scanners passed
Last updatedFebruary 11, 2026
Repositorymattpocock/ralph-workshop-repo-001

What it does

Turn a fuzzy feature idea into a scoped PRD filed as a GitHub issue before your agent starts coding.

Who is it for?

Best when you're shipping features in an existing repo and want PRDs tied to real code layout and explicit non-goals.

Skip if: One-line tweaks or chores where a GitHub issue would be overhead and scope is already frozen in an approved SPEC.

When should I use this skill?

Use this skill when writing a PRD for a feature.

What you get

You get a GitHub-issue PRD with problem, scope, modules, and test intent so implementation skills can start from an approved artifact.

  • GitHub issue PRD from the embedded template
  • Agreed in-scope and out-of-scope implementation list
  • Major module sketch with optional test targets

By the numbers

  • 7-step PRD workflow from problem interview through module sketch

Files

SKILL.mdMarkdownGitHub ↗

This skill will be invoked when the user wants to create a PRD. You should go through the steps below. You may skip steps if you don't consider them necessary.

1. Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions.

2. Explore the repo to verify their assertions and understand the current state of the codebase.

3. Ask whether they have considered other options, and present other options to them.

4. Interview the user about the implementation. Be extremely detailed and thorough.

5. Hammer out the exact scope of the implementation. Work out what you plan to build and what you DON'T plan to build as part of this PRD.

6. Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.

A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.

Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.

7. Once you have a complete understanding of the problem and solution, use the template below to write the PRD. The PRD should be submitted as a GitHub issue.

<prd-template>

Problem Statement

The problem that the user is facing, from the user's perspective.

Solution

The solution to the problem, from the user's perspective.

User Stories

A LONG, numbered list of user stories. Each user story should be in the format of:

1. As an <actor>, I want a <feature>, so that <benefit>

<user-story-example> 1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending </user-story-example>

This list of user stories should be extremely extensive and cover all aspects of the feature.

'Polishing' Requirements

Once the user stories are complete, we will end up with a working, but not refined, feature or application. After the work is complete, we should enter a polishing phase.

This should be a list of checks that we want to make at the end of the work to polish and refine the work done for maximum user enjoyment and experience.

They should not meaningfully extend the work but instead ensure harmony of all created elements and ensure any errors are properly handled and make things delightful and beautiful.

Implementation Decisions

A list of implementation decisions that were made. This can include:

  • The modules that will be built/modified
  • The interfaces of those modules that will be modified
  • Technical clarifications from the developer
  • Architectural decisions
  • Schema changes
  • API contracts
  • Specific interactions

Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.

Testing Decisions

A list of testing decisions that were made. Include:

  • A description of what makes a good test (only test external behavior, not implementation details)
  • Which modules will be tested
  • Prior art for the tests (i.e. similar types of tests in the codebase)

Out of Scope

A description of the things that are out of scope for this PRD.

Further Notes

Any further notes about the feature.

</prd-template>

Related skills

How it compares

Use instead of dumping requirements into chat without repo exploration or a published scope document.

FAQ

Who is write-a-prd for?

Developers using Claude Code or similar agents who want GitHub-native PRDs before coding a feature.

When should I use write-a-prd?

During Validate when scoping a feature, during Build when splitting a large initiative into issues, or anytime you need a deep-module map grounded in the current codebase.

Is write-a-prd safe to install?

It guides interviews and issue creation; review the Security Audits panel on this page before granting repo write or GitHub API access to your agent.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.