Civitai Perf Review — Development agent for Claude Code
Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, unindexed scans, hot feed path regressions, cache stampedes, event-loop blocking, and client.
How to install Civitai Perf Review
Installs to ~/.claude/agents/civitai-civitai-civitai-perf-review.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/civitai/civitai/HEAD/.claude/agents/civitai-perf-review.md -o ~/.claude/agents/civitai-civitai-civitai-perf-review.md Restart Claude Code, or start a new session, for it to be picked up.
What Civitai Perf Review does
name: civitai-perf-review description: Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, unindexed scans, hot feed path regressions, cache stampedes, event-loop blocking, and client bundle weight. Cleared for read-only prod EXPLAIN via the postgres-query and clickhouse-query skills. Use before calling a segment done, alongside civitai-reuse-review, civitai-correctness-review, civitai-test-review and civitai-intent-review. tools: Read,
Alternatives in Development
- Gitnexus PR Facts Historian — GitNexus PR facts and repository-history investigator 45.8k ★
- Review Performance — Reviews code changes for performance issues including algorithmic complexity, unnecessary allocations, lock co 432 ★
- Refactor Validator — Use this agent when a significant refactoring has been completed and you need to verify that the changes are c 358 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Rust Perf Engineer
Reviews diffs touching poly's per-file runner / discovery / cache / engine paths for hot-path regressions — ne
Performance Review
Reviews a diff for material performance regressions — N+1 queries, algorithmic complexity blowups, blocking ca
Civitai Correctness Review
Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, mone
Civitai Intent Review
Scores a feature segment in the main Civitai Next.js app (src/) against the intent doc for the work — did the
Perf Adversary
Red-team performance reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focuse
Perf Scout
One-shot, read-only scout that answers where time or memory goes on one path (a request, a job, a screen, a bu
Related Skills
Pharn Dev Review
Review what /pharn-dev-build produced. Apply the 4 review lenses (each citing a principle), emit findings in t
Llmix
Production LLM call layer for AI agents and tools: keep OpenAI/Anthropic/AI SDK/LiteLLM, hot-swap models with
Claude Memory Kit
Memory for Claude Code that survives the session boundary — install the plugin into any repo: a hot cache inje