跳到正文
Skillpedia
任务与项目8.6k · #12421

requirements-writer

它能做什么

这项技能把产品经理粗略的思路,转化为一个功能的清晰需求文件。适合希望范围精确、有限的产品经理。

适用场景

  • ✓当你有一个粗略的功能想法,需要把它写成清晰的需求时。
  • ✓当已有早前的验证或背景文件,并且你希望据此编写需求时。
  • ✓当开发人员不断询问功能应该做什么,你需要把确切的成果写下来的时候。

技能链接

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把我关于新导出功能的笔记整理成清晰的需求,让开发人员可以据此开发。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会提出有针对性的问题,然后编写一个包含可观察成果和明确范围的文件。它会排除未来计划和锦上添花的内容,只描述现在要构建的部分。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.
常见问题

它会决定功能如何构建吗?

不会。它描述的是做什么和为什么做,而不是技术设计或数据库选择。

它生成什么文件?

该功能的一个 SPEC.md 文件。

如果我已经有较旧的需求怎么办?

这项技能会把旧文件保留为历史记录,并把有用的部分纳入新的 SPEC.md。

详情

作者的原始描述

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

repo: mvschwarz/openrig

热度

GitHub 星标
8.6k
排名
#12421
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能