Civitai Perf Review banner
civitai civitai

Civitai Perf Review

Development community

Description

--- 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,

Installation

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

Terminal
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.

Full documentation available on GitHub

View Source Repository