跳到正文
Skillpedia
技术文档48k · #6308

adr-review

它能做什么

这份指南指导你的智能体像新团队成员一样阅读决策文档,并指出其中做了过多假设的地方。适合编写架构决策记录、并希望其表述清楚的团队。

适用场景

  • ✓当你的架构决策记录难以理解的时候。
  • ✓当你希望对一组决策记录进行审阅并重写,使其更清晰的时候。
  • ✓当决策记录假设了未来读者不会具备的上下文的时候。

技能链接

https://github.com/prisma/orm/blob/main/skills-contrib/adr-review/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请以新团队成员的视角审阅这份架构决策记录,并把它重写得更清楚。”

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

工作原理

智能体会先列出它发现的问题,例如被埋没的决定或缺失的上下文,供你回应。然后它会重写每份记录以解决这些问题。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Reviewing and Rewriting ADRs

Read each ADR with fresh eyes. Pretend you're a member of the team who doesn't have all the context the author has. The goal is to find places where the document assumes context the reader doesn't have, buries the decision, or carries baggage that won't make sense to a future reader.

This skill applies whether you're working on a single ADR or a batch. Treat each ADR independently — do the analysis and rewrite per document — even when several are in scope at once.

Workflow

  1. Analyze first, in chat. Before touching any file, list the issues you found and explain them. Do not rewrite silently. When multiple ADRs are in scope, group your analysis per ADR so the user can react to each one before rewrites land.
  2. Then rewrite each document to address the issues you identified.

What a good ADR looks like

  • Starts with a clear grounding example. Give the reader something concrete to pin understanding to before the abstract reasoning starts.
  • Has a strong narrative that builds the topic up bit by bit, explaining clearly throughout. Don't compress; let ideas breathe.
  • Leads with the decision. State what's being decided up front. The reader should know the conclusion before working through the reasoning.
  • Ends with alternatives considered. Put rejected options last so the reader isn't loaded down with information about paths the document is making irrelevant.

What an ADR must NOT contain

ADRs are long-lived documentation. They should not contain:

  • References to Linear tickets, GitHub issues, or other ticket trackers.
  • Milestones from the project that produced the ADR.
  • States the system passed through during or preceding a refactor that will never be seen again — interim names, deprecated wrappers being removed, "current" qualifiers, "we used to" framing.

If a piece of context only makes sense to someone who lived through the change, cut it or rewrite it as a fact about the system as it is.

Output shape

When invoked:

  1. Read the ADR (or ADRs) in scope.
  2. Write your analysis in the chat — what's missing, what's buried, what's transient, what's unclear to a fresh reader. Be specific; quote or cite the parts you're flagging. For multiple ADRs, label each block clearly.
  3. Then rewrite each file end-to-end so it follows the structure above.
常见问题

它会不经询问就直接重写吗?

不会。该技能说明,应先在对话中列出问题,然后再进行重写。

一份好的决策记录应该是什么样?

该技能说明,它应当先说明决定,以一个具体的例子开头,并以所考虑的备选方案结尾。

它能同时处理多份记录吗?

可以。即使有多份记录在范围内,它也会逐一审阅。

详情

作者的原始描述

Review one or more ADRs with fresh eyes (as a team member without prior context), identify narrative and structural issues, then rewrite them. Use when the user asks to review, improve, rewrite, or take a fresh-eyes pass on an ADR or a set of ADRs (Architecture Decision Records).

repo: prisma/orm

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能