Generate buildable product specs for validated opportunities
Generates detailed product specifications for validated opportunities with pricing models and technical requirements.
/plugin marketplace add JesseHenson/claude_code_apex_marketplace/plugin install mcp-opportunity-pipeline@claude-code-apex-marketplaceGenerate buildable product specifications for top validated opportunities.
Requires outputs/validate/validated-opportunities-*.json from Stage 3.
Parse from user input:
--select: "top-N" or comma-separated names (default: top-3)--target: apify | smithery | npm (default: apify)Use the spec-generator agent to:
Load latest validated opportunities from outputs/validate/
Select opportunities:
For each selected opportunity, generate:
a. Overview
b. Core Features (MVP)
c. Differentiation
d. Pricing Model (Apify PPE)
e. Technical Requirements
f. Success Metrics
g. Walkthrough: Reproducing the Problem
Save to outputs/{name}/spec.md
# MCP Server Spec: {name}
## Overview
{problem_statement}
{solution_summary}
## Target User
- User type and context
- Pain points they experience
- Current workarounds
## Core Features (MVP)
1. Feature 1 - description
2. Feature 2 - description
3. Feature 3 - description
## Differentiation
- Point 1 (vs competitor X)
- Point 2 (vs competitor Y)
## Pricing Model (Apify PPE)
| Event Type | Price | Description |
|------------|-------|-------------|
| actor-start | $0.005 | Per run |
| {event} | ${price} | {desc} |
## Estimated User Value
- Small user: {calculation}
- Medium user: {calculation}
- Large user: {calculation}
## Technical Requirements
- API: {apis}
- Dependencies: {deps}
- Architecture: {notes}
## Success Metrics
- Target: {users} active users in {timeframe}
- Target: {events}/month = ${revenue}/month net
---
## Walkthrough: Reproducing the {Problem}
### Step 1: Set Up the Current Tool/Competitor
- How to install/configure the existing solution
- Authentication and basic setup
- Verify it works
### Step 2: Create Test Data
- How to create data that exposes the limitation
- Minimum viable dataset to reproduce
### Step 3: Reproduce the Problem
- Step-by-step commands/actions
- What error/limitation occurs
- Show actual output vs expected output
### Step 4: Current Workarounds
- How users currently work around this
- Why workarounds are painful
### Step 5: What Our Solution Does Differently
- Same scenario with our tool
- Before/after comparison
- Code example if applicable
---
## References
- Validation evidence: `outputs/validate/validated-opportunities-{date}.json`
- API docs: {relevant_api_docs}
Run /mcp-pipeline:build to scaffold and implement the MCP server.