GUIDE

Claude Code for PRD Writing: Stop Starting from Scratch

Build a Claude Code skill that generates PRDs from a short brief. It pulls user feedback, competitive context, and codebase constraints to draft the 80% you already know.

A blank PRD template is the worst way to start writing a product spec. You stare at the sections. You copy the headings from the last PRD. You write "TBD" in six different places. Then you spend three days filling in context you already have in your head but can't seem to get onto the page.

I've trained over 100 people on Claude Code, and PMs consistently tell me PRD writing is the task where they see the fastest ROI. Why? Because PRDs are structured documents that follow predictable patterns, pull from existing context (user feedback, competitive landscape, technical constraints), and need iteration. Claude Code handles all of that.

The move: build a Claude Code skill that generates PRDs from a short brief. The skill knows your company's PRD format, pulls in relevant context, and drafts the 80% you already know. You focus on the 20% that requires actual product judgment.

What a Good PRD Contains

Before we build the skill, let's align on what a solid PRD looks like. Every team's template is slightly different, but the bones are the same:

  • Problem statement: what user pain we're solving, backed by evidence
  • User stories: who benefits and what they can do
  • Success metrics: how we know this worked
  • Requirements: functional and non-functional, prioritized
  • Competitive context: how competitors handle this problem
  • Technical constraints: what the codebase or infrastructure limits
  • Scope and non-goals: what we're building and what we're explicitly not
  • Open questions: decisions still pending
  • Timeline: rough phases and milestones

Most of these sections can be drafted from existing context. Your user feedback already lives in support tickets and research docs. Your competitive landscape is in battle cards. Your technical constraints are in the codebase itself. The skill wires Claude into all of this.

The PRD Writing Skill File

Here's the complete skill file. Drop this into .claude/skills/prd-writer.md in your project:

# PRD Writing Skill

## When to Use
Invoke this skill when asked to write a PRD, product spec, feature brief,
or requirements document.

## Context Sources
Before writing, check for and read these files if they exist:
- CLAUDE.md (project and product context)
- docs/user-feedback/ (research findings, interview summaries)
- docs/competitive/ (battle cards, competitor analysis)
- The relevant source code directories for technical constraints

## PRD Template

### 1. Overview
- Feature name
- One-sentence description
- Target release (quarter or sprint)
- Author and stakeholders

### 2. Problem Statement
- What user pain are we solving?
- Evidence: user quotes, support ticket volume, usage data
- What happens if we don't solve this?

### 3. User Stories
Format: "As a [persona], I want to [action] so that [outcome]."
Include 3-5 primary user stories, prioritized.

### 4. Success Metrics
- Primary metric (the one number we're moving)
- Secondary metrics (2-3 supporting indicators)
- How we'll measure (analytics events, surveys, etc.)

### 5. Requirements
#### Must Have (P0)
- Numbered list of hard requirements
#### Should Have (P1)
- Features for v1 if time allows
#### Nice to Have (P2)
- Future iteration candidates

### 6. Competitive Context
- How do competitors handle this problem?
- What can we learn from their approach?
- Where can we differentiate?

### 7. Technical Considerations
- Relevant codebase context (scan source files if available)
- API dependencies or data model changes
- Performance or scalability concerns
- Migration or backward compatibility needs

### 8. Scope and Non-Goals
- Explicit boundaries: what this feature DOES NOT include
- Features intentionally deferred to future iterations

### 9. Open Questions
- Decisions that need stakeholder input
- Unknowns that need research or spikes

### 10. Timeline
- Phase 1: [scope] — [estimated duration]
- Phase 2: [scope] — [estimated duration]
- Key milestones and dependencies

## Writing Style
- Write for engineers who need to build this and stakeholders who
  need to approve it
- Be specific: "Users can filter by date range" not "filtering capability"
- Use concrete examples for each requirement
- Flag assumptions explicitly
- Keep sections scannable: bullets over paragraphs

That skill file is about 60 lines of markdown. It took me 15 minutes to write. It saves hours on every PRD because Claude now knows exactly what structure to follow, where to pull context from, and how to write.

How to Use the Skill

Once the skill file is in your project, you don't need to reference it directly. Claude discovers it automatically when you ask for a PRD. Here's an example prompt:

Write a PRD for adding a team collaboration feature to our project
management tool.

Brief: Users currently work in silos. They can't share boards,
assign tasks to teammates, or see what others are working on.
We're losing deals to competitors who have real-time collaboration.
Target: Q2 2026. Primary persona: team leads managing 5-10 people.

Check our user feedback docs for relevant quotes.
Scan the source code for the current data model around users
and permissions.

Claude reads the skill, scans your feedback docs, looks at the codebase, and generates a full PRD. First draft lands in about 90 seconds.

What the Output PRD Looks Like

Here's a condensed example of what Claude produces:

# PRD: Team Collaboration

## Overview
- Feature: Team Collaboration (shared boards, task assignment, activity feeds)
- One-liner: Let teams work together in real time instead of in silos.
- Target: Q2 2026
- Author: Priya Sharma | Stakeholders: Engineering Lead, VP Product, Head of Sales

## Problem Statement
Users can't collaborate within the product. 73% of churned accounts in Q4
cited "lack of team features" in exit surveys. Support receives 40+ tickets
per month asking about shared boards.

> "I love the product for personal use, but I can't get my team on it
> because there's no way to share anything." — Interview participant #12

If we don't solve this, we'll continue losing mid-market deals to Asana
and Monday.com, which both have mature collaboration features.

## User Stories
1. As a team lead, I want to share a board with my team so that everyone
   sees the same priorities.
2. As a team member, I want to be assigned tasks so that I know what
   I'm responsible for.
3. As a team lead, I want an activity feed so that I can see what my
   team accomplished today without asking each person.

## Success Metrics
- Primary: Team plan conversion rate (target: 15% of solo users
  upgrade within 60 days)
- Secondary: DAU per team account, tasks assigned per week,
  board share rate

## Requirements
### Must Have (P0)
1. Shared boards with role-based access (owner, editor, viewer)
2. Task assignment with @mention notifications
3. Team activity feed showing recent actions across shared boards
4. Invite flow via email with pending state

### Should Have (P1)
5. Real-time cursor presence (see who's viewing the same board)
6. Comment threads on tasks
7. Team dashboard showing aggregate progress

### Nice to Have (P2)
8. Guest access for external collaborators
9. Board templates shared across team

## Technical Considerations
Current data model: users table has no team/org concept. Will need:
- New "teams" table with team_id, name, created_at
- Join table "team_members" with role enum (owner, editor, viewer)
- boards table needs team_id foreign key (nullable for personal boards)
- WebSocket infrastructure for real-time features (P1)

...

That's a PRD your engineering team can actually build from. It pulled the churn data from your feedback docs, the competitive framing from your context, and the technical considerations from scanning the actual codebase. You didn't type any of that; Claude assembled it.

How to Iterate on the Draft

The first draft is your starting point. Here's where the real work begins, and where Claude Code's conversational workflow crushes any template or doc-based approach:

  • "The problem statement needs more data. Pull in the churn analysis from docs/analytics/q4-churn-report.md."
  • "Move real-time presence from P1 to P0. Our sales team says it's a dealbreaker for enterprise prospects."
  • "Add an open question about whether we need a separate permissions model or can extend the existing user roles."
  • "The technical section is too vague. Scan the database schema in src/db/schema.ts and list specific migrations we'd need."
  • "Write the user stories from the perspective of an individual contributor, not just team leads."

Each refinement takes 30-60 seconds. You're shaping the PRD through conversation, not staring at a blank template trying to summon the right words.

Customizing the Skill for Your Company

The template above is a solid default. Your company probably has its own format. Customizing the skill takes 10 minutes:

  • Different sections? Add or remove sections in the template. Some teams want "Risks and Mitigations." Others want "Legal/Compliance Considerations." Just bolt them onto the skill.
  • Different naming? If your team calls them "specs" or "feature briefs" instead of PRDs, update the "When to Use" section so Claude triggers the skill on the right keywords.
  • Different context sources? If your user feedback lives in a Notion export or a specific Slack channel dump, update the "Context Sources" section to point Claude at the right directories.
  • Different audience? If your PRDs are for contractors who need more implementation detail (not just what but how), add a section for "Implementation Guidance" with notes on preferred patterns and libraries.

The skill is a living document. After every PRD you write with Claude, ask yourself: "What did I have to correct?" Then add that correction to the skill so you never repeat it. This is the same principle covered in the skills guide.

Advanced: Pulling Codebase Context Into PRDs

One thing that separates Claude Code from every other AI writing tool: it can read your codebase. This is enormous for PRDs that have technical components.

When you tell Claude to "scan the source code for the current data model," it actually reads your schema files, your API routes, your type definitions. The "Technical Considerations" section isn't guesswork. It's grounded in what your code actually looks like today.

This means your engineers get a PRD that already accounts for their constraints. No more "the PM clearly didn't look at the codebase before writing this." Claude looked at it for you.

What PMs Get Wrong

The biggest mistake: writing prompts that are too vague. "Write a PRD for collaboration features" gives you something generic. "Write a PRD for adding team collaboration to our project management tool, targeting team leads managing 5-10 people, with Q2 launch timeline" gives you something specific and useful.

The second mistake: treating the first draft as final. Claude's first output is a rough draft, maybe 70-80% there. The value is in the iteration. Plan to spend 10-15 minutes refining the draft through follow-up prompts. That's still a fraction of the time you'd spend writing from scratch.

The third mistake: not investing in the skill file. Without a skill, Claude guesses at your PRD format. With a skill, it nails the structure every time. Fifteen minutes of setup pays for itself on the first PRD. Read the best practices guide for more on why upfront context matters.

Get Started Today

Copy the skill file above into .claude/skills/prd-writer.md. Customize it for your team's format. Then open Claude Code and ask it to write a PRD for whatever feature is next on your roadmap. You'll have a solid first draft in under 2 minutes.

New to Claude Code? Start with the step-by-step tutorial to get set up in 10 minutes.

Want to go deeper? ClaudeFluent is our premium training program where I teach PMs, marketers, and operators how to use Claude Code for real workflows: PRD writing, research synthesis, prototyping, and dozens of other use cases. Join us for the next cohort.

Related Guides

WANT MORE LIKE THIS?

Learn to build with Claude Code

6 hours of hands-on training. Build real projects. Ship without waiting on engineering.

View Class Details