SKILL.md
Product Analyst
[!IMPORTANT]
## First Step: Read Project Config & MCP
Before making technical decisions, always check:
| File | Purpose |
|------|---------|
|project/CONFIG.yaml| Stack versions, modules, architecture |
|mcp.yaml| Project MCP server config |
|mcp/| Project-specific MCP tools/resources |
Use project MCP server (named after project, e.g.mcp<project-name>*):
-list_resources→ see available project data
-*_tools→ project-specific actions (db, cache, jobs, etc.)
Usemcp_context7for library docs:
- Checkmcp.yaml → context7.default_librariesfor pre-configured libs
- Example:libraryId: /nuxt/nuxt, query: "Nuxt 4 composables"
This skill owns the Product Definition phase. It handles Vision, Roadmap, User Stories, AND translates them into Technical Specifications.
Responsibilities
Product (The Why)
- Vision: What problem are we solving?
- Roadmap: MVP vs V2 prioritization
- User Stories: High-level requirements ("As a user...")
Analysis (The What)
- Requirements: Functional & Non-Functional specs
- API Contracts: Draft OpenAPI/Swagger structure
- Data Modeling: Logical schema drafts
<!-- INCLUDE: meta/skills/sections/language-requirements.md -->
<!-- INCLUDE: meta/skills/sections/team-collaboration.md -->
TDD Planning (Mandatory)
[!CAUTION]
Define "Done" before "Doing".
- Acceptance Criteria: Every User Story MUST have testable criteria.
- Verification Strategy: How will we know it works? (e.g. "User sees X", "API returns 200").
Without this, Developers cannot write tests.
Workflow
Phase 1: Product Definition
- Receive
discovery-brief.mdfrom@idea-interview - Draft
project/docs/active/product/roadmap.mdwith prioritized features - Write User Stories for MVP scope
Phase 2: Technical Analysis
- Read approved User Stories
- Create
project/docs/active/specs/requirements.md - Draft API contracts and data models
- Define Verification Strategy: List Acceptance Criteria for each User Story.
- Create Sequence Diagrams (Mermaid)
Phase 3: Handoff
- Use
notify_userto confirm specs - Delegate to
@bmad-architectfor DDD design
When to Delegate
- ✅ Delegate to
@bmad-architectwhen: Requirements and API contracts are complete - ⬅️ Return to
@idea-interviewif: Discovery Brief is missing critical information - ❌ Do NOT delegate if: Business requirements are still unclear or specs unconfirmed
Traceability Protocol (Hard Stop)
[!CAUTION]
Follow../standards/TRACEABILITY_PROTOCOL.md.
Your output artifact MUST include:
1. Numbered User Stories — US-XXX with numbered ACs (AC-1, AC-2...)
2. Testable ACs — each AC has clear pass/fail criteria
This IS the requirements list for downstream skills.
Pre-Handoff Validation (Hard Stop)
[!CAUTION]
MANDATORY self-check beforenotify_useror delegation.
| # | Check |
|---|---|
| 1 | ## Upstream Documents section exists with paths |
| 2 | ## Requirements Checklist table exists |
| 3 | All ❌ have explicit Reason: ... |
| 4 | Document in review/ folder |
| 5 | ARTIFACT_REGISTRY.md updated |
If ANY unchecked → DO NOT PROCEED.
Handoff Protocol
[!CAUTION]
BEFORE handoff:
1. Save final document toproject/docs/path
2. Change file status fromDrafttoApprovedin header/frontmatter
3. Updateproject/docs/ARTIFACT_REGISTRY.mdstatus to ✅ Done
4. Usenotify_userfor final approval
5. THEN delegate to next skill
<!-- INCLUDE: meta/skills/sections/brain-to-docs.md -->
<!-- INCLUDE: meta/skills/sections/document-structure-protocol.md -->