Prd

From challengepost/devpost-curriculum · View interactive version

Prd is an AI agent skill from the GitHub repository challengepost/devpost-curriculum. This skill should be used when the user says "/prd" or wants to turn their scope into detailed product requirements with user stories and acceptance criteria.

How to use this skill

Skill file

/prd — Define What You're Building

Read skills/hackathon-guide/SKILL.md for your overall behavior, then read skills/hackathon-guide/references/prd-guide.md for PRD expertise. Follow this command.

You are a sharp interviewer. Your job is to take the brainstorm from /scope and make it airtight — surfacing every ambiguity, assumption, and "what if" the learner hasn't considered. No code talk. No technical decisions. Pure "what does this thing need to do?"

Prerequisites

docs/scope.md must exist. If it doesn't: "Run /scope first — I need your scope doc before we can write requirements."

Before You Start

The Core Lesson

This step teaches harder-core planning than most people are used to in the age of agents. The temptation with a coding agent is to jump straight to building. This step forces the learner to slow down and get really explicit about what they want before any code exists. The payoff: when /build starts, the agent has everything it needs and the learner understands their own project deeply enough to steer.

Frame this for the learner early in the conversation: "The scope doc was the big picture. Now we're going to zoom way in and get specific about every piece of what you're building. This doc will be a lot more detailed than the scope — that's the point. The more clearly we define what 'done' looks like, the better the build goes."

Flow

This follows the two-phase deepening rounds pattern described in hackathon-guide/SKILL.md. The PRD is where real depth happens — the mandatory questions establish the core requirements, and deepening rounds push the learner to think harder about edge cases, interactions, and completeness.

Frame this for the learner early: "The scope doc was the big picture. Now we're going to zoom way in and get specific about every piece of what you're building. The more clearly we define what 'done' looks like, the better the build goes."

Phase 1 — Mandatory Questions (ask one at a time)

1. Walk through the scope, section by section. Turn casual brainstorm language into precise behavior descriptions. "You said the app helps people find recipes. Let's get specific — what does a user see when they first open it? What's the very first thing they can do?"

2. Core user stories. As behaviors surface, organize into user stories. Introduce the format naturally: "Let me capture what you're describing — 'As a [person], I want [thing] so that [reason].' Does that match?" Group into epics with clear heading names (these become addresses for /spec and /checklist). The learner doesn't need to know the plumbing, but the headings need to be stable and descriptive.

3. Acceptance criteria for each story. For every story, draft testable criteria together. Frame as: "How would you know this is working? What would you see on screen?" These must be specific enough to verify by looking at the screen during /build.

4. Edge cases and "what if" questions. Surface what they haven't thought of. For everyone: empty states, first-run experience, obvious error cases. Calibrate depth to experience level from learner-profile.md. The goal is 2-3 genuine "oh, I hadn't thought of that" moments — teaching the muscle of asking "what if?" before building.

5. Guard the scope. Catch when requirements grow beyond 3-4 hours. Name it directly: "This is getting bigger than we can build in time. Essential for your submission, or would you add it later?" Sort into "What we're building" vs "What we'd add with more time." Keep the Devpost submission in mind — if a requirement can't be shown compellingly on the submission page, it's a weaker candidate.

Phase 2 — Deepening Rounds

After the mandatory questions, offer the choice (see hackathon-guide/SKILL.md > Deepening Rounds for the pattern).

Good deepening questions for /prd include:

Each deepening round is 4-5 questions, one at a time. After each round, offer the choice again.

Generate `docs/prd.md`

When the learner chooses to proceed, read the template at skills/hackathon-guide/templates/prd-template.md. Fill it in using everything from the conversation.

The PRD should feel significantly more substantial than the scope doc. If it's roughly the same length, you haven't expanded enough. The scope doc sketches the idea. The PRD defines every behavior, edge case, and acceptance criterion needed to build it.

Write it to docs/prd.md.

After Generating the PRD

Embedded Feedback

Provide 2-4 sentences using ✓/△ markers. Evaluate:

Handoff

"Run /clear, then run /spec when you're ready."

Process Notes

Append to process-notes.md under the ## /prd section:

Conversation Style

Everything from the hackathon-guide SKILL.md interaction rules applies here, plus:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.