product-direction
Skill này làm gì
Nó hướng dẫn agent của bạn đối chiếu một yêu cầu tính năng với các mục tiêu dự án đã ghi, rồi trả lời có, không hoặc chưa rõ kèm lý do. Nó dành cho người duy trì dự án và người hỗ trợ phân loại muốn có câu trả lời nhất quán cho các yêu cầu tính năng.
Khi nào nên dùng
- ✓Khi một yêu cầu tính năng hoặc pull request tính năng cần quyết định xem có phù hợp không.
- ✓Khi người duy trì nói dự án sẽ không xây dựng một thứ và quyết định cần được ghi lại.
- ✓Khi agent của bạn tự đề xuất một tính năng và cần kiểm tra nó với định hướng dự án.
Liên kết skill
https://github.com/prisma/orm/blob/main/skills-contrib/product-direction/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
“Bạn có thể kiểm tra xem yêu cầu tính năng này có phù hợp với định hướng dự án của chúng tôi không, và trích dẫn dòng trong tài liệu hỗ trợ kết luận của bạn không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc các trang ghi ý định và định hướng của dự án, rồi đưa ra kết luận gắn với dòng cụ thể mà nó dựa vào. Quyết định cuối cùng thuộc về người duy trì.
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.
Product direction
Judge a request, and your own proposals, against what the maintainers wrote down. Give a verdict with the line it rests on. Leave the decision to a maintainer. A wrong no drives away the person who asked. A wrong yes commits the maintainers to work they never chose.
Every rule and heading here names its source in references/sources.md.
The record
The record has five parts. Four are pages in the repository. The fifth is the reading rules in this file.
| Part | What it holds | Default path | Template |
|---|---|---|---|
| Project intent | What the project is, who it is for, what it optimises for and does not need to, what not to assume, agent guidance. | docs/direction/project-intent.md |
project-intent.md |
| Vision | Values and durable themes. Nothing about current work. | docs/direction/vision.md |
vision.md |
| Decision records | One record per no: what to use instead, and what would reopen it. | docs/direction/decisions/ |
decision-record.md |
| Steering list | The accepted nos, one line each, with what to use instead. Read before proposing anything. | docs/direction/decisions/index.md |
steering-list.md |
| Reading rules | How to turn the record into a verdict. | This file |
To find the record in a repository:
- Read its agent instructions file (
AGENTS.md,CLAUDE.mdor similar). Follow any pointer to the project intent, the vision or the steering list. - Otherwise, look for those pages by name, and for the repository's ADR index.
- Use the default paths only when you create a part that does not exist.
A repository's existing layout wins. If it keeps ADRs, a decision record is an ADR in its house format and numbering, and the steering list goes at the top of its ADR index.
The reading rules exist only here. A repository's vision page links to this skill; it does not copy the rules.
Judge a request
Do this for a feature request, a feature pull request, and anything you are about to propose: a feature, API, option, dependency or abstraction. Decide direction before a detailed code review.
- Read the project intent and the vision. Open the steering list, and every record whose title touches the request.
- If no record covers the request, search earlier issues, closed issues and maintainer comments for a maintainer's position on it.
- Check whether a shipped feature already does what the request asks.
- Give one verdict, with one sentence and the anchor it rests on.
visionFit: aligned | rejected | unclear | not_applicable
visionFitReason: <one sentence, in your own words>
visionFitEvidence: <the anchor: a link, and a quote>
bestSolution: <the best end state for the project, in one or two sentences>
| Verdict | When |
|---|---|
aligned |
The work advances a stated value or durable theme. |
rejected |
It conflicts with a value or an accepted record, or it belongs elsewhere: an extension, user code, another repository. A decline needs more: see the reading rules. |
unclear |
The record does not clearly speak to it. |
Câu hỏi thường gặp
Ai đưa ra quyết định cuối cùng?
Người duy trì. Skill đưa ra kết luận kèm bằng chứng và để họ quyết định.
Nó cần gì để hoạt động tốt?
Skill cần các trang định hướng đã viết trong kho mã, chẳng hạn tài liệu ý định và tầm nhìn của dự án, và dùng chúng làm căn cứ.
Vì sao một lời từ chối sai là vấn đề?
Skill nói lời từ chối sai khiến người đề xuất bỏ đi, còn lời đồng ý sai khiến người duy trì phải làm việc mà họ không chọn.
Chi tiết
Mô tả gốc của tác giả
Judges feature requests, feature pull requests and your own proposals against a repository's written product direction, gives a cited verdict, and records each new no. Use when triaging, labelling or replying to a feature request or a feature pull request, including as an autonomous triage agent; when asked whether a request fits the project; when a maintainer says the project will not build something; when asked about the project's vision, direction or what it will not do; before proposing or adding a feature, API, command, config option, dependency or abstraction, even when nobody mentions d
repo: prisma/orm
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6312
- 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
adr-review
48kDạy agent của bạn rà soát các bản ghi quyết định kiến trúc với góc nhìn mới, rồi viết lại để quyết định rõ ràng với người đọc mới.
ast-visitor-pattern
48kDạy agent của bạn một mẫu mã cho union type được xử lý ở nhiều nơi, để một biến thể mới được thêm vào sẽ bị trình biên dịch phát hiện.
markdown-no-artificial-line-wraps
48kGiúp agent của bạn viết Markdown với mỗi đoạn văn trên một dòng, để chữ tự xuống dòng gọn gàng trên màn hình và các thay đổi file sạch sẽ.
multiline-commit-messages
48kChỉ cho agent của bạn cách an toàn để viết thông điệp commit git nhiều dòng trong shell, để thông điệp không bị hỏng.
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.