com um clique
bootstrap-prd
// Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.
// Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.
Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.
Generate a hands-on browser walkthrough of a PR's user-facing changes to exercise before review; --publish posts the final version to the PR for QA.
Quick 2-minute status update on current phase, completed work, blockers, and health check.
Pre-PR advisory check for deviations from the project spec. Read-only analysis.
Convert a Markdown file to PDF with GitHub-style formatting using the md2pdf tool.
Audit and update a project README, or bootstrap a new one. Detects tech stack, versions, and services.
| name | bootstrap-prd |
| description | Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap. |
| disable-model-invocation | true |
Set up PRD-driven development infrastructure for a new project. This skill handles two workflows: PRD-first (PRD files already exist, scaffold the project around them) and scaffold-first (no PRD yet, create template files to be filled in). The skill detects which situation applies and adapts.
Work through the steps below in order. Each step has a hard stop — do not proceed past a CHECKPOINT without explicit user approval.
Check whether docs/prd/ exists and contains any .md files.
If PRD files exist → enter PRD-first mode:
.md files in docs/prd/ to understand the projectIf no PRD files exist → enter scaffold-first mode:
Ask the user for the following. Skip anything already provided in the conversation context.
If the user provides a framework name, pre-fill quick-start commands from this lookup table (the user can override):
| Framework | Start | Test | Lint |
|---|---|---|---|
| Rails | bin/dev | bin/rails test | bin/standardrb --fix |
| Next.js | npm run dev | npm test | npm run lint |
| Hugo | hugo server -D | (none) | (none) |
| Static (no build) | Open index.html or use a local server | (none) | (none) |
| Generic | <!-- TODO: start command --> | <!-- TODO: test command --> | <!-- TODO: lint command --> |
Read the template files that may be needed:
~/.claude/docs/prd-workflow/templates/CLAUDE.md~/.claude/docs/prd-workflow/templates/prd/README.md~/.claude/docs/prd-workflow/templates/prd/ROADMAP.md~/.claude/docs/prd-workflow/templates/prd/CHANGELOG.md~/.claude/docs/prd-workflow/templates/prd/01-overview.mdIn PRD-first mode, only CLAUDE.md is typically needed — the PRD files already exist.
Check which of the following already exist in the project:
CLAUDE.md (repo root)docs/prd/README.mddocs/prd/ROADMAP.mddocs/prd/CHANGELOG.mddocs/prd/01-overview.md.git/ directory (is this already a git repo?)Build a list of files to create (those that don't already exist) and files to skip (those that do).
CHECKPOINT 1: Present a summary and wait for explicit approval before writing any files.
In PRD-first mode, the summary should include:
docs/prd/CLAUDE.md — list with full pathsgit init is needed, whether to create a GitHub repoIn scaffold-first mode, the summary should include:
CLAUDE.mddocs/prd/README.mddocs/prd/ROADMAP.mddocs/prd/CHANGELOG.mddocs/prd/01-overview.md<!-- TODO: ... --> commentsDo not create any files until the user approves.
After approval, create each file:
In PRD-first mode:
CLAUDE.md from the template, populated with information extracted from the existing PRD files (project name, description, tech stack, quick-start commands, key file references).git/ doesn't exist: git initgh repo create <repo-name> --public --source=. --push (or --private based on user preference)In scaffold-first mode:
[Project Name] with the actual project name in all files<!-- TODO: ... --> commentsdocs/prd/ directory as neededCLAUDE.md from template with gathered details.git/ doesn't exist: git initCHECKPOINT 2: Present a summary of what was created and what remains.
In PRD-first mode:
<!-- TODO: ... --> placeholders left in CLAUDE.mdCLAUDE.md~/.claude/docs/label-taxonomy.md)In scaffold-first mode:
<!-- TODO: ... --> placeholders left in each fileCLAUDE.mddocs/prd/ROADMAP.md~/.claude/docs/label-taxonomy.md)/commitgit and gh.~/.claude/docs/label-taxonomy.md remains a global reference — it should not be duplicated into individual projects.