product-direction
它能做什么
这份指南指导你的智能体把功能请求与项目已写下的目标进行对照,然后给出是、否或不明确的结论,并说明理由。适合维护者和分诊人员,希望对功能请求给出一致答复的人。
适用场景
- ✓当一个功能请求或功能拉取请求需要判断是否符合方向的时候。
- ✓当维护者表示项目不会开发某项功能,需要记录这一决定的时候。
- ✓当你的智能体自行提出一个功能,需要对照项目方向进行检查的时候。
技能链接
https://github.com/prisma/orm/blob/main/skills-contrib/product-direction/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查这个功能请求是否符合我们的项目方向,并引用文档中支持你结论的那一行。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会阅读项目已写明的意图和方向页面,然后给出与其所依据的具体内容相关的结论。最终决定仍由维护者做出。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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. |
常见问题
谁做最终决定?
由维护者决定。该技能给出结论及其依据,并把决定权留给他们。
它需要什么才能良好运行?
该技能需要代码仓库中有书面的方向页面,例如项目意图和愿景文档,并以此作为依据。
错误的否决有什么问题?
该技能说明,错误的否决会让提出请求的人离开,而错误的同意则会让维护者承担他们并未选择的工作。
详情
作者的原始描述
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
热度
- GitHub 星标
- 48k
- 排名
- #6312
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
adr-review
48k教你的智能体以新鲜的视角审阅架构决策记录,然后重写,让新读者也能清楚理解其中的决定。
ast-visitor-pattern
48k教你的智能体一种代码模式,用于处理在多个位置被使用的联合类型,使新增的变体能被编译器捕获。
markdown-no-artificial-line-wraps
48k帮你的智能体把整段文字写在同一行中,让文字在屏幕上自然换行,并保持文件改动清晰。
multiline-commit-messages
48k向你的智能体展示一种在 shell 中安全编写多行 git 提交信息的方法,使信息不会出现乱码。