Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật48k · #6308

adr-review

Skill này làm gì

Nó hướng dẫn agent của bạn đọc tài liệu quyết định như một thành viên mới trong nhóm, và chỉ ra chỗ chúng giả định quá nhiều. Nó dành cho các nhóm viết bản ghi quyết định kiến trúc và muốn chúng rõ ràng.

Khi nào nên dùng

  • ✓Khi bạn có một bản ghi quyết định kiến trúc khó theo dõi.
  • ✓Khi bạn muốn một bộ bản ghi quyết định được rà soát và viết lại cho rõ ràng.
  • ✓Khi một bản ghi quyết định giả định bối cảnh mà người đọc sau này sẽ không có.

Liên kết skill

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

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/prisma/orm/blob/main/skills-contrib/adr-review/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể rà soát bản ghi quyết định kiến trúc này như một thành viên mới trong nhóm và viết lại cho rõ ràng không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Trước hết agent liệt kê các vấn đề nó tìm thấy, chẳng hạn quyết định bị chôn vùi hoặc thiếu bối cảnh, để bạn phản hồi. Sau đó nó viết lại từng bản ghi để sửa các vấn đề đó.

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.

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.
Câu hỏi thường gặp

Nó có viết lại mà không hỏi trước không?

Không. Skill nói phải liệt kê các vấn đề trong khung chat trước, rồi mới viết lại.

Một bản ghi quyết định tốt là gì?

Skill nói nó nên mở đầu bằng quyết định, bắt đầu bằng một ví dụ cụ thể và kết thúc bằng các phương án đã cân nhắc.

Nó có xử lý nhiều bản ghi cùng lúc không?

Có. Nó rà soát từng bản ghi riêng lẻ, kể cả khi có nhiều bản ghi trong phạm vi.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6308
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự