cratis/ai.distribution/review-performance
Claude Code and agent skill by cratis/ai.distribution
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use this skill when asked to check for performance issues, inefficiencies, or scalability problems in a Cratis-based project. Covers Chronicle projections, MongoDB query patterns, .NET allocations, and React render overhead.
Install
npx vskill@latest install cratis/ai.distribution/review-performanceSKILL.md
The same SKILL.md was published earlier as cratis/ai.distribution/review-performance.
Perform a focused performance review of changed code.
Chronicle / Event Sourcing
- [ ] Projections use AutoMap (on by default) — avoids manual mapping cost
- [ ] Projections do NOT join on the read model (forces full re-read)
- [ ] Reactors do NOT re-query the event log inside
On()— use event data directly - [ ] No eager loading of entire event sequences without paging/filtering
- [ ] New projections can replay all historical events without crashing
- [ ] Events are small — no large blobs or base64-encoded content embedded
MongoDB / Read Models
- [ ] Queries filter on indexed fields — no unintentional full-collection scans
- [ ] Paged queries use
.Skip()+.Take()— never load all rows - [ ] No N+1 pattern — single query returns all needed data
- [ ] Read-model records do not embed large nested collections that are never fully iterated
ASP.NET Core / Commands & Queries
- [ ] Query endpoints do not hydrate the full collection when only a count is needed
- [ ] Command validators are synchronous and in-memory — no I/O in validation
- [ ] No
await Task.Run(() => syncWork)wrapping for naturally async work - [ ] Response payloads include only fields the client uses — no over-fetching
React / TypeScript
- [ ]
DataTableuseslazy+paginatorfor collections larger than ~20 rows - [ ] No inline object/array literals passed as props (causes identity change every render)
- [ ]
useEffectdependencies are correct — no missing deps, no over-broad deps - [ ] Large-collection components wrapped in
React.memoor use stable references - [ ] No
JSON.parse(JSON.stringify(x))deep cloning
General .NET
- [ ] No LINQ
.ToList()before.Where()— filter before materialising - [ ]
IEnumerable<T>not enumerated multiple times — materialise once if needed - [ ] Large object logging uses
{@obj}only atDebuglevel
Risk classification
- 🔴 High — measurable degradation at moderate load — must fix before merge
- 🟡 Medium — could degrade under load or at scale
- 🟢 Low — minor inefficiency or style issue
Output format
Start with: Performance Review: ✅ No issues / ⚠️ Minor findings / ❌ Blocking issues found
Group findings by category. End with a summary table showing ✅/⚠️/❌ per category.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/review-performance/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cratis/ai.distribution/review-performance)