/afpm:feature-specsfrom AI-First Product Manager
Structures evidence-grounded feature specs with problem, user journey, critical user stories with acceptance criteria, and a falsifiable hypothesis. Use when writing a PRD or defining user stories.
Ships in AI-First Product Manager. 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.
None: SKILL.md is the whole skill.
A feature spec in this method is a bet backed by evidence, not an enterprise PRD. It stays short enough to critique in one sitting and carries everything the downstream skills need: personas critique it, and the exposure plan is derived from its hypothesis. Nothing in the spec floats free — every claim traces to an insight, and through it to a quote from an interview.
Write the spec in the language of the conversation — the language the user is writing in now. Evidence files in another language (insights, transcripts, research) do not change it: quotes stay verbatim in their original language, everything around them follows the conversation.
The structure below is written in English only because skill files are. Translate all of it: section headings, labels (Acceptance criteria, Traces to, Evidence, Explored in, Tested in, Metrics), the user-story pattern ("As {persona}, I want…, so that…"), and the hypothesis pattern ("We believe… We're wrong if…") — use the natural equivalents in the conversation's language. A spec in Spanish has no English headings. What stays in English are only the fixed tokens: belief scope and risk tags ([feature: {slug}], [value]…), provenance labels, result tokens (passed, failed, not tested (declared), result no longer applies), and status keywords.
Downstream skills (/critique-spec, /slice-feature, /design-metrics, /review-evidence) find a spec's sections by their meaning — the hypothesis and its refutation clause, the tested-before-spec section — never by the English heading.
# {Feature name}
## Problem
{2–4 sentences: the pain, its cost, and why now.}
> Evidence: "{quote or paraphrase}" — {persona}, {insight or interview file}
## Who it's for
{The persona(s) this serves, by name, with one line on why them.}
## User journey
{The primary persona's path, from their point of view:}
1. **Trigger** — {what happens in their life/work that starts the journey}
2. {step} — {what they do, what they see}
3. …
N. **Outcome** — {the moment they get the value; what is different now}
## Critical user stories
### {Story title}
As {persona name}, I want {action}, so that {benefit}.
Acceptance criteria:
- [ ] {observable, testable condition}
- [ ] …
Traces to: {insight title or file}
## Hypothesis
We believe {users} will {behavior} because {motivation}.
We're wrong if {observable signal}.
## Alternatives considered
{Only when the idea comes from `/explore-solutions`. One link and one line per alternative — the comparison lives in the solutions file, not here.}
Explored in: product/solutions/{file}
- {alternative} — discarded: {reason}
- {alternative} — parked: {reason}
## Tested before spec
{Only when the alternative has a tests file. One link and one line per test — the analysis lives in the tests file, not here. A spec decision that changed what a test covered says so.}
Tested in: product/tests/{file}
- T1 {test name} — passed (real, n=…) · {belief}
- T2 {test name} — failed (synthetic, rehearsal) · {belief}
- {or} riskiest belief not tested (declared)
- {if applicable} T{n} — result no longer applies: {what this spec changed}
Metrics: product/metrics/{file}
{Only once `/design-metrics` has defined them — one line, the metrics are never repeated here. Without a Tested-before-spec section, the line goes right after the Hypothesis.}
## Assumptions
{References to `product/overview.md` — the single belief registry; the spec keeps no separate list.}
- [feature: {slug}] [{risk}] {belief as registered} {— owner: {role}, only when it differs from the default}
Assumptions live in product/overview.md — the single belief registry — tagged [feature: {slug}]; the spec's Assumptions section references them and never keeps its own list. New assumptions surfaced while drafting are proposed to the registry with the user's approval. Classify each by risk, one of four fixed English tokens:
| Risk | The question it carries | Default owner |
|---|---|---|
[value] | Do they want it — does it solve a problem they care about? | PM |
[usability] | Can they figure out how to use it? | UX |
[feasibility] | Can we build it with the time, skills, and tech we have? | Tech |
[viability] | Does it work for the business — revenue or sponsorship? | PM |
The owner derives from the risk; write it down only when the real owner differs from the default. Every assumption needs a nameable owner — an assumption nobody owns is an assumption nobody will test.
exposure-plans decomposes — a spec without it can't be sliced.solutions explored: no (declared).solution-testing skill), the spec links it under Tested before spec with one line per test — result and provenance — and keeps the tested version: the mechanism, who does what, the behavior measured, the segment. A spec decision that changes one of them invalidates that test's result; the spec says so in the same section (result no longer applies), and the belief is unverified again for the new version. An alternative that came from an exploration and was never tested declares it: riskiest belief not tested (declared).product-metrics skill), the spec carries one Metrics: product/metrics/{file} line next to Tested before spec; the definitions live in the metrics file.Save to product/specs/{YYYY-MM-DD-HHMM}-{slug}.md — the timestamp is the creation date, so specs sort chronologically. Revise in place without renaming: after a critique panel, edit this file rather than creating a new one.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
feature-spec, prd, user-stories, acceptance-criteria, product-management
npx claudepluginhub alaimo-labs/ai-first-skills --plugin afpm41 skills in this plugin
/analyze-feedbackAnalyze post-launch feedback (reviews, tickets, in-app survey comments, CS notes, social mentions) — tag each entry, group into themes with counts, severity and verbatims, and, when a metrics analysis exists, say which of its hypotheses the feedback supports or contradicts. Works on its own too/analyze-metricsCompute the four AARS metrics of a feature from usage data with the definitions in its metrics file, plus the funnel and the retention curve, mark which metric is below target, and propose ranked hypotheses for why. Metrics are designed with /design-metrics; feedback is read next with /analyze-feedback/analyze-solution-testsAnalyze the results of solution tests against the thresholds set before they ran, decide per alternative whether it continues, changes, or is discarded, and update the tests file, the solutions file, and the belief registry with approval. Tests are designed with /design-solution-testsOther plugins' skills for the same job