Agent Skills: Product Analyst

Defines Vision, Roadmap, User Stories, and translates them into Technical Specs. Combines "The Why" with "The What".

UncategorizedID: ydnikolaev/antigravity-factory/product-analyst

Install this agent skill to your local

pnpm dlx add-skill https://github.com/ydnikolaev/antigravity-factory/tree/HEAD/src/skills/product-analyst

Skill Files

Browse the full folder contents for product-analyst.

Download Skill

Loading file tree…

src/skills/product-analyst/SKILL.md

Skill Metadata

Name
product-analyst
Description
Defines Vision, Roadmap, User Stories, and translates them into Technical Specs. Combines "The Why" with "The What".

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.)

Use mcp_context7 for library docs:

  • Check mcp.yaml → context7.default_libraries for 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)

  1. Vision: What problem are we solving?
  2. Roadmap: MVP vs V2 prioritization
  3. User Stories: High-level requirements ("As a user...")

Analysis (The What)

  1. Requirements: Functional & Non-Functional specs
  2. API Contracts: Draft OpenAPI/Swagger structure
  3. 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

  1. Receive discovery-brief.md from @idea-interview
  2. Draft project/docs/active/product/roadmap.md with prioritized features
  3. Write User Stories for MVP scope

Phase 2: Technical Analysis

  1. Read approved User Stories
  2. Create project/docs/active/specs/requirements.md
  3. Draft API contracts and data models
  4. Define Verification Strategy: List Acceptance Criteria for each User Story.
  5. Create Sequence Diagrams (Mermaid)

Phase 3: Handoff

  1. Use notify_user to confirm specs
  2. Delegate to @bmad-architect for DDD design

When to Delegate

  • Delegate to @bmad-architect when: Requirements and API contracts are complete
  • ⬅️ Return to @idea-interview if: 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 before notify_user or 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 to project/docs/ path
  2. Change file status from Draft to Approved in header/frontmatter
  3. Update project/docs/ARTIFACT_REGISTRY.md status to ✅ Done
  4. Use notify_user for final approval
  5. THEN delegate to next skill
<!-- INCLUDE: _meta/_skills/sections/brain-to-docs.md --> <!-- INCLUDE: _meta/_skills/sections/document-structure-protocol.md -->