By shinpr
Structure product context in your repo — hypotheses, validation, and PRDs that flow into implementation
Analyzes existing codebase objectively for facts about implementation, user behavior patterns, and technical architecture. Use when existing code needs to be understood without hypothesis bias. Invoked by recipe-discover, recipe-validate, and recipe-persona.
Decomposes hypotheses into testable assumptions, selects test methods, and designs bias-free validation. Use PROACTIVELY during recipe-validate to ensure validation design seeks disconfirming evidence. Context separation is critical for this agent.
Analyzes hypothesis groups to extract cross-cutting patterns, contradictions, and distilled learnings. Use during recipe-reflect for Tier 2/Tier 1 knowledge promotion. Context separation prevents individual hypothesis bias from distorting pattern recognition.
Reviews PRD for quality, completeness, and internal consistency against prd-standards. Use PROACTIVELY after PRD creation in recipe-define. Eliminates author's self-review bias through context separation.
Generates self-contained HTML prototypes for hypothesis validation. Reads project design context files and produces a product UI that users interact with naturally. Context separation ensures prototypes reflect product vision. Invoked by recipe-validate for Usability risk validation.
Defines structural design artifact formats — information architecture, user flows, content model, brand direction, and AI interaction model. Use when creating or reviewing structural design documents that precede prototype generation.
Provides Business Model Canvas, Value Proposition Canvas, and TAM/SAM/SOM market analysis frameworks. Use when assessing Viability risk, sizing markets, mapping value propositions, conducting competitive analysis, or identifying market gaps.
Integrates design principles, WCAG 2.2 AA accessibility, persona context, and state design into product decisions. Use when reviewing UX decisions, checking accessibility, applying design principles, or ensuring state coverage in acceptance criteria.
Manages hypothesis lifecycle, enforces validation criteria, time budgets, and confidence scoring rules. Use when creating hypotheses, updating confidence scores, setting validation criteria, handling timeouts, or recording validation results.
Defines PRD structure, user story format with 4 Risks assessment, EARS-format acceptance criteria, and delivery readiness thresholds. Use when writing PRDs, drafting user stories, defining acceptance criteria, or reviewing PRD quality and completeness.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that structures product context in your repo before implementation begins. Hypotheses, validation results, and PRDs live alongside your code — so when Claude builds your feature, it has access to rejected alternatives, unvalidated assumptions, and the evidence behind each decision.
Works standalone, or paired with claude-code-workflows for a full discovery-to-implementation cycle:
[claude-code-discover] → PRD + Prototypes → [claude-code-workflows]
Discovery phase Implementation phase
When you ask an AI coding assistant to build a feature, it generates code without knowing what alternatives were ruled out, which assumptions are untested, or what user research shaped the requirements. Discovery artifacts typically live in Notion, Figma, or Slack — invisible to your coding tools. This plugin brings them into the repo where Claude can read them.
Vision & Personas ← who you're building for and why
↓
Opportunities ← your hypotheses structured with validation plans
↓
Blueprint ← IA, user flows, content model, brand direction + visual tokens
↓
Hypothesis Files ← testable assumptions with success/failure criteria
↓
Validation ← assumption decomposition + HTML prototypes
↓
PRD ← each user story traced to evidence
Each recipe is a step in this cycle. Run them in order or jump to where you need:
| Recipe | What it does |
|---|---|
/discover:recipe-vision | Define product vision, outcomes, and North Star Metric |
/discover:recipe-persona | Create personas with JTBD, pains/gains, and behavioral data |
/discover:recipe-discover | Structure your hypotheses into Opportunities with validation plans |
/discover:recipe-blueprint | Define structural design foundation — IA, user flows, content model, brand direction with visual tokens, AI interaction model |
/discover:recipe-refine-visuals | (Optional) Design expert refines auto-derived visual tokens in brand direction |
/discover:recipe-validate | Decompose assumptions, design falsifiable tests, generate HTML prototypes |
/discover:recipe-reflect | Extract learnings, promote knowledge across the hierarchy |
/discover:recipe-define | Generate a PRD from validated hypotheses with confidence scores |
Each validation produces:
Two agents work in separate contexts:
The context separation is deliberate. The verifier designs tests that can fail. The prototype generator builds a product UI without test infrastructure leaking in.
The PRD that recipe-define produces follows the standard structure that claude-code-workflows expects. Discovery extensions (hypothesis references, 4 Risks confidence per user story, unvalidated assumptions) are additive — they provide context without breaking compatibility. Prototypes generated during validation can be passed to the UI Spec designer as design references.
# Discovery phase (this plugin)
/discover:recipe-define → docs/prd/feature-prd.md
npx claudepluginhub shinpr/claude-code-workflows --plugin discoverSub-agent runner — runs agent definitions on Codex, Claude Code, Cursor CLI, or Gemini CLI from any host AI tool.
Detects shortcut-taking behavior and guides Claude to follow procedures step by step
Decomposes requirements into Linear-ready tasks with interactive quality gates and dependency mapping
Agent-first PM toolkit with 9 specialist agents and 18 skills for solo developers and small teams
Senior product manager for requirements analysis, user research, and PRD creation
Product discovery skills for PMs: ideation, experiments, assumption testing, feature prioritization, and customer interview synthesis.
Business analysis toolkit: competitive analysis, UX strategy artifacts, market sizing, canvas, PRD, personas
Advanced PM skills: AI Product Canvas, Multi-Source Signal Synthesiser, Experiment Designer, Design Handoff Brief. For senior PMs working on complex or AI-powered products.
Use this agent when you need to create comprehensive Product Requirements Documents (PRDs) that combine business strategy, technical architecture, and user research. Examples: <example>Context: The user needs to create a PRD for a new feature or product launch. user: "I need to create a PRD for our new user authentication system that will support SSO and multi-factor authentication" assistant: "I'll use the prd-specialist agent to create a comprehensive PRD that covers the strategic foundation, technical requirements, and implementation blueprint for your authentication system."</example> <example>Context: The user is planning a major product initiative and needs strategic documentation. user: "We're launching a mobile app for our e-commerce platform and need a detailed PRD to guide development" assistant: "Let me engage the prd-specialist agent to develop a thorough PRD that includes market analysis, user research integration, technical architecture, and implementation roadmap for your mobile app initiative."</example>