/cc-arsenal:product-prd <idea | file | url | #issue | PROJ-123> [--tier brief|one-pager|big] [--intent validation|execution]from cc-arsenal
Gate-checked, size-and-intent-tiered PRD authoring that produces briefs, one-pagers, PR/FAQs, or full PRDs with non-goals and testable requirements. Writes no code.
Ships in cc-arsenal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Author the right product doc for the work (sometimes a 3-line ticket, sometimes a full PRD), never more
than the work warrants. This skill writes no application code; it produces the requirements a build
(implement-feature) then works from. Output lands under docs/specs/prd/. <skill-dir> below is this skill's directory.
$ARGUMENTS
Parse the source (first match wins), then read it:
| Pattern | Source | Read via |
|---|---|---|
PROJ-123 | Jira | jira issue view PROJ-123 |
#42 / owner/repo#42 | GitHub issue | gh issue view 42 --json title,body,labels,comments |
!123 / PR URL | GitHub PR | gh pr view 123 --json title,body,files |
| existing path | file/dir | Read it (dir: README, CLAUDE.md/AGENTS.md, key files) |
http(s):// | URL | WebFetch |
| anything else | plain text | the idea itself |
A trailing --tier brief|one-pager|big and/or --intent validation|execution overrides the assessment.
Parallel research and discovery use the Task tool with Explore/haiku subagents. No Task tool? Run
every research and discovery step inline, sequentially: the phase → gate → phase structure below is the
workflow; subagents are just how it parallelizes.
The organizing principle. Default to a single docs/specs/prd/PRD.md and split a section into its own
file only when it outgrows itself. Length is not quality: a bloated PRD and a tight one get rated worlds
apart on content alone. Cut anything that doesn't trace back to the problem, a goal, or a success metric.
Phase: X line in your working notes: no per-turn counters, no resume state.<skill-dir>/scripts/scaffold.py --enterprise <tier>, for a platform-scale program that has genuinely outgrown one file.Gate-zero decides whether to write a doc; the tier decides which doc. Full detail:
references/phase-workflow.md.
| Tier | When | Template |
|---|---|---|
| brief (small) | single feature/addition | assets/templates/brief.md, ticket-shaped, ~2-3 reqs, <30s read |
| one-pager (medium) | a module or small app | assets/templates/one-pager.md, mandatory non-goals, ≤2pp |
| big / validation | "should we build this?" | assets/templates/prfaq.md, press release + FAQ + mandatory top-3 failures |
| big / execution | "we've decided; build it" | assets/templates/prd-full.md, numbered reqs, baseline/target/window metrics, dated changelog |
Graduating guard: if a one-pager draft exceeds ~5-7 requirements or the scope touches more than one
team/system, stop and restart in prd-full.md rather than bloating the one-pager in place.
Four phases: Discover → Decide → ═authorization gate═ → Author → Validate.
Read the input source. If the repo is relevant (existing product), inspect it before asking the user
anything: spawn an Explore/haiku agent (or do it inline):
Task (Explore, haiku): "Discover this repo's product surface & stack: read CLAUDE.md/AGENTS.md, README,
package/build files; map major components, data model, existing capabilities, and any current PRD/specs
under docs/. Return a structured summary, each finding tagged CONFIRMED | INFERRED | UNKNOWN."
Tag every finding CONFIRMED / INFERRED / UNKNOWN: never present an inference as a fact. Pick the discovery mode by context: cold start → 3-5 lettered clarifying questions; warm start → synthesize from the conversation + a quick repo scan, then run a lightweight gap check.
Gate-zero: does this even need a written doc? For a one-line change, a bug-shaped fix, or anything faster to prototype than to spec, say so and stop:
"This doesn't need a PRD. Here's a 3-line ticket: {problem / change / acceptance}, or just prototype it and we'll spec from what we learn."
Being willing to talk the user out of a doc is the point of gate-zero.
Pick the tier: assess size, then branch the big tier on intent (validation vs execution). Honor
--tier/--intent if passed. State the choice and why in one line.
Research: fan out one Explore/haiku agent per workstream the open decisions actually need
(competitors, technical options, regulatory, platform, accessibility). Each returns rows
finding | source URL | date | confidence | implication and invents nothing. Merge them as finding
rows in the one decision log (assets/templates/decision-log.md). Cite every externally-derived claim.
Interview: ask the open decisions in dependency order (vision → problem → users → scope → journeys →
architecture → non-functional → metrics), each via AskUserQuestion with the decision-question.md
template (decision, evidence, a recommendation with rationale, alternatives). Record answers as
decision/assumption/question rows in the same log. Keep facts, assumptions, and recommendations
separate: a recommendation never hardens into a requirement without an approved decision. For the
users decision, capture persona and user evidence with product-design-spec's persona.md
rulebook (via the Skill tool where available, else read persona.md from
product-design-spec's assets/templates/) rather than duplicating persona guidance here.
Alignment gate (authorization): assemble the ~1-page alignment-summary.md and present it:
"Alignment summary for {product}: tier = {tier}, {N} approved decisions, {M} assumptions, {K} open. Do you authorize me to author
docs/specs/prd/PRD.md?"
Stop here if the answer is no: revise and re-present. Author nothing before authorization.
Create the single file, then fill it from the tier template:
python <skill-dir>/scripts/scaffold.py --dir docs/specs/prd # one PRD.md
assets/templates/requirement.md: a unique ID (PRD-<CAT>-NNN, six categories
FR/NFR/UX/SEC/DATA/DES), RFC-2119 language, one behaviour per requirement, a 3-field evidence block
(finding / evidence path / confidence), and Given/When/Then acceptance criteria. Rules:
references/requirement-hygiene.md (the shared rulebook) and references/requirement-standards.md.[NEEDS CLARIFICATION: ...] rather than guessing: it stays greppable.references/frameworks.md only when finer granularity is actually wanted.docs-diagram skill (via the Skill tool where available,
otherwise apply its diagram conventions inline). Task breakdown once requirements exist: hand off to
project-planner. A decision worth a permanent record: offer docs-adr (made) / docs-rfc (proposed).python <skill-dir>/scripts/validate.py --dir docs/specs/prd # gate: 0 CRITICAL, 0 MAJOR
python <skill-dir>/scripts/hygiene.py --dir docs/specs/prd # advisory INVEST/EARS lints
Fix every CRITICAL/MAJOR (missing/duplicate IDs, ACs without Given/When/Then, missing Non-Goals, unresolved
[NEEDS CLARIFICATION], compound requirements, dangling links, leftover placeholders). Then:
product-design-spec (design) and
implement-feature (build).When the PRD's downstream reader is an AI implementation agent (this repo's own implement-feature/fix-bug)
rather than a human, switch modes. Use headings + lists over prose; state every non-goal positively; give every
requirement an independently-testable acceptance criterion. Optionally emit the companion
assets/templates/agent-contract.md. It pairs exact commands (with flags) with an Always / Ask-First /
Never boundary list, then separately records the project's own conventions.
validate.py before declaring done.references/phase-workflow.md: the four phases, gate-zero, size+intent tiering, graduating guard, research fan-outreferences/requirement-hygiene.md: RFC-2119, the 8-term vague blocklist, INVEST, EARS, compound-split, [NEEDS CLARIFICATION] (shared with product-design-spec)references/requirement-standards.md: the six-category ID scheme, requirement quality, the one decision logreferences/frameworks.md: opt-in prioritization (JTBD/Kano/MoSCoW/RICE) & metrics (NSM/HEART/AARRR) pipelinesassets/templates/: brief, one-pager, prfaq, prd-full, requirement, decision-question, decision-log, alignment-summary, agent-contract, prd-rootscripts/scaffold.py · scripts/validate.py · scripts/hygiene.pyproduct-design-spec.product-design-tokens.docs-adr (records a made decision) or docs-rfc (proposes one).implement-feature.review-design. Rendering visual assets → codex-imagegen.assets/templates/agent-contract.md (opens in a new tab)assets/templates/alignment-summary.md (opens in a new tab)assets/templates/brief.md (opens in a new tab)assets/templates/decision-log.md (opens in a new tab)assets/templates/decision-question.md (opens in a new tab)assets/templates/one-pager.md (opens in a new tab)assets/templates/prd-full.md (opens in a new tab)assets/templates/prd-root.md (opens in a new tab)assets/templates/prfaq.md (opens in a new tab)assets/templates/requirement.md (opens in a new tab)evals/evals.json (opens in a new tab)evals/trigger-eval.json (opens in a new tab)references/frameworks.md (opens in a new tab)references/phase-workflow.md (opens in a new tab)references/requirement-hygiene.md (opens in a new tab)references/requirement-standards.md (opens in a new tab)scripts/hygiene.py (opens in a new tab)scripts/scaffold.py (opens in a new tab)scripts/validate.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
general-purpose), in the backgroundThree short reads, in order
52 skills in this plugin
/agent-browserHeadless browser automation CLI optimized for AI agents: drives a real browser via accessibility-tree snapshots and @e1-style refs for ~93% less context than raw DOM tools. Use whenever a task needs to interact with a live web page: click, fill forms, log in, extract text or data, take screenshots, test a running web app, or scrape a site. Triggers on 'automate the browser', 'fill this form', 'click the button', 'take a screenshot of the page', 'log into', 'scrape this site', 'test my web app', 'headless browser'. Not for Playwright test-suite authoring or CDP/service-worker work needing the full JS API: use Playwright directly. Not for driving the user's own already-open, logged-in Chrome tab: use claude-in-chrome for that./anything-to-skillTurns a docs site, local folder, PDF or book, YouTube video, playlist or channel, or a topic into a source-grounded, token-efficient agent skill (hub SKILL.md, sectioned references, INDEX, evals), and can compact it into a lean expert skill. Use for "make a skill from these docs", "turn this channel into a skill". Not for a skill from your own description (use create-skill), improving one (use improve-skill) or finding third-party skills (use find-skills)./ci-generateGenerate a production-ready CI/CD pipeline config (GitHub Actions, GitLab CI, CircleCI, or Jenkins) by discovering the project's actual stack, test/build commands, and dependencies. Use when setting up CI for a new project, adding a missing workflow file, or asked to create/generate a pipeline, workflow, or `.gitlab-ci.yml`/`Jenkinsfile`. Not for writing a Dockerfile itself (see docker-init), this only wires CI stages around one. Not for running existing CI checks locally (use ci-local), this skill only authors the pipeline file itself./ci-localRun the checks a GitHub Actions workflow would run, locally, when Actions is unavailable or out of quota. Parses .github/workflows/*.yml, extracts the jobs/steps that gate merges (lint, typecheck, test, build), translates them to local commands respecting the workflow's pinned node/python versions and env, executes them sequentially, and reports a parity table of what passed locally vs. what can't be replicated (service containers, secrets, matrix dimensions) and why. Activates on "CI quota", "Actions is down/unavailable", "run CI locally", "verify like CI would", "run the pipeline on my machine", or a pre-push request to check a branch the way CI checks it. Not for generating a new workflow file (use ci-generate), not for debugging why a specific CI run failed on GitHub (use fix-bug or review-code), and not for the release/hotfix gating process itself (use gitflow), this skill only produces the local stand-in when the real thing isn't reachable./clotho-researchFind what a change will actually touch before planning it — the existing code that must change, the prior art worth copying, and the risks that will bite. Trigger on "what would this change touch", "research this before we plan it", or an automated pre-planning step. Reports files, sources, and risks; it never proposes an implementation and never edits anything. Not for auditing dependencies (use review-deps), not for writing the plan itself (use project-planner), and not for reviewing code that already exists (use review-code)./codex-imagegenGenerates images and polished raster art (logos, mascots, hero images, icons, characters, sprite sheets, illustrations, product mockups) by driving Codex CLI's $imagegen skill. This is the default image generator, use it for any request to generate or create an image or visual asset, including "generate an image", "create a hero image", "make a mascot", "design a logo", "draw an icon", "generate a sprite sheet", or "make an illustration". Requires the `codex` CLI installed and authenticated (ChatGPT auth). Not for architecture, flow, or sequence diagrams (use docs-diagram).npx claudepluginhub mgiovani/ai-arsenal --plugin cc-arsenalOther plugins' skills for the same job