requirements-writer
Skill này làm gì
Skill này biến suy nghĩ thô của quản lý sản phẩm thành một file yêu cầu rõ ràng cho một tính năng. Skill dành cho quản lý sản phẩm muốn phạm vi chính xác và giới hạn.
Khi nào nên dùng
- ✓Khi bạn có ý tưởng tính năng thô và cần viết nó thành yêu cầu rõ ràng.
- ✓Khi đã có file kiểm chứng hoặc nền tảng trước đó và bạn muốn xây yêu cầu từ đó.
- ✓Khi lập trình viên liên tục hỏi tính năng nên làm gì và bạn cần ghi kết quả cụ thể.
Liên kết skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến ghi chú của tôi về tính năng xuất dữ liệu mới thành yêu cầu rõ ràng để lập trình viên có thể xây dựng theo.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đặt vài câu hỏi có trọng tâm, rồi viết một file với các kết quả quan sát được và phạm vi rõ ràng. Nó bỏ các kế hoạch tương lai và những thứ chỉ là điều tốt nếu có, nên chỉ mô tả những gì được xây dựng bây giờ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
- 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.
- Check for background.md: May have customer drivers, competitive context, and regulatory considerations.
- Check for existing requirements: Use the selected slice's
SPEC.md. If only legacyrequirements.mdexists, preserve it as input/history and reconcile it intoSPEC.mdbefore downstream mockup/review/summary work. Maintain one requirements authority. - 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
- Summarize back what you understand the feature to be in 2-3 sentences.
- Map to existing product. Identify what this touches, depends on, or extends.
- 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.
Câu hỏi thường gặp
Skill có quyết định cách xây dựng tính năng không?
Không. Skill mô tả cái gì và vì sao, không phải thiết kế kỹ thuật hay lựa chọn cơ sở dữ liệu.
Skill tạo file nào?
Một file SPEC.md duy nhất cho tính năng.
Nếu tôi đã có yêu cầu cũ thì sao?
Skill giữ file cũ như lịch sử và đưa các phần hữu ích vào SPEC.md mới.
Chi tiết
Mô tả gốc của tác giả
Use when converting PM intake into a slice SPEC.md with observable acceptance outcomes, explicit scope, and advisory sibling build dependencies.
repo: mvschwarz/openrig
Độ phổ biến
- Sao GitHub
- 8.6k
- Vị trí xếp hạng
- #12421
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-operated-software
8.6kGiúp agent của bạn thiết kế, xây dựng hoặc gỡ lỗi một ứng dụng đang chạy có backend là agent AI, như một lớp điều khiển agent bằng Markdown hoặc JSON.
agent-operated-workflows
8.6kGiúp agent của bạn quyết định một quy trình có ranh giới nên do agent AI hay code thông thường điều khiển, và cách tiếp tục từ bằng chứng đã xác minh.
applying-a-permission-policy
8.6kGiúp agent của bạn thiết lập quyền lệnh mà agent lập trình AI dùng khi cài đặt đội, để các lệnh thông thường chạy với ít lần xác nhận hơn.
claude-compaction-restore
8.6kGiúp agent Claude Code dựng lại bức tranh làm việc sau khi ngữ cảnh bị nén, bằng một bản đồ khôi phục đã lưu, transcript và các file nó đã chạm vào.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.