work-story
Work a user story end to end — fetch the ticket, plan (with approval), implement, verify the applicable gates, self-review, open…
Turn a spark (an idea, even a one-liner, in any format) into a clear product definition through a guided, Socratic discovery phase — frame the problem (users, outcome, metrics, constraints, non-goals), explore 2–4 directions with trade-offs, and produce an approved definition
Claude Code
$ npx -y skills add theam/claude-dev-kit --skill plan-definition --agent claude-code
Codex
$ npx skills add theam/claude-dev-kit --skill plan-definition -a codex -y
Cursor
$ npx skills add theam/claude-dev-kit --skill plan-definition -a cursor -y
Gemini CLI
$ npx skills add theam/claude-dev-kit --skill plan-definition -a gemini-cli -y
GitHub Copilot
$ npx skills add theam/claude-dev-kit --skill plan-definition -a github-copilot -y
OpenCode
$ npx skills add theam/claude-dev-kit --skill plan-definition -a opencode -y
Windsurf
$ npx skills add theam/claude-dev-kit --skill plan-definition -a windsurf -y
name: plan-definition description: Turn a spark (an idea, even a one-liner, in any format) into a clear product definition through a guided, Socratic discovery phase — frame the problem (users, outcome, metrics, constraints, non-goals), explore 2–4 directions with trade-offs, and produce an approved definition that then feeds plan-backlog. Facilitate, never decide. Use when a product owner wants to define a problem before breaking it into a backlog.
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.
The input is deliberately vaguer than `plan-backlog`'s — **a one-liner is a valid start.**
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:
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 researc
An open-source Claude Code plugin by The Agile Monkeys: a stack-agnostic issue-to-PR workflow with enforced quality gates. Also runs on OpenAI Codex, Cursor, and other Agent Plugins 1.0.0 clients.
Work a user story end to end — fetch the ticket, plan (with approval), implement, verify the applicable gates, self-review, open…
Run the repo's unit tests with coverage and verify that every file touched in the current change keeps line, branch, and function…
Create a branch, commit the work, and open a pull request for a completed user story, after all quality gates pass. Use when the…
Delegate an approved backlog to the configured async provider so several stories are worked in parallel — one branch and PR per…
First-use bootstrap for the dev kit. Detects the team's issue tracker, discovers what it can via MCP/CLI, asks only what cannot…
Create or update end-to-end tests for a user-facing flow that changed, using whatever e2e framework the repo already uses. Use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.