/developer:clean-comments-reviewfrom developer
Reviews code comments for durable intent and invariants, distinguishing public DocBlocks from internal maintainer notes. Produces a critique document, not code edits.
Ships in developer. 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.
Review comments for whether they explain durable intent and invariants to the right reader. The artifact is a critique document, not a code rewrite.
Comments explain why this exists, what contract callers may rely on, what invariant must be preserved, or why an unusual choice is correct. A comment explains what the code, signatures, type names, editor navigation, and git history cannot say clearly enough.
The review’s core question is: what can this comment tell a future reader that the code and tools cannot?
Good comments name durable things: intent, invariants, contracts, constraints, tradeoffs, surprising decisions, compatibility requirements, and domain meaning. They remain useful after code moves, files are renamed, callers change, helper functions are rearranged, and the original project plan is forgotten.
A public DocBlock addresses someone using the symbol without reading its implementation. It should explain why the symbol exists, what behavior callers may rely on, and any constraints that shape correct use.
A public DocBlock can include module-level intent, stable contracts, important edge cases, and worked examples. It should trust the reader’s tools for signatures, parameter names, return types, definitions, and reference searches.
An internal comment addresses a future maintainer who can read the code, jump to definitions, find usages, and inspect history. Its job is to preserve judgment that would otherwise be lost: why this path is surprising but intentional, what invariant the next edit must protect, or what external constraint shaped the implementation.
The strongest inline comments sit near the decision they explain and survive a caller reshuffle.
Treat the editor and repository as part of the reader’s context. Signatures, types, field names, visibility, cfg attributes, definitions, references, blame, and file history are already available.
A comment like “split out of restir.wgsl” is history. A comment like “this layout must remain byte-compatible with the ReSTIR shader buffer” is an invariant. A comment like “used by testing_events.rs” is a reference search. A comment like “the test harness and production path must share this gather rule” may be a contract if that shared rule is the important thing to preserve.
Produce a critique document. For each comment or comment group:
The review artifact names the problem and the desired shape of the comment; it does not edit the code directly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub davidsouther/ailly --plugin developer4 skills in this plugin
/aillyUse when starting, resuming, or routing any software development task. The single bootstrap and session coordinator for the developer skill package: it directs which developer ability applies and drives the five-phase development loop — research, design, plan, red-green-refactor (build), cleanup — entered by phase argument (`/ailly design ...`). Routes the coordinator's progressive abilities: thinking (stuck on a compiler/test/lint error during build), refactor (clean up green code before finishing), initialize (set up a new project or language environment), and program-management (read the next task or wire the team's issue tracker and document system). Also drives quick-loop, long-loop, bugfix, and project-shape variants, and babysitting an open PR stack to landing and cleanup./code-reviewUse when a change has finished `general:review` and is about to become public (push, pull request, squash-merge), and the user wants to review the diff themselves./small-prs-reviewUse when reviewing any complete diff immediately before opening a pull request.2 plugins ship this exact skill · first indexed Aug 15, 2026
Other plugins' skills for the same job