prd
Agent skill fromSethGammon/Citadel
Generates a Product Requirements Document from a natural language app description. Asks clarifying questions, researches similar apps, defines scope, stack, architecture, and produces a structured PRD that Archon can decompose into a campaign.
How to install prd
install prd
# install the Citadel pack with the skills CLI
npx skills add SethGammon/Citadel# or add only this skill to Claude Code: copy the folder
skills/prd/
# into
~/.claude/skills/prd/ (all projects)
.claude/skills/prd/ (one project)
1# /prd — Product Requirements Document Generator23## When to Use45**Don't use when:** architecture is already defined and you need implementation (use /architect then /archon); adding a small feature to an existing app (use /marshal directly).67- User describes an app or feature to build (greenfield or feature mode)8- Before any Archon campaign for a new project or feature910## Mode Detection1112Before starting, determine the mode:1314**Greenfield mode**: No existing source files, or user explicitly says "new app" / "from scratch."15Produces a full PRD as described below.1617**Feature mode**: The project already has source files (check for `src/`, `app/`, `lib/`,18`package.json` with dependencies, or similar). The user describes a feature to add, not a19whole app ("add auth", "add a dashboard", "add payment processing").2021In feature mode:22- Read the existing file tree and `package.json`/equivalent before asking questions23- The existing stack is a given — don't recommend alternatives24- "Architecture" section describes integration points with existing code, not standalone shape25- End conditions MUST include regression checks: "existing tests still pass", "typecheck has no new errors"26- "Out of Scope" is relative to the feature, not the whole app27- Technical Decisions only covers decisions the feature introduces (new dependencies, new patterns)2829The PRD template below works for both modes. Feature mode just scopes it tighter.3031## Protocol3233### Step 1: UNDERSTAND34…
Excerpt shown under the repository's MIT license.
