FRI, 17 JUL 2026
Live · Daily AI brief from inside the industry
14:14:36 UTC

CHAPTER 3 OF 7 · 15 min · 3 COPYABLE ASSETS

How to create a PRD with Claude Code from a raw brain dump

Live demo: brain-dump a sprint into Claude Code, answer AskUserQuestion prompts, then run /create-prd to generate a structured, reviewable requirements document.

TL;DW

In Claude Code, paste your brain dump and let the agent interview you through the AskUserQuestion tool. Accept its recommendations for speed, or correct wrong assumptions the moment they surface. When the conversation feels aligned, run /create-prd with an output path as the argument. It converts the entire conversation into a structured PRD with an executive summary, mission, target users, and in-scope work. Review the document before creating any tickets: the PRD is the source of truth everything downstream inherits.

Lesson · 11 parts

The demonstration app is a minimal poll builder. Type a question, add options, create the poll. It is simple on purpose: the course is about the process, not the product, and a small app keeps every step legible. Everything shown sits in the companion repository if you want to follow along literally.

Cole pastes a prepared brain dump for phase two of the app: a live presentation mode with results that update without a refresh, QR-code generation for joining polls, multi-question polls, and multiple-choice questions. The end goal is stated inside the prompt itself. Everything should become JIRA tickets that can be handed to developers, or to coding agents.

Brain-dump shape (works in any domain)
Today: <what the app does now>.
Next phase: <features and fixes, with behavior described>.
Constraints: <what must not break, stack, deadlines>.
Goal: turn this into tickets under <epic> that a developer or coding agent can pick up.
Before you write anything, ask me clarifying questions one at a time using the AskUserQuestion tool.

The agent starts asking questions one at a time through AskUserQuestion, each with multiple-choice answers. Two moves matter. Blitz through by accepting recommendations when they are right, and stop hard when one is wrong: that is an incorrect assumption you are deleting before it reaches code. Agents without this tool still work; you just type your answers.

The instruction that triggers the interview
Before you write anything, ask me clarifying questions one at a time using the AskUserQuestion tool.

'How should real-time updates work?' is a technical question. If you know the architecture, use it to clear assumptions precisely. If you sit on the PM side, accepting the recommendation is fine: a wrong guess gets caught later in sprint planning with the developers. The goal is a strong starting point in the tracker, not perfection.

The conversation you just had is the agent's short-term memory, and /create-prd turns it into the PRD. Commands are just prompts loaded on demand, and they take space-separated arguments exactly like a CLI. Here the argument is the output path for the document. Claude Code often recognizes the moment and loads the command's skill by itself.

Under the hood the command is a markdown file describing a procedure: read the current conversation, extract requirements, and write a document with the exact sections the file specifies. Nothing magical, which is the point. You can open it, read it, and change it in five minutes.

Generation takes a few minutes for a large scope because the agent reasons through the whole conversation before writing. Let it run. If you plan to create stories in a separate session later, that works too: the PRD file itself carries all the context forward.

Invoke it. The argument is the output path
/create-prd .agents/prd-phase-2.md

The command file defines the structure every PRD must have: executive summary, mission, target users, scope. That is where the compounding happens. Take how your team already writes PRDs and teach it to the agent, so every generated document lands in your house style. You are not adopting a new format. You are automating your existing one.

Output lands in a .agents/ folder as markdown, but where it lives long-term is your call. Check it into source control, upload it to Confluence through the Atlassian MCP server, attach it to a GitHub issue, or drop it in Google Drive. What matters is that this single document is the initial source of truth for the sprint.

PRD creation and story creation are deliberately two separate commands, because the gap between them is where you validate. Maybe the interview went too shallow. Maybe an answer was misunderstood. Reviewing the artifact keeps you in the driver's seat, and even with careful review time included, this beats writing the document yourself by hours.

A practical review pass takes ten minutes and looks for four things. First, the in-scope list: does it match what you actually said, with nothing invented? Second, the assumptions that survived: anything the interview never asked about got decided silently. Third, priority and sequencing: the agent's ordering is a guess until you confirm it. Fourth, language drift: if the PRD describes a feature more ambitiously than you intended, tickets will inherit the inflation. Edit the file directly or tell the agent what to change; both work because the document, not the chat, is the source of truth.

As the PRD renders, Cole tours the next command. /create-stories is a phase-by-phase procedure: load the PRD (it can run in a completely fresh session, since the document carries all context), break it into user stories in a defined format, and write acceptance criteria for each. The same principle applies here. Your team's story format goes in the command.

The stories command even validates its own work, checking that it extracted every phase of the PRD before finishing. And the JIRA integration is optional by design. Solo developers who manage everything in local markdown files use the same command with the tracker step skipped. Adoption gets easier when the tool bends to the team, not the reverse.

The generated document matches the command's structure exactly: executive summary, mission, target users. The in-scope section mirrors the brain dump, from multi-question polls to the presenter page. Cole's framing is worth remembering. This PRD is the conversation plus the process. Two inputs produced one reviewable artifact.

Key terms

AskUserQuestion
Claude Code's tool for asking the user structured multiple-choice questions during a task.
Short-term memory
The current conversation context; it vanishes on reset unless converted into a document.
Source of truth
The single document that settles later disagreements about scope and intent.

Key takeaways

  1. Commands take space-separated arguments like a CLI, so one command serves every project and output location.
  2. Encode your team's existing PRD format into the command, so the agent writes documents the way your team already does.
  3. Never pipe a fresh PRD straight into ticket creation. Reviewing the artifact is the human-in-the-loop step that makes delegation safe.
  4. The finished PRD equals your conversation plus the /create-prd structure. Cole calls it the baby of both.

Watch out

  • Cole ends the interview early and skips PRD iteration for demo speed only. His words: do as I say, not as I do. In real work the questions run 10 to 15 minutes and the PRD gets a proper edit pass.
  • Store the PRD somewhere durable: source control, Confluence, or a GitHub issue. It is the input for every downstream step, not a throwaway chat artifact.

Check your understanding

Why are /create-prd and /create-stories two separate commands instead of one?

Because the gap between them is the human review step. A fresh PRD may contain misunderstood answers or unasked questions, so you validate the artifact before it becomes tickets.

What two things combine to produce the final PRD?

Your clarifying-question conversation (the agent's short-term memory) and the structure encoded in the /create-prd command.