/nanopm:pm-discoveryfrom nanopm
Guides product discovery: maps opportunity space, surfaces riskiest assumptions, and designs cheapest tests. Run before pm-challenge-me when pre-product, pivoting, or unsure about a feature.
Ships in nanopm. 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.
Multi-host portability rules. When invoking
AskUserQuestion:
- The
headerfield MUST be a short noun phrase (≤ 12 characters). Mistral Vibe rejects longer headers withstring_too_long. Pick from:Start,Target,Scope,Audience,Methodology,Feature,Question.- The
optionslist MUST have at least 2 items. Vibe rejects empty/single-option calls. For free-text input, always provide ≥ 2 framing options (e.g.Yes, here's the input/Skip) — never callask_user_questionwithoptions: [].
This skill has two modes. Pick based on what the user is asking for:
/pm-add-feedback's job,
not this skill's.)If it's ambiguous, default to Map mode and offer prep mode at the end.
source ~/.nanopm/lib/nanopm.sh 2>/dev/null || \
source .nanopm/lib/nanopm.sh 2>/dev/null || \
{ echo "ERROR: nanopm not installed. Run: curl -fsSL https://raw.githubusercontent.com/nmrtn/nanopm/main/setup | bash"; exit 1; }
nanopm_preamble
Run /pm-discovery when:
Run /pm-challenge-me when you already know what you're building and want to assess it.
source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_context_read pm-discovery
nanopm_context_read pm-discovery
If prior discovery entry found: "Prior discovery from {ts}. This run will build on it."
Ask via AskUserQuestion to frame the discovery question. Multi-host hosts (Vibe, Codex) require ≥2 options — provide a category picker, then collect the specific question as free-text in the chat after.
Scope (≤12 chars)After the choice, prompt directly (no tool call): "OK, you picked {category}. Now state the specific question this discovery should answer, in one sentence." Capture that as _DISCOVERY_QUESTION.
This answer scopes everything that follows. Don't proceed with a vague answer — push for a specific question the discovery should answer.
With _DISCOVERY_QUESTION captured, search the wiki for related opportunities and personas before
mapping the opportunity space — so this run builds on existing context rather than starting from zero.
source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_wiki_search "$_DISCOVERY_QUESTION" opportunity 5
source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_wiki_search "$_DISCOVERY_QUESTION" persona 3
For each result, Read the full page (path column) before Phase 2. Never act on the 200-char
summary — the page body carries related evidence, provenance, and cross-links. If the searches
return NO_RESULTS, proceed as if no prior context exists. Fire 2–3 keyword variants if phrasing
of _DISCOVERY_QUESTION is abstract.
Ask as SEPARATE sequential AskUserQuestion calls — one call per question, never batched. Wait for the answer before asking the next. Skip if clearly answered by context.
Before Q1, pull the primary persona through the query primitive — one read-side call that synthesizes the relevant wiki pages, instead of a bespoke per-doc read (the recipe pattern: query → reasoning → ingest). The raw page stays out of this run; you reason over the cited synthesis the query returns. Print the prompt and dispatch it with the Agent tool (one subagent); on a host with no Agent tool, follow its steps inline.
source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_query_prompt "For product discovery, synthesize from the wiki: the primary persona this product is built for — their job title, situation, and the job-to-be-done they hire the product for; the current top-ranked open opportunities from the opportunity database (wiki/entities/opportunities/, by rank); the top open user-feedback themes; and the current product surface. Cite each claim, and name what's missing rather than inventing it." none
Reason over the returned synthesis:
/pm-personas to formalize it at the end.Q1: Who is the user you're focused on? "Describe the specific person you're trying to help. Not a category — a person. Job title, company size, situation they're in when they reach for your product. e.g., 'a solo founder about to hire their first sales rep' or 'an ops manager at a 50-person logistics company who's still running dispatch in a spreadsheet.'"
Push if the answer is categorical ("SMBs", "developers"). Ask: "Can you name an actual person — or describe someone you've talked to who fits this?"
Q2: What is the job they're hiring your product to do? "When they use your product, what are they really trying to accomplish? Not the feature — the outcome. What does success look like for them? e.g., 'stop worrying that something fell through the cracks' or 'look competent in front of their VP.'"
This is the functional + emotional job. Push past "use the feature" to what changes in their life.
Q3: What are they doing instead right now? "If your product doesn't exist — or doesn't cover this need — what do they do? The specific workaround. The spreadsheet. The Slack thread. The hiring of a person. What does that workaround cost them in time, money, or pain — and how often does the pain occur?"
This is the most important question. If the answer is "nothing" — probe harder. Someone solving a real problem always has a workaround, even if it's denial.
Q4: What would have to be true? "For your solution to win, what would have to be true about the user, the market, or the problem? List 2-3 beliefs your plan depends on. e.g., 'users are willing to pay $X/month for this', 'the workaround is painful enough to change behavior', 'the decision-maker and the user are the same person.'"
Stop after all four are answered. Don't ask more than four questions in this phase.
Synthesize the answers into an opportunity map. For each stated user job and workaround, identify:
Underserved outcomes — jobs the user is trying to do that existing solutions address poorly. Rate each: High / Medium / Low underservice.
Anxiety — what makes users hesitant to switch or adopt? (switching cost, trust, habits)
Constraints — what limits the solution space? (budget, tech, team size, time)
Do NOT propose solutions yet. Map the opportunity space only.
List all the assumptions the discovery direction rests on. For each, rate:
Format:
| Assumption | Importance | Confidence | Risk | Source |
|---|---|---|---|---|
| {belief} | {1-5} | {1-5} | {score} | {where it came from} |
Sort by risk score descending. The top 2-3 are what discovery must address.
For each high-risk assumption (top 3 from Phase 4), design the cheapest possible test:
Test design format:
Assumption: {the belief}
Risk score: {N}
Cheapest test:
What: {one specific action — not a project, an action}
Who: {who you need to talk to or observe}
Time/cost: {how long and what it costs}
Signal: {what result confirms the assumption}
Counter-signal: {what result would refute it}
Verdict by: {date — no more than 2 weeks out}
Examples of cheap tests:
Avoid: building anything, running surveys to hundreds of people, waiting for "enough data."
Write $(nanopm_wiki_doc_path discovery) (.nanopm/wiki/docs/discovery.md). Begin the file with frontmatter from nanopm_wiki_doc_frontmatter pm-discovery user-stated "$(date +%Y-%m-%d)" "{sources}", then the body below:
# Product Discovery
Generated by /pm-discovery on {date}
Project: {slug}
Discovery question: {from Phase 1}
---
## The User
{Who they are, what job they're hiring a product to do, emotional + functional outcome.
Specific enough that you could email this person.}
---
## The Status Quo
{What they do today when the solution doesn't exist or doesn't fit.
The workaround, its cost in time/money/pain, and how often it occurs.}
---
## Opportunity Space
{2-3 underserved outcomes from Phase 3. Each rated High/Med/Low.
Not solutions — observations about where the pain is greatest and why existing approaches fall short.}
---
## Assumption Inventory
| Assumption | Importance | Confidence | Risk | Source |
|------------|-----------|------------|------|--------|
{rows from Phase 4, sorted by risk}
---
## Tests to Run
### Test 1 (highest risk assumption)
{test design from Phase 5}
### Test 2
{test design from Phase 5}
### Test 3 (if needed)
{test design from Phase 5}
---
## What NOT to build yet
{Explicitly: what directions this discovery ruled out, or put on hold until tests return results.
Building before the top assumptions are tested is how startups waste 6 months.}
---
## Recommended Next Skill
**Run tests first. Then: /pm-challenge-me**
Once the top 2-3 assumption tests return results, run /pm-challenge-me with the validated understanding
of who the user is and what they actually need. The challenge session will be significantly sharper.
{If tests already run / evidence already exists: "Evidence is sufficient — run /pm-challenge-me now."}
---
*Sources: user answers, prior context, opportunity analysis*
source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_context_append "{\"skill\":\"pm-discovery\",\"outputs\":{\"discovery_question\":\"$(head -5 \"$(nanopm_wiki_doc_path discovery)\" | grep 'Discovery question' | cut -d: -f2- | xargs | tr '\"' \"'\" | head -c 100)\",\"top_risk\":\"$(grep -A1 'Assumption Inventory' \"$(nanopm_wiki_doc_path discovery)\" | tail -1 | tr '\"' \"'\" | head -c 100)\",\"next\":\"pm-challenge-me\"}}"
nanopm_wiki_doc_log pm-discovery "wrote docs/discovery.md" # global heartbeat: this page write -> wiki/log.md
Run this when the user wants a hypothesis-driven interview guide to take into a live user call,
rather than the full opportunity-mapping flow. The output is a prep deliverable for the human — a
compass for the conversation. This mode writes nothing: no wiki page, no opportunity entry, no
feedback writeback. (When the user comes back from the call with notes or a transcript, that's
/pm-add-feedback — it imports, extracts signal, and updates the wiki. Point them there at the end.)
The goal of an interview is never to pitch. The goal is to collect specific stories from the past that reveal real behavior.
This mode draws from four recognized approaches:
If you arrived here straight from Map mode, reuse the user definition, jobs, workarounds, and assumptions you already gathered (Phases 2 & 4) — don't re-ask. Otherwise pull prior context and the primary persona through the query primitive (same call shape as Phase 2 above), then ask via AskUserQuestion:
"What are you trying to learn from this interview?
Be specific — name the assumption or behavior you want to understand.
Good examples:
Bad examples (too vague):
If a prior discovery or challenge session surfaced a top-risk assumption, suggest it as the default focus. Let the user confirm or override.
From the focus, extract or infer:
Ask via AskUserQuestion:
"Who is the person you're interviewing?
If you don't have someone yet, I can write a recruitment message."
If no subject yet: write a 3-sentence recruitment message (LinkedIn or Slack) targeting the ideal profile from the persona / discovery context. Include: who you're looking for, what you want to talk about (problem, not your solution), and a clear ask (30-min call).
Interview type detection: Based on the relationship to the problem, classify the session:
Generate a complete, ready-to-use interview guide. The guide is a compass, not a script (Constable) — questions are ordered by criticality, most important hypotheses first.
Set the frame:
"Thanks for making time. I'm trying to understand your experience with [problem area] — I'm not here to pitch anything, just to learn. I'll ask you about specific situations you've been in, not hypothetical scenarios. Mind if I take notes?"
Warm-up:
"Tell me a bit about your role and what [relevant activity] looks like in a typical week."
Pick ONE behavior most likely to reveal the assumption. Anchor to a real past event:
"I'd love to start with a specific situation. Tell me about the last time you [specific behavior]."
Generate 5–7 questions based on the interview type and focus. Apply these rules for every question:
Mom Test rules (Fitzpatrick):
Mandatory questions (always include):
Workaround question: "How are you handling [the problem] right now? Walk me through exactly what you do." → Reveals your real competition. If the answer is "nothing," probe harder — someone with a real problem always has a workaround.
Implication question: "What happens if you don't solve this? What does it cost you — time, money, stress?" → Separates a real problem from a minor irritant. No real cost = weak signal.
Alternative question: "What else have you tried? What did you like or hate about it?" → Reveals the competitive landscape and pricing anchor.
For JTBD Switch sessions (Moesta), follow the 6 stages:
Map the four forces during the session:
Probing techniques (NNG funnel):
For each of the top 3 critical hypotheses, include one targeted question. Order these by criticality — most important first (Constable: if the call cuts short, you've still tested the most critical hypothesis).
Format:
Hypothesis: [belief]
Question: [specific behavior-based question to test it]
Confirmation signal: [what answer would confirm it]
Refutation signal: [what answer would refute it]
"Is there anything about [problem area] you expected me to ask that I didn't?" "Who else do you think I should talk to? Could you introduce me?" "What would be most useful for me to send you as a follow-up?"
Forward action (Alvarez): always end with a specific next step — an intro, a follow-up session, or sharing a prototype later.
| What to avoid | Why |
|---|---|
| "Would you use X?" | Produces false positives — people say yes to be polite |
| Pitching before the core questions | Biases every answer that follows |
| Interpreting aloud while they talk | Shuts down their train of thought |
| Asking compound questions | Interviewee answers only the easiest part |
| Accepting vague answers without probing | "It was frustrating" tells you nothing |
| Asking about hypothetical futures | Behavior prediction is unreliable |
Tell the user:
"Guide ready. Recommended duration: 30–45 min. The questions are ordered by importance — if the call runs short, you've still covered the most critical hypothesis.
When you're done with the call, run /pm-add-feedback with your notes (or your Granola transcript) — it extracts the signal and updates the wiki Feedback page."
This mode ends here. It writes nothing to the wiki.
STATUS: DONE
Tell the user:
.nanopm/wiki/docs/discovery.md/pm-challenge-meSTATUS: DONE
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nmrtn/nanopm --plugin nanopm26 skills in this plugin
/pm-add-feedbackThe single ingestion door for raw user signal. Accepts a file path, pasted text (--paste), or a connector source (Granola, Dovetail, Google Drive, tickets), archives it verbatim under .nanopm/raw/<type>/<id> before extraction, applies a Mom-Test discovery filter to pull problems + verbatim quotes, then runs the learning loop: Pass 1 grounds EXISTING opportunities (append verbatim, propose a provenance upgrade toward evidence-backed), Pass 2 surfaces NEW strategy-coherent opportunities. Every grounded/created opportunity is bidirectionally linked to its raw source, and the run ends with a machine-readable run-summary. One batched human confirmation before writes; headless (viewer) runs fall back to write-then-review with ⚠ low-confidence./pm-archiveArchive one entity (opportunity, solution, objective, competitor, or persona) with a polished, contextual reason sentence. Argument: <type>/<slug> (e.g. opportunity/cold-start-context or solution/inline-viewer-pane). User context: the raw reason and kind — 'implemented: ...', 'dropped: ...', 'absorbed: ...' for opportunities/solutions; 'completed: ...', 'abandoned: ...' for objectives; 'defunct: ...', 'pivoted: ...', 'irrelevant: ...' for competitors; 'outgrown: ...', 'dropped: ...' for personas./pm-brainstormJam with Nano, your expert CPO. An informal, context-loaded thinking partner for product ideas, user problems, and what-to-build-next — Nano knows your company context and current objectives, no gate, no PRD. Sessions are named and resumable via your host's native session resume./pm-breakdownBreak a PRD into engineering tasks and hand off to one of six peer targets: Linear, GitHub Issues, OpenSpec, gstack, Symphony (OpenAI's orchestrator), or Human-readable markdown. No preferred default — you pick the target./pm-business-modelDefine how the company makes money. Reverse-engineers the business model from pricing pages, prior nanopm artifacts, and the codebase when they exist, or builds it from scratch by interviewing you when the repo is empty. Produces the wiki Define page `.nanopm/wiki/docs/business-model.md` — model type, revenue streams, pricing & packaging, and GTM motion./pm-challenge-meChallenge Me. Adversarial product challenge: a skeptical-CPO read of what you're building, who for, and the biggest strategic gap — then three direct challenges you should answer, starting with the question you're avoiding. Produces .nanopm/wiki/docs/challenges.md.Other plugins' skills for the same job