// Create user-centric product definitions by analyzing the repository, inferring product goals and user needs, clarifying ambiguities through structured questioning, and generating comprehensive product.md documentation. Use when the user mentions "product definition", "define product", "product strategy", or needs to document user personas, pain points, and user journeys.
| name | Define Product |
| description | Create user-centric product definitions by analyzing the repository, inferring product goals and user needs, clarifying ambiguities through structured questioning, and generating comprehensive product.md documentation. Use when the user mentions "product definition", "define product", "product strategy", or needs to document user personas, pain points, and user journeys. |
@.claude/shared-imports/CoD_Ī£.md @.claude/shared-imports/project-intel-mjs-guide.md
This skill generates user-centric product definitions (product.md) by combining intelligence-first repository analysis with structured user clarification.
Critical Boundary: product.md must be PURELY user-centric with NO technical implementation details.
Run intelligence queries to understand the codebase:
# Project overview
project-intel.mjs --overview --json
# Search for product signals
project-intel.mjs --search "README" --json
project-intel.mjs --docs "product" --json
Analyze:
Based on intelligence, infer:
Product Type:
Primary Users:
Core Problem:
If signals are conflicting or unclear, use AskUserQuestion tool:
Question Priority:
Question Format:
AskUserQuestion(questions=[{
"question": "Is this product primarily B2B or B2C?",
"header": "Product Type",
"multiSelect": False,
"options": [
{
"label": "B2B (Business-to-Business)",
"description": f"Enterprise/team product. Evidence: {b2b_signals}"
},
{
"label": "B2C (Business-to-Consumer)",
"description": f"Consumer-facing. Evidence: {b2c_signals}"
}
]
}])
For each persona, gather:
Demographics: Age range, location, tech savviness, accessibility needs
Pain Points (JTBD Framework):
**Pain #: [Short title]**
- **Pain**: [Specific frustration - be concrete]
- **Why it hurts**: [Impact: time lost, money wasted, stress caused]
- **Current workaround**: [How they cope today - tools, hacks, manual work]
- **Frequency**: [Daily, weekly, monthly]
Pain Resolution Mapping:
Pain 1 ā [Our Solution Feature] ā [Measurable Outcome]
Using CoD^Ī£ notation (from @.claude/shared-imports/CoD_Ī£.md):
Standard Journey:
Awareness ā« Interest ā« Research ā Decision ā« Onboarding ā First Use ā« First Value ā Habit
For each step, define:
Use template at @.claude/templates/product.md.
Include:
CRITICAL - Check for violations:
ā MUST NOT Contain:
ā MUST Contain:
Key Anti-Patterns:
| ā Wrong (Technical) | ā Right (User-Centric) |
|---|---|
| "We'll use React for fast UI" | "Users need responsive, lag-free interface" |
| "PostgreSQL for data integrity" | "Users need reliable, accurate data they can trust" |
| "Microservices for scale" | "Users need instant search across millions of items" |
| "OAuth 2.0 authentication" | "Users need to log in with company credentials" |
See complete B2B SaaS example:
This shows:
After product.md is created, use /generate-constitution to derive technical principles FROM the user needs documented here.
@.claude/shared-imports/project-intel-mjs-guide.md patterns@.claude/shared-imports/CoD_Ī£.md notation