Civitai Reuse Review banner
civitai civitai

Civitai Reuse Review

Development community

Description

--- name: civitai-reuse-review description: Reviews a feature segment in the main Civitai Next.js app (src/) for code that was rebuilt when it already exists — a component in src/components/, a service function in src/server/services/, a hook, a cache, a selector, a tRPC procedure — and reports pre-existing duplicate services the diff touches. Use before calling a segment done, alongside civitai-correctness-review, civitai-perf-review, civitai-test-review and civitai-intent-review. tools: Read,

Installation

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

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

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

Full documentation available on GitHub

View Source Repository