adr-review
$
npx mdskill add prisma/prisma-next/adr-reviewReview and rewrite ADRs for clarity
- Solves unclear narratives in architecture decisions.
- Depends on user-provided ADR documents only.
- Decides issues by simulating fresh reader perspective.
- Delivers grouped analysis followed by rewrites.
SKILL.md
.github/skills/adr-reviewView on GitHub ↗
--- name: adr-review description: >- 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). --- # 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.
More from prisma/prisma-next
- ast-visitor-pattern>-
- bumping-biomeBumps `biome` package versions (e.g. `@biomejs/biome`) using `pnpm`, aligns `biome.jsonc` files with the new version/s across the repository and runs biome-related checks. Use when required to update `biome` to a newer version - explicitly or implicitly (e.g. after running `pnpm up`, `pnpm update`, `pnpm upgrade` without specific package names).
- contrib-prOpen a high-quality external contributor PR against prisma-next. Use when the user is an outside contributor (not a Prisma maintainer) and wants to submit a change as a pull request from a fork. Encodes the contribution flow from CONTRIBUTING.md so the resulting PR passes review on the first round.
- drive-agent-personasLibrary of agent personas — named bias-frames that other skills load to shift execution-time defaults. Skills name a persona by ID (e.g. "Adopt the architect persona"), and this skill resolves that ID to the persona doc that frames the executor for the rest of the task. Use when authoring a new skill that needs a particular reviewer/implementer/orchestrator stance, or when an existing skill instructs you to adopt a named persona.
- drive-create-plan>
- drive-create-project>
- drive-create-spec>
- drive-discussionDrops the agent into a structured Q&A mode that iterates with the user toward a complete understanding of a topic, then documents the outcome (project spec, plan, decision record, or whatever shape fits). The agent adopts one or more personas from the `drive-agent-personas` library — named explicitly by the user, or inferred from conversation context and announced. Typical use is design work at the start of a task, or mid-implementation when a load-bearing assumption has been falsified. Use ONLY when the user explicitly invokes this skill (e.g. "discussion mode", "pressure-test this", "let's design this", "design mode", "tech design mode", "product mode", "pm mode", "challenge my idea"). Never auto-invoke.
- drive-orchestrate-plan>
- drive-pr-descriptionGenerates PR descriptions by analyzing git diffs between the current branch and the default branch. Use when the user requests a PR description, pull request summary, or commit message for a squash merge.