product-specs-writer
Expert product specification and documentation writer. Use when creating PRDs, user stories, acceptance criteria, technical specifications, API documentation, edge case analysis, design handoff docs, feature flag plans, or success metrics. Covers the full spectrum from high-level requirements to implementation-ready specifications.
What this skill does
# Product Specs Writer Comprehensive product documentation expertise — from strategic PRDs to implementation-ready specifications that engineering teams can actually build from. ## Philosophy Great product specs bridge the gap between **vision and execution**. They're not bureaucratic documents; they're **communication tools** that align teams and prevent expensive misunderstandings. The best product specifications: 1. **Start with the why** — Context before requirements 2. **Are testable** — Every requirement has clear acceptance criteria 3. **Anticipate questions** — Edge cases, errors, and constraints documented upfront 4. **Evolve with the product** — Living documents, not static artifacts 5. **Respect the reader** — Engineers, designers, and stakeholders can all understand them ## How This Skill Works When invoked, apply the guidelines in `rules/` organized by: - `prd-*` — Product Requirements Documents, vision, scope - `stories-*` — User stories, personas, jobs-to-be-done - `criteria-*` — Acceptance criteria, definition of done - `technical-*` — Technical specifications, architecture decisions - `api-*` — API specifications, contracts, versioning - `edge-*` — Edge cases, error handling, failure modes - `design-*` — Design handoff, component specs, interactions - `rollout-*` — Feature flags, rollout plans, experiments - `metrics-*` — Success metrics, KPIs, measurement plans - `maintenance-*` — Documentation lifecycle, versioning, deprecation ## Core Frameworks ### Specification Hierarchy ``` ┌─────────────────────────────────────────┐ │ VISION │ ← Why are we building this? │ (Problem & Opportunity) │ ├─────────────────────────────────────────┤ │ PRD │ ← What are we building? │ (Requirements & Constraints) │ ├─────────────────────────────────────────┤ │ USER STORIES │ ← Who benefits and how? │ (Personas & Journeys) │ ├─────────────────────────────────────────┤ │ ACCEPTANCE CRITERIA │ ← How do we know it's done? │ (Testable Conditions) │ ├─────────────────────────────────────────┤ │ TECHNICAL SPECS │ ← How do we build it? │ (Architecture & Implementation) │ └─────────────────────────────────────────┘ ``` ### Document Types by Audience | Document | Primary Audience | Purpose | Update Frequency | |----------|------------------|---------|------------------| | **PRD** | Leadership, PM, Design | Align on what and why | Per milestone | | **User Stories** | Engineering, QA | Define scope and value | Per sprint | | **Acceptance Criteria** | QA, Engineering | Define done | Per story | | **Technical Spec** | Engineering | Define how | Per feature | | **API Spec** | Frontend, External devs | Define contracts | Per version | | **Design Handoff** | Engineering | Define UI/UX | Per component | | **Rollout Plan** | Engineering, Ops | Define deployment | Per release | | **Success Metrics** | Leadership, Data | Define success | Per quarter | ### The INVEST Criteria (User Stories) | Criteria | Question | Example | |----------|----------|---------| | **I**ndependent | Can it be built alone? | No dependencies on unfinished stories | | **N**egotiable | Is scope flexible? | Details can be refined with engineering | | **V**aluable | Does user benefit? | Clear value proposition stated | | **E**stimable | Can we size it? | Enough detail to estimate effort | | **S**mall | Fits in a sprint? | Can be completed in 1-5 days | | **T**estable | Can we verify it? | Has clear acceptance criteria | ### Specification Completeness Checklist ``` PRD Completeness: ├── Problem Statement □ Clearly defined user pain ├── Success Metrics □ Measurable outcomes defined ├── User Stories □ All personas covered ├── Scope □ In-scope and out-of-scope clear ├── Constraints □ Technical and business limits stated ├── Dependencies □ External dependencies identified ├── Risks □ Known risks and mitigations ├── Timeline □ Milestones and deadlines set └── Open Questions □ Unknowns explicitly listed Technical Spec Completeness: ├── Architecture □ System design documented ├── Data Model □ Schema and relationships defined ├── API Contracts □ Endpoints and payloads specified ├── Edge Cases □ Failure modes documented ├── Security □ Auth, encryption, compliance covered ├── Performance □ SLAs and benchmarks defined ├── Monitoring □ Observability strategy clear └── Rollback Plan □ Recovery procedures documented ``` ### Error Handling Taxonomy | Error Type | Example | Documentation Required | |------------|---------|------------------------| | **Validation** | Invalid email format | Error message, field highlighting | | **Authorization** | User lacks permission | Error state, escalation path | | **Resource** | Item not found | Empty state, recovery action | | **System** | Database timeout | Retry strategy, user feedback | | **Business Logic** | Insufficient balance | Error explanation, next steps | | **External** | Third-party API down | Fallback behavior, degraded mode | ## Specification Templates ### Minimal PRD Structure ```markdown # Feature: [Name] ## Problem What user problem are we solving? ## Solution High-level approach (1-2 paragraphs) ## Success Metrics - Primary: [Metric] from X to Y - Secondary: [Metric] from X to Y ## User Stories - As a [user], I want [goal] so that [benefit] ## Scope **In scope:** [List] **Out of scope:** [List] ## Open Questions - [ ] Question 1 - [ ] Question 2 ``` ### User Story Template ```markdown **As a** [persona/user type] **I want** [capability/action] **So that** [benefit/value] **Acceptance Criteria:** - Given [context], when [action], then [result] - Given [context], when [action], then [result] **Edge Cases:** - What if [edge case]? Then [behavior] **Out of Scope:** - [Explicit exclusion] ``` ## Anti-Patterns - **Spec by committee** — Over-collaboration produces vague documents - **Premature optimization** — Specifying implementation details too early - **Missing the why** — Requirements without context for decisions - **Kitchen sink scope** — Trying to solve everything in one release - **One-way documentation** — Specs that don't get updated as learnings emerge - **Assumption blindness** — Not documenting implicit assumptions - **Designer/Engineer telephone** — No direct communication, only docs - **Success theater** — Metrics chosen because they're easy, not meaningful - **Spec as contract** — Treating specs as unchangeable legal documents - **Documentation debt** — Outdated specs worse than no specs
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.