.claude/skills/product-mgmt/SKILL.md
Feature design workflow — transform raw feature inputs (ideas, research, stakeholder requests, competitive analysis) into a structured PRD or feature brief. Applies product-manager role. Produces PRD, user stories, acceptance criteria, success metrics, and updates FEATURES.md. First step in the planning chain, precedes /architecture and /feature-plan.
npx skillsauth add avav25/ai-assets product-mgmtInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform raw feature inputs into structured product documentation. This is the product design phase — no code, architecture, or engineering decisions are made here. Output feeds into /architecture for technical design and /feature-plan for implementation planning.
Apply Agent(product-manager) role for all steps below.
Read CLAUDE.md (or AGENTS.md) at the project root to identify:
If the project has a FEATURES.md, read it for the current feature registry.
Gather all available resources describing the feature:
From the provided inputs, extract and organize:
| Signal | Source | Notes | |---|---|---| | Problem | [what pain exists, for whom] | [evidence or assumption] | | Opportunity | [what business value] | [data points] | | User segments | [who needs this] | [ICP/persona indicators] | | Competitive context | [how others solve it] | [differentiation angle] | | Constraints | [timeline, budget, technical, regulatory] | [hard vs soft] | | Existing assets | [related features, prior art, dependencies] | [links/refs] |
If critical signals are missing (no clear problem statement, no target user) — ask before proceeding. Do not invent user needs.
Define the problem with precision:
If evidence is weak — flag this as a risk. Do not fabricate data.
Apply JTBD and ICP frameworks from Agent(product-manager):
Based on complexity, decide the deliverable type:
| Complexity | Signals | Deliverable | |---|---|---| | Small | Single service, < 1 week effort, clear solution | Feature Brief (abbreviated PRD) | | Medium | Multi-component, 1–4 weeks, some unknowns | Full PRD | | Large | Multi-service, 4+ weeks, significant unknowns, new capabilities | Full PRD + Spike/Discovery tasks | | AI/Agent | LLM-powered, autonomous behavior, trust/safety concerns | Full PRD + Agent Contract + Eval Strategy |
Present the scope decision to the user for confirmation before proceeding.
List requirements prioritized using MoSCoW:
Each requirement: one sentence, testable, outcome-focused. Never specify implementation — describe what, not how.
Identify relevant NFRs:
| Category | Requirement | Target | |---|---|---| | Performance | [e.g., response time] | [e.g., < 200ms p95] | | Security | [e.g., auth, data protection] | [e.g., RBAC, PII encrypted] | | Scalability | [e.g., concurrent users] | [e.g., 10K concurrent] | | Accessibility | [e.g., WCAG level] | [e.g., WCAG 2.2 AA] | | Compliance | [e.g., GDPR, SOC2] | [specific requirements] |
Only include categories relevant to this feature.
Write acceptance criteria for every Must-have and Should-have requirement:
Define how to measure feature success:
| Metric Type | Metric | Target | Measurement Method | |---|---|---|---| | Primary (North Star) | [e.g., activation rate] | [target value] | [how to measure] | | Leading | [e.g., feature adoption D7] | [target value] | [how to measure] | | Guardrail | [e.g., error rate, latency] | [must not exceed] | [how to measure] |
| Risk | Type | Impact | Likelihood | Mitigation | |---|---|---|---|---| | [description] | Technical / Business / Security / Compliance | High/Med/Low | High/Med/Low | [strategy] |
Mandatory risk categories to evaluate:
Include this section only for AI-powered or agent features. Skip for standard features.
<agent_contract>
context-engineering skill for context stack design, RAG pipeline, memory architecture, agent harness patterns, and production checklistsCompile all sections into a structured PRD:
# PRD: [Feature Name]
## Problem Statement
[From Step 2a]
## Target Users
[From Step 2b — JTBD, ICP, personas]
## Scope and Non-Goals
[From Step 2c — what's in, what's explicitly out]
## Requirements
[From Step 3a — MoSCoW prioritized]
## Non-Functional Requirements
[From Step 3b]
## Acceptance Criteria
[From Step 3c]
## Success Metrics
[From Step 4]
## Risks and Mitigations
[From Step 5]
## Agent Contract
[From Step 6 — only for AI features]
## Rollout Strategy
- Phase 1: Internal / dogfood
- Phase 2: Beta (limited users, feature flag)
- Phase 3: GA (all users)
- Backward compatibility notes
- Feature flag name and config
Abbreviated format — single document:
# Feature Brief: [Feature Name]
**Problem**: [1–2 sentences]
**Users**: [target segment]
**JTBD**: When [situation], I want to [motivation], so I can [outcome]
## Requirements
[Must-have list only — max 5 items]
## Acceptance Criteria
[Given/When/Then for each requirement]
## Success Metric
[Single primary metric + target]
## Risks
[Top 1–3 risks with mitigations]
Present the compiled deliverable to the user for review. Iterate until approved.
After the PRD/brief is approved:
FEATURES.md does not exist — create it at the project rootplannedfeatures/ directoryfeatures/[feature-name].md (kebab-case)Guide the next step based on feature complexity:
| Complexity | Next Step |
|---|---|
| Small (brief) | Run /feature-plan directly — architecture is implicit |
| Medium (PRD) | Run /architecture for technical design, then /feature-plan |
| Large (PRD + spikes) | Execute spikes first, then /architecture → /feature-plan |
| AI/Agent (PRD + contract) | Run /architecture with agent contract as input → /feature-plan |
/architecture (technical design), /feature-plan (work decomposition)Agent(product-manager) (primary — owns PRD), Agent(solution-architect) (consulted for feasibility)context-engineering skill (context pipeline design, RAG, memory, agent harness — for AI/Agent features, Step 6)FEATURES.md, features/ directory/product-mgmt → /architecture → /feature-plan → /feature-devdevelopment
Use this skill when running the recurring (daily) knowledge-base rescan for a repo that already has knowledge/.knowledge-sync.yml — the main-thread dispatcher that reads the config, computes the git delta since last_scanned_sha, maps changed paths to affected doc areas, early-exits cheaply when nothing changed, then fans out one Agent(content-writer) per affected area, applies the propose/direct update policy, advances the baseline only on success, and writes an L4 run log — all with the G1 untrusted-content choke-point, secret-scan, deny-list, and budget controls woven in. For first-time setup use /knowledge-sync-init.
development
Use this skill when bootstrapping scheduled knowledge-base sync for a repo that has no knowledge/.knowledge-sync.yml yet — to run one-time setup that detects the knowledge_root from CLAUDE.md/AGENTS.md, maps doc areas to source globs, records opt-in external sources (Linear/Notion/WebFetch, all disabled by default), captures a baseline last_scanned_sha, sets the per-area update policy, generates or seeds knowledge/CONVENTIONS.md, provisions the L4 memory dir, and offers to register the daily routine. Routes ongoing recurring sync operations to /knowledge-sync.
tools
Use this skill when bootstrapping a target repository to be ai-skills-aware — on the first run of any ai-skills workflow in a fresh repo, when adopting the ai-skills plugin in an existing repo, or after upgrading to a plugin version that adds new memory paths or templates, including when the user does not say "init" but asks to "set up" or "onboard" the repo — to detect codebase type, create CLAUDE.md + AGENTS.md scaffolding, initialize the .ai-skills-memory/ directory tree from L1 templates, and configure .gitignore. Idempotent — safe to re-run. Accepts `--codebase-type <type>` and `--overwrite`. Not for re-initializing only memory — use `/memory-init` instead.
tools
Use this skill when extending, repairing, or improving plugin assets, when ingesting a `/feedback` report as a fix-cycle backlog, or when you do not remember which lower-level command is right for the job — the umbrella workflow for ai-skills plugin-asset authoring and maintenance: creating, auditing, fixing, improving, refactoring, and migrating skills, agents, rules, hooks, prompts, schemas, and rubrics inside the plugin. Auto-classifies the request, loads the right knowledge skills (`@prompt-engineering`, `@context-engineering`, `@team-protocols`), and spawns the right subagents (`prompt-engineer`, `system-architect`, `python-engineer`, `software-engineer`, `qa-engineer`, `eval-judge`) via the `Agent` tool.