adr-review

โดย prisma

ตรวจสอบ ADR หนึ่งรายการขึ้นไปด้วยมุมมองใหม่ (ในฐานะสมาชิกทีมที่ไม่มีบริบทมาก่อน) ระบุปัญหาเชิงเนื้อหาและโครงสร้าง จากนั้นเขียนใหม่ ใช้เมื่อ...

npx skills add https://github.com/prisma/prisma-next --skill adr-review

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.

Skills เพิ่มเติมจาก prisma

ast-visitor-pattern
prisma
ใช้รูปแบบ frozen-class/visitor สำหรับ discriminated unions ที่มีหลาย dispatch sites ใช้เมื่อสร้างชุด variants ใหม่ (commands, IR nodes,…)
bumping-biome
prisma
Bumps `biome` package versions (e.g. `@biomejs/biome`) using `pnpm`, aligns `biome.jsonc` files with the new version/s across the repository and runs…
contrib-pr
prisma
เปิด PR จากผู้มีส่วนร่วมภายนอกคุณภาพสูงไปยัง prisma-next ใช้เมื่อผู้ใช้เป็นผู้มีส่วนร่วมภายนอก (ไม่ใช่ผู้ดูแล Prisma) และต้องการส่ง…
create-pr
prisma
สร้าง GitHub PR โดยใช้ชื่อที่มีคำนำหน้าตามตั๋ว Linear และคำอธิบายแบบเน้นการตัดสินใจและเล่าเรื่องสำหรับ prisma-next ใช้เมื่อผู้ใช้ต้องการสร้าง pull…
draft-release-notes
prisma
Author the committed release-notes file for a stable Prisma Next release by enumerating the merged PRs since the previous stable `v*` tag, resolving opaque…
drive-agent-personas
prisma
คลังบุคลิกของเอเจนต์ — กรอบอคติที่มีชื่อ ซึ่งสกิลอื่นโหลดมาใช้เพื่อเปลี่ยนค่าเริ่มต้นขณะทำงาน สกิลจะระบุชื่อบุคลิกด้วย ID (เช่น "นำบุคลิกของสถาปนิกมาใช้…
drive-code-review
prisma
Generate local PR/branch review artifacts for the current branch vs its base — an in-repo canonical spec (if present) or an inferred review `spec.md`, plus…
drive-create-plan
prisma
ใช้เมื่อผู้ใช้ต้องการวางแผนโครงการ แบ่งข้อกำหนดออกเป็นเหตุการณ์สำคัญ สร้างงานจากข้อกำหนด หรือสร้างแผนการดำเนินการ รับกรณีทดสอบจาก…