plugins/teamcraft/skills/capture-requirements/SKILL.md
Create or evolve the product requirements document (PRD). Handles new PRDs, major overhauls, adding new feature sets to existing PRDs, targeted section updates, and structural reorganization between single-file and per-feature structures. Identifies constraints that Claude would get wrong without always-loaded guidance and writes developer-approved promotions. Can decompose requirements into work items. Use when the user says 'write a PRD', 'update the PRD', 'capture requirements', 'add requirements for this new feature', 'revise the requirements', or 'rewrite the PRD for the new architecture'.
npx skillsauth add codingthefuturewithai/claude-code-primitives teamcraft:capture-requirementsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Own the full lifecycle of product requirements for this project. The authoritative document lives in the product-requirements category (opinionated default /docs/prd.md for single-PRD projects, or /docs/prds/*.md for multi-feature projects). After capture or update, identify any requirements that introduce constraints Claude would get wrong without always-loaded guidance — compliance requirements, data-handling rules, audit requirements — and write developer-approved promotions to CLAUDE.md or .claude/rules/.
Read references/example-prd.md first. It shows the shape of a well-structured PRD and how gotcha-promotion works for requirements-driven constraints.
Look for an existing PRD or PRD directory. If you find one, read it and present a brief summary before interviewing: "I see an existing PRD covering [topics]. What are we doing today?"
If the structure differs from the opinionated defaults, that's fine — the skill works with whatever structure is in place. Note it and proceed. Build-loop skills consult product requirements by category, so non-default structure still works as long as Claude can locate the documents.
If neither exists, this is a new PRD.
Ask what kind of capture this is. The flow depends heavily on the answer.
Common scenarios:
Ask the developer which applies. Match the interview scope to the scenario — full interview for new PRDs, narrow for targeted updates.
Ask whether any external material should inform this — requirements docs, user research, stakeholder notes, mockups, competitive analysis, past PRDs from related projects. Read what the developer points you to. Present findings; let the developer decide what applies. Never auto-apply external content.
Frame the domain and scenario. Claude knows how to interview for product requirements — who it's for, what problem it solves, functional and non-functional requirements, what's in and out of scope, how success is measured. Match the depth to the scenario.
For new PRDs or major overhauls, be comprehensive. For targeted updates, stay narrow — don't fish for unrelated changes.
Show the complete document (or the specific diff, for targeted updates) before writing.
For major overhauls and structural reorganizations, present a high-level summary first: "Removing sections X, Y. Rewriting section Z. Adding new sections A, B. Structure changing from single file to per-feature." Let the developer course-correct at a high level before reviewing every detail.
After the PRD is confirmed and written:
When decomposing, use the create-issue skill for each work item — that's the single source of truth for work item creation. Each work item traces back to a specific PRD section.
For a new PRD, ask the developer which structure fits — single file or per-feature. For updates to an existing PRD, use the structure already in place; don't ask.
Certify the document. Stamp it with the Teamcraft provenance block per ../references/doc-provenance.md — the single prd.md, or each per-feature file under prds/ (each is consulted independently). When you authored or rewrote content, stamp kind: created. On the review-&-certify-in-place path — the developer confirmed an existing/inherited PRD is accurate and you are not rewriting it — insert or refresh ONLY the stamp block (kind: reviewed) and leave the body untouched. Source date from the system clock and plugin_version from the plugin manifest, as the reference describes.
Commit PRD changes after the developer approves.
After the document is confirmed, walk its contents and identify requirements that introduce constraints Claude would get wrong without always-loaded guidance. The test:
Could Claude figure this out from the codebase, or from reading the PRD when a build-loop skill directs consultation? If yes, it stays only in the PRD. If no — Claude would default to something else from training data without always-loaded guidance — it's a promotion candidate.
Good candidates:
Weak candidates:
Propose each candidate to the developer individually. Show the promotion text and target location. Developer approves, rejects, or edits. Write each approved promotion directly.
This skill writes product requirements and their gotcha promotions. It does not write technology decisions (capture-technical-design) or operating conventions (capture-team-conventions). If the conversation drifts, redirect.
Confirm what was written and where. Summarize any work items created and any promotions applied. Ask the developer directly: "Are you satisfied with what was captured?" Wait for explicit confirmation. Then point to a reasonable next step — /capture-technical-design if tech decisions haven't been documented, /plan-and-implement-issue for a new feature ready to build, or nothing if they're done.
tools
Capture feedback about Teamcraft itself and turn it into a well-structured GitHub issue on the plugin's repo. Vets whether the problem is really a Teamcraft skill defect (vs. misuse, the harness, or the user's own project) by root-causing against the actual skill source, then helps the developer decide whether to file and publishes via the GitHub CLI. Use when the user says 'improve teamcraft', 'a teamcraft skill did the wrong thing', 'file feedback on teamcraft', 'report a teamcraft bug', 'I have an idea to make teamcraft better', or when a Teamcraft skill clearly misbehaved and the user wants that captured upstream.
tools
Learn the Teamcraft plugin itself — how its workflow, skills, and artifacts fit together. A guided overview for a human getting started, or a system map for Claude orienting itself to how Teamcraft works before working in a Teamcraft repo. Teaching only; needs no project or environment access. Use when someone wants to understand Teamcraft (the tool, not their specific project), asks "how does Teamcraft work", "explain the workflow", "which skill do I use for X", or when Claude needs the big picture of how the skills hook together.
tools
--- name: teamcraft:work-board description: Launch (or re-launch) the user's live, multi-project work board. The dashboard is a single HTML file copied to a stable user-side location at ~/.claude/teamcraft-board.html and opened in the user's default browser. It has two views via a header toggle — a drag-and-drop Kanban Board and a live Status tab (analytics: work by status, throughput, cycle time, aging, blocked chains, recomputed on every poll). Each project is added via a header dropdown; the
development
Run pre-PR reviews (code health, security, acceptance criteria), address findings, and submit the PR for review. Ends when the PR is ready and CI has passed. Use when implementation is done and ready for review, or when the user says "I'm done coding", "validate this", "ready for review", "submit this for review", "run the pre-PR reviews", or "prepare this for review".