/do-it:prd-generatorfrom do-it
Generates a Product Requirements Document (PRD) for new projects by fetching web content or asking questions. Produces .do-it/specs/prd.md as the foundation for the Do-it plugin loop.
Ships in do-it. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce .do-it/specs/prd.md — read by every later step (/grill, /build, /review, /iterate, /ralph).
Ask with AskUserQuestion when either is missing · what to build (a URL to clone or learn from, or a one-line description) · the project name. With a URL, WebFetch it. With a description, ask 2 to 4 high-leverage questions first.
Confidence rule. Below 80% on any aspect — features, architecture, audience, tech — stop and ask. A wrong assumption here compounds across every iteration.
The URL case. One page is not a product. A landing page sells. The feature set lives in the pricing tiers, the docs, the changelog, and the help centre. §7.1 becomes every change folder's tasks.md. To build it out of hero copy is how a whole project inherits marketing language as its backlog.
Dispatch one band: up to 5 read-only Task subagents in a single message. Cover the entry URL and its obvious public surfaces · the product or landing page · pricing · docs · the changelog or release notes · the help centre. Use fewer surfaces when the site plainly lacks them. Never use more than five.
Each subagent gets this as a hard constraint, not an aspiration:
Read only URLs on the entry URL's origin. Do not follow links off it. Write nothing — no files, no
.do-it/**. Return text only.
features:
- {name} · {what a user can invoke} · {observed|claimed|inferred} · {evidence url}
| Tag | Means |
|---|---|
observed | the subagent saw the UI or an actual screenshot of it |
claimed | a page asserts the feature exists |
inferred | deduced from surrounding evidence |
That tag lets the human correct the inventory in seconds. It also makes a JS-heavy SPA's thin result visible, in place of marketing copy laundered into §7.1 as fact.
The command thread merges. Dedupe by the slugified feature name. Keep the strongest tag and every evidence URL. Plain code, no agent. No subagent writes anything, and .do-it/specs/ keeps one writer.
One round. No frontier, no crawl, no second pass — the PRD is a small document the human corrects two steps later.
Then extract purpose, core features, user flows, UI patterns, integrations, content model. Present the summary with its tags, take corrections.
Task unavailable → a single WebFetch of the entry URL, exactly as before. Say once that the inventory covers one page.
The description case. There is no origin to read, so there is no recon band. Skip it. Probe instead · who the user is (one persona is enough for v1) · the single most valuable thing this does for them · what an existing product gets wrong · the first thing a user does after signup.
project_type (REQUIRED)software — codebase, app, library, service. /build enforces TDD, runs tests/typecheck/lint, commits per task.generic — doc, deck, site, design, content artifact. /build produces the artifact; /review checks PRD acceptance criteria.Record it in PRD §1.0.
Recommend the latest stable choice for four rows, one line of rationale each: framework, styling / UI, package manager, test runner. Present as a table and wait for explicit approval — the user may swap any choice.
This is the only stack decision that blocks the PRD. F0 uses it for three things · the runnable shell · the warm preview · the component foundation (${CLAUDE_PLUGIN_ROOT}/references/first-paint.md).
Do NOT block on any of these · backend · database · auth · storage · payments · hosting · CI · observability. Write them into PRD §4.1 as TBD rows, and name the front-runner in the Rationale cell. The first data-schema task decides them, once the data model is real. Until then the adapter pattern feeds every component from fixtures (${CLAUDE_PLUGIN_ROOT}/references/adapter-pattern.md).
generic projects replace 3a and 3b with a format decision: docx | pptx | site | design file, plus target length and distribution channel.
Read references/prd-template.md first. Fill its pre-pixel sections; deferred sections stay stubs until F1 ships.
§7.1 is load-bearing — each feature becomes one change folder with a layer-tagged tasks.md:
F1, F2, … in priority order.mkdir -p .do-it/specs, then write .do-it/specs/prd.md in the project root (current working directory) — never the plugin folder. Ask before overwriting an existing prd.md.
PRD saved to
.do-it/specs/prd.md. Next: run/grillto challenge it before anyone writes code.
.do-it/.claimed or inferred features to the user as if they were observed.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flyingwebie/skills --plugin do-it13 skills in this plugin
/build-loopExecute Do-it tasks. Reads .do-it/specs/ (current truth) and .do-it/changes/ (proposals), picks the next buildable band, builds under TDD discipline (software) or acceptance-driven (generic), respects the UI-first layer gate, and keeps the loop memo current. Product review runs per feature; optional knowledge maintenance never blocks code-first delivery. Triggered by /do-it:build or an autonomous loop each iteration.
/designEmit the compact design state the build loop consumes: tokens, the F0 foundation manifest, and per-entity contracts. Narrative design docs defer to --full.
/do-itRun the Do-it spec-driven MVP workflow in Codex. Use for PRD, brownfield mapping, config migration, grilling, design, preview, building, review, iteration, project status, retrospectives, or autonomous delivery./grillAdversarially challenge a spec-layer artifact — PRD, change proposal, or design system — before code exists. Hunts gaps, contradictions, ambiguity, scope creep. Triggered by /do-it:grill or "challenge the PRD", "poke holes".
/iterate-fixApply fixes after a REVISE verdict, or after a task's mechanical gate goes red. Root-cause discipline only — no symptom fixes, no test-softening. Triggered by /iterate, or by the Ralph loop on a red gate or a REVISE.
/llm-wikiMaintain docs/ as an optional LLM Wiki. Direct Pass/Query always work; automatic passes run only when project knowledge maintenance enables them.
Other plugins' skills for the same job