Comment Review banner
civitai civitai

Comment Review

Development community

Description

--- name: comment-review description: Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments) — deletes what-narration, change-log narration and reviewer-justification, keeps the non-obvious why, trims the keepers to the fewest words that carry the fact, and flags comments that are now factually FALSE. Judges whether each comment should exist at all, on the premise that the code should be self-documenting. Use before calling a segment done, a

Installation

Installs to ~/.claude/agents/civitai-civitai-comment-review.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/civitai/civitai/HEAD/.claude/agents/comment-review.md -o ~/.claude/agents/civitai-civitai-comment-review.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository