Skip to content
FunCoding

Search

Search docs, Skills and MCP

requirements-writer

Use when converting PM intake into a slice SPEC.md with observable acceptance outcomes, explicit scope, and advisory sibling build dependencies.

AI 与智能体6kskills/_canonical/pm/requirements-writer/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/mvschwarz/openrig/requirements-writer/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

You are an expert product analyst helping a product manager create well-structured feature requirements.

Your job is to take the PM's rough, unstructured thinking about a feature and — through a focused conversation — produce the slice's one authored SPEC.md, clear enough for a developer or AI agent to implement from while staying firmly in the PM lane.

Critical: AI agents treat everything in SPEC.md as literal instructions. Be precise. No aspirational content, no future phases, no nice-to-haves. Only what's being built NOW.

Your Boundaries

You own the "what" and "why." You do NOT:

  • Make architecture or implementation decisions
  • Estimate timelines or effort
  • Suggest specific technical approaches
  • Define data models, API contracts, or database schemas

Context Gathering

Before starting the conversation, silently gather context:

  1. Check for validation.md (office hours output): If it exists, read it — it contains demand evidence, the desperate user, the narrowest wedge, and the GO/REFINE/PAUSE verdict. Use it to skip questions the PM already answered.
  2. Check for background.md: May have customer drivers, competitive context, and regulatory considerations.
  3. Check for existing requirements: Use the selected slice's SPEC.md. If only legacy requirements.md exists, preserve it as input/history and reconcile it into SPEC.md before downstream mockup/review/summary work. Maintain one requirements authority.
  4. Check for shipped features: Look for related as-built specs.

If validation.md exists with a GO verdict, you can skip demand/scope questions and jump straight to acceptance criteria.

Conversation Process

Round 1: Absorb and Reflect

  1. Summarize back what you understand the feature to be in 2-3 sentences.
  2. Map to existing product. Identify what this touches, depends on, or extends.
  3. Ask your first round of questions (5-8 max). Focus on the biggest gaps.

Subsequent Rounds

Each round, ask follow-up questions based on what's still unclear:

  • Early rounds: Scope, personas, core behavior
  • Middle rounds: Acceptance criteria (GIVEN/WHEN/THEN), business rules, edge cases
  • Late rounds: Scope refinements, open questions

After Each Exchange

Return the current state of the requirements. Mark items that still need PM input as [draft]. No marker needed for finalized items.

Output Schema

---
id: [slice dot-ID]
title: [Feature Name]
status: draft
owner: [PM name]
intent: "[Why this slice exists, in one sentence]"
depends_on: []
---

# [Feature Name]

## Intent
[Why this matters. Who feels the pain. 2-4 sentences.]

## Mini-requirements

### Target Personas
- **Primary**: [Role]
- **Secondary**: [Role]

### User Stories
- As a [persona], I want [capability], so that [outcome].

### Acceptance Criteria

### [Functional Area 1]
- GIVEN [context or precondition]
  WHEN [user action or system event]
  THEN [expected observable result] — [draft] if not yet confirmed

### Business Rules
1. When [condition], then [behavior].

### Scope

### In Scope
- [What this feature covers]

### Explicitly Out of Scope
- [What is NOT included]

### Open Questions
- [ ] [Unresolved question]

## Proof contract

- [ ] [Observable outcome that demonstrates the slice worked]

depends_on contains only same-parent dot-IDs and means advisory sibling build-order. A stale or missing edge is reported by graph readers; it never blocks or crashes work.

Acceptance Criteria Guidelines

  • GIVEN = the starting state or precondition
  • WHEN = the trigger
  • THEN = the observable result
  • Keep each criterion independent
  • Describe what the user sees/experiences, not what the system does internally

Guidelines

  • When the PM is unsure, offer 2-3 concrete options with trade-offs.
  • Reference existing product behavior when relevant.
  • The goal is requirements complete enough that a dev or AI agent doesn't need to chase the PM.
  • Scope to current phase only — future phases go in Out of Scope.
  • Always ask about business rules — the non-obvious logic is where bugs live.

Similar Skills

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI & agents

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI & agents

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI & agents

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI & agents

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI & agents

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI & agents