/co-review:co-review-designfrom Co-Review
Guides the user through writing a minimal design document for non-trivial changes, then opens it for human review in Co-Review. Use before architecturally significant work like new components, data models, APIs, or migrations.
Ships in Co-Review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A design document is the smallest document that lets another engineer understand, challenge and approve the
change. It exists for review: show the decisions, assumptions, trade-offs, important behaviour, failure modes and
open questions, and nothing else. Full method and examples: Co-Review's docs/design-docs.md.
In Pi or Oh My Pi (the Co-Review package) the tools are named
co_review_start(open_review;dirfor a review directory),co_review_wait(await_reviewer: questions, answers and the Submit),co_review_reply,co_review_add_findings,co_review_ask,co_review_map(repo_map),co_review_facts(repo_facts) andco_review_post_github(post_review_to_github). In an interactive session, the reviewer's questions also arrive on their own as[Co-Review]messages.
Investigate the code first and reuse existing patterns. If something new is needed (a dependency, service or table), make it an explicit design step. Don't invent requirements: ask under Open Questions.
Write design/<name>/index.markdown, for a person to read:
---
co-review: design
---
# <the change, as a short imperative>
## Context why change, what happens today (a few sentences)
## Design required: one nested "- " list, 2 spaces per level
L1 what (a behaviour, not a technology), L2 how, L3 what can go wrong
## Alternatives optional: real choices, their trade-offs, why this one
## Behaviour optional: runtime scenarios (failure, retry, crash, race)
## Open Questions optional: decisions only the reviewer can make, as "- " items
Plain language, one decision per step. Name code once, at the top level (entry point, module, new table), then describe it in words. No line numbers, no file:line links, no pasted code (Mermaid is fine). Think through compatibility, security, failure handling and migration, but write down only what changes the design. Size it to the change: about 10-30 lines if small, 30-80 medium, 80-150 large. Cut what doesn't help the reviewer decide.
Check it before I see it: open_review({ dir: "design/<name>", open: false }) lists problems in
format.warnings. Fix every one and call it again until there are none. Keep the reviewId it returns. Then
show it with open_review({ reviewId }) and tell me it is open in Co-Review.
Answer comments in their threads and revise the design; say in each thread what changed. A comment follows its text through your edits (marked changed if you reword it); if you delete what it was on, it leaves the page. An edit I accept is written into the document by Co-Review: re-read the file before editing it.
Implement only after approval: keep calling await_reviewer (answering comments with reply) until it
returns my Submit. Request changes → revise, reply in each thread, wait again. Approve → implement, and if the
code must depart from the approved design, update the design and ask again.
Put the directory in a scratch location instead if the user doesn't want design documents committed.
Follow the co-review skill's loop (await_reviewer → investigate → reply). For each comment:
anchorStatus (in await_reviewer and get_review) is active when its text is still there (maybe moved),
modified when you changed it (original has what was commented), removed when you deleted it, ambiguous when
the same text now fits several places. Removed and ambiguous comments leave the page for the panel's Out of scope
tab. So reply in each thread with what changed; rewording a commented step is fine.await_reviewer returns the decision (status: "submitted"):
acceptedSuggestions on the document are already written into it by Co-Review (doc.version goes up). Re-read the
file before editing.What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub sdsvn/co-review --plugin co-reviewOther plugins' skills for the same job