review-system-design
Present important design agreements from a diff or specification to a human reviewer in plain language and dependency order. Use when the user asks for a system design review.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- review-system-design
- description
- Present important design agreements from a diff or specification to a human reviewer in plain language and dependency order. Use when the user asks for a system design review.
03 SKILL.md 正文
Review system design
Use design-by-contract to select and analyze each important agreement in the
changed production code. The input may be a diff, a specification, or both.
Use short, direct sentences with clear subjects and objects. Use terms already
defined in CONTEXT.md, exact codebase-design terms, and code identifiers.
When a needed term is missing, ask domain-modeling to propose a glossary
entry.
Build a dependency tree of the design agreements. Review an agreement before any agreement that depends on it. When a specification and diff disagree, treat the diff as the record of what changed and flag any unplanned agreement.
Treat production code as the source of design agreements. Use tests, documentation, and workspace fixtures as evidence for those agreements.
Present one group at a time after reviewing everything it depends on. Use the
heading ## <change name>, round N of M. Number agreements A1, A2, and so
on across all rounds.
Give each agreement a plain-language title followed by a small number of connected paragraphs. Name the relevant system parts and explain how they interact, what changed and why it matters, and the expectation or trade-off the reviewer must judge. Include defined failure behavior when it helps that judgment. Keep every detail relevant to the reviewer's decision. Link the agreement's specification or ADR once.
Use a visual explainer when it makes a relationship easier to understand than prose alone: a table for repeated mappings or comparisons, a sequence or state diagram for interactions over time, or a dependency diagram for ordering. Pair the visual with the explanation. End each group with a short request for concerns or approval.
Wait for the reviewer's reply after each group. Record challenged agreements under their plain-language titles and record each agreed fix. Treat the rest as accepted. Keep each agreement number as a stable reference. Keep the reviewed change fixed until the review ends. A proposed fix remains a note until the reviewer finishes all rounds.
Find supporting facts yourself. Use a subagent when the diff, specification, or callers require separate investigation. Research the facts, then ask the reviewer to decide.
Finish after every agreement has been reviewed. In the same plain style, summarize accepted agreements, concerns, and agreed fixes, then apply only the changes the reviewer confirms. If the reviewer asks for a guide, write it at the requested path with a link to the reviewed change, the agreements in number order, and the selected visuals.
04 同仓库更多 Skills
code-review
Review the changes since a fixed point (commit, branch, tag, or merge-base) along five axes: Standards (does the code follow this repo's documented coding standards?), Spec (does the code match what the originating issue/spec asked for?), Evidence (does each claim in the pull request have evidence that shows it?), Bugs (does the changed code have logic errors, unhandled states, races, or regressions?), and Security (does the change open injection, auth, secret, input, or CI workflow holes?). Runs the reviews in parallel sub-agents, tags every finding Important, Nit, or Pre-existing, and reports them side by side with what blocks merge. Given an earlier reviewed head and its findings, it reviews only the newer commits, rechecks the earlier findings, and never repeats one. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
writing-for-pstack
Write or tighten an operator prompt for a patina-mode run. Use when the operator asks to write, revise, or review a prompt that will be passed to patina-mode.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.