From codebrain
Use BEFORE writing a PRD. Structured problem discovery that validates whether a feature is worth building. Asks who has the problem, how painful it is, what alternatives exist, and what success looks like. Outputs an opportunity statement. Prevents building things nobody wants.
npx claudepluginhub chrsmay/codebrain-plugin --plugin codebrainThis skill uses the workspace's default tool permissions.
Problem framing before any planning begins. Validates the problem is real, painful, and worth solving.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Problem framing before any planning begins. Validates the problem is real, painful, and worth solving.
/codebrain:discover [feature idea]
Most MVPs fail not because of bad code but because they solve the wrong problem. Discovery forces you to answer "is this worth building?" BEFORE investing time in PRDs, specs, and code.
Ask these questions ONE AT A TIME. Wait for each answer before proceeding:
Based on the answers, generate a structured opportunity statement:
# Opportunity Statement: [Feature Name]
## Problem
[Who] experiences [problem] when [context]. Currently they [workaround], which is [pain level] because [reason]. This occurs [frequency].
## Evidence
- [User quote or data point 1]
- [User quote or data point 2]
- [Competitive gap identified]
## Proposed Solution (High-Level)
[1-2 sentences — WHAT, not HOW]
## Success Metrics
- [Metric 1: measurable outcome]
- [Metric 2: measurable outcome]
## Smallest Viable Version
[The ONE thing that delivers value]
## Non-Goals (Explicitly Not Building)
- [Feature that's tempting but not essential]
- [Nice-to-have that would delay shipping]
## Risk Assessment
- **Biggest risk:** [what could make this fail]
- **Mitigation:** [how to reduce that risk]
## Appetite
[How much time are you willing to invest? 1 day? 1 week? 6 weeks?]
.codebrain/epics/{slug}/discovery.md via MCP tools.codebrain/active/discovery.mdPresent the opportunity statement and ask:
/codebrain:prd as the next step.codebrain/memory/decisions.md (knowing what NOT to build is valuable)