/fullstack-dev-kit:plan-definition runs instead · from fullstack-dev-kit
Guides a product owner through Socratic discovery to turn a rough idea into a structured product definition with problem framing, direction exploration, and trade-off analysis before backlog creation.
This skill never runs in Claude Code
It ships in fullstack-dev-kit at skills/, but /fullstack-dev-kit:plan-definition (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Turn a spark into a clear product definition through a guided discovery phase — the most upstream step of the workflow, for the product-owner persona. It runs before plan-backlog and closes the loop define → backlog → ticket → PR.
plan-backlog starts from a defined problem and turns it into a backlog; its framing step is deliberately light ("how do we slice this"). plan-definition does the deep part: defining the problem itself — who it's for, the outcome, why now, the constraints, the success metrics, the chosen direction. Its output is a definition doc, not a backlog and not tickets. You facilitate the PO's thinking — ask, offer options, and let them decide; never decide the product for them.
A request to define, frame, scope, or think through a product idea before there are stories — e.g. "help me define this feature", "I have a rough idea, let's shape it", "what's the problem we're solving here". If the request is already a defined problem asking for tickets, that's plan-backlog, not this.
plan-backlog (important)plan-definition = define the problem & direction. No backlog, no tickets. Output: a product definition.plan-backlog = turn a defined problem into a backlog. When a definition from here is handed in, it consumes it and runs a lighter framing (confirm, don't re-derive) instead of framing from scratch.The input is deliberately vaguer than plan-backlog's — a one-liner is a valid start.
.docx) → convert first (textutil -convert txt file.docx -output - on macOS, or pandoc file.docx -t markdown), then read. If neither tool is available, ask the user to paste the text or export a PDF.figma.com/(design|file)/…) → run figma-fetch for design context. For a FigJam board, figma-fetch doesn't read /board/ URLs yet — ask the PO to paste the board's content as text. v1 treats any whiteboard as read-only context; nothing is written back to it.If the spark is thin, that's expected — the framing step (§2) is where you draw it out with questions, not where you fill it in for the PO. See Grounding & provenance next; it governs the whole flow.
A one-liner is a valid start, so most of what a definition could contain is not in the intake. That is fine — but it makes how you introduce content the thing that keeps this honest. Two moves that look identical on the page are completely different:
Every claim in the definition carries a provenance marker so a proposal never renders identically to a decision:
[PO] — the PO stated or explicitly confirmed it.[spark] — it came from the intake source.[proposed] — you generated it; the PO accepted the option but the content is yours.[unverified] — a factual claim about the world that nobody has checked (all market/novelty/prior-art claims are at least this).The distinction to never blur: a direction the PO selected from your options is a real decision; a fact you supplied to justify it is not, until it's checked. When in doubt, mark it lower, not higher.
Draw out the definition through a Socratic exchange: for each dimension, ask, propose a candidate answer, and let the PO confirm or adjust. Proposing candidates is exactly right (see Grounding & provenance) — just don't smuggle in unverifiable facts as if they were established (mark those [unverified] or ask). Offer options; don't assume. Move through:
Don't interrogate all seven in one dump — work them conversationally, a few at a time, folding the PO's answers back in. It's fine — often better — to leave an item explicitly unresolved rather than force an answer: any must-have section may carry "not established" with a note on what's needed to settle it (see §4). This applies especially to Success metrics, which POs frequently decline — record "not established (no baseline yet)", never a number you made up.
No research step. The skill fetches only PO-supplied sources (§1); it does not browse. So when a dimension turns on a fact you'd normally look up — "which segment is underserved?", "has anyone shipped this?" — you cannot answer it as fact. Say so, offer it as a question for the PO or a later research task, and mark any market/novelty claim [unverified]. Confidently reciting a competitive map from memory is the failure mode this rule exists to prevent.
Propose 2–4 solution directions (as many as the situation needs, no padding). Note the object here is different from plan-backlog's framing: this is what the product is / which approach (e.g. rehab-adherence vs. general fitness; a novel core mechanic vs. a known one), not how to slice the work into a backlog — that stays downstream. Give each its trade-offs (cost, risk, time-to-value, reversibility). Recommend one with a reason, and wait for the PO to choose or refine. Ground the trade-offs the same way as everything else: option-generation is fine, but any supporting fact is [proposed]/[unverified] until the PO confirms it.
The flow is not forward-only: if, while assembling §4, the PO wants to revisit or withdraw the direction chosen here, go back and re-open §3 rather than editing around a decision that no longer holds. A definition whose Chosen direction was silently un-decided is worse than one that loops back.
Assemble a structured product definition / brief. Every line carries its provenance marker ([PO] / [spark] / [proposed] / [unverified], per Grounding & provenance) — this is what stops an approved doc from reading as sourced when it isn't. Any must-have section the PO didn't settle is recorded as "not established" with a note on what would settle it — never invented to avoid a gap.
Canonical template — must-have sections:
[proposed], not rendered like one they made).[unverified] claim that survived into the doc. Must-have: this is the section that qualifies the confident ones, so it can't be optional.Optional sections when the material warrants: constraints, why-now, dependencies, a rough phasing sketch.
Approval gate (mandatory). Present the full definition and wait for explicit approval; the PO may edit anything. Before asking for the OK, ask one grounding question explicitly: "what in here rests on something nobody has verified?" — walk the [unverified]/[proposed] claims so the PO approves them knowing what's assumed, not just what's asserted. Nothing is finalized — and nothing downstream (no backlog, no tickets) happens here — until they approve.
Rich review surface (when the host supports artifacts — e.g. Claude Code / claude.ai). Render the definition as a navigable artifact (collapsible sections, a table of contents, easy to scan and drill into) as the review aid — reusing the same doctrine as plan-backlog's review artifact. Load the artifact-design skill before building it. The artifact is a review aid, not the gate: still print a concise summary and ask for approval in the conversation. On hosts without artifacts (Codex / Cursor / Copilot), present the definition as Markdown.
Where it lives (v1). The definition lives in the conversation (and the artifact). If the PO wants it persisted, offer to save it as a Markdown file in the repo (e.g. docs/definitions/<slug>.md) — only on request. No Confluence/whiteboard write-back in v1.
plan-backlogOn approval, hand the definition to plan-backlog as its input: "the definition is ready — run /plan-backlog on it to turn it into a backlog." Because the problem is now defined, plan-backlog's framing step is lighter — it confirms the framing rather than re-deriving it. That completes the loop define → backlog → ticket → PR.
Readiness — say it plainly. A definition can be approved without being backlog-ready: if core must-haves are still "not established", or the doc leans on [unverified] claims, tell the PO that at handoff rather than passing it downstream as settled. plan-backlog's lighter framing trusts a grounded definition; a thin one should either loop back here to firm up, or be handed on with the gaps flagged so plan-backlog re-derives instead of confirming. Don't let approval alone stand in for readiness.
Persisting for a later session. If the backlog won't be built in the same sitting, the definition needs a carrier — offer to save it to docs/definitions/<slug>.md so plan-backlog can read it as an input file later. Without that, an in-conversation-only definition can't reach a future plan-backlog run.
[unverified] market/novelty claims out of the load-bearing prose (or clearly flagged), and prefer a marked gap to an invented answer. A thin spark is drawn out with questions, not filled in for the PO.plan-backlog. This step stops at an approved definition.What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/coverage-checkRun the repo's unit tests with coverage and verify that every file touched in the current change keeps line, branch, and function coverage at or above 95%. Language- and framework-agnostic. Use before committing, before PR creation, or when the user asks about coverage./create-prCreate a branch, commit the work, and open a pull request for a completed user story, after all quality gates pass. Use when the user asks to open/create a PR or as the final step of the story workflow./delegate-backlogDelegate an approved backlog to the configured async provider so several stories are worked in parallel — one branch and PR per issue — then re-apply the kit's quality via pr-review/fix-pr. The provider is delegation.provider in the kit config (github-copilot or self-hosted-action). Verifies that provider (never fabricates a trigger, never falls through to the other one) and never auto-merges. Use when a PO/dev wants to fan a backlog out to an async agent./dev-kit-setupFirst-use bootstrap for the dev kit. Detects the team's issue tracker, discovers what it can via MCP/CLI, asks only what cannot be discovered, and persists the result to .claude/dev-kit.json in the consuming repo. Use when that file is missing, when the user asks to set up or reconfigure the kit, or when issue-fetch cannot resolve its configuration./e2e-generateCreate or update end-to-end tests for a user-facing flow that changed, using whatever e2e framework the repo already uses. Use after implementing a user story that alters UI behavior, routing, forms, or API-driven views./figma-fetchExtract frame/component structure and all visible text from a Figma design URL. Use whenever a prompt or a fetched issue contains a figma.com/design or figma.com/file link.npx claudepluginhub theam/claude-dev-kit --plugin fullstack-dev-kitOther plugins' skills for the same job