agentsclimarketplace

Perf check

Skill huzaifa525/claude-code-optimizer/templates/.claude/skills/perf-check

Optimize Claude Code token usage — 22 skills, 8 hooks, 6 rules. One npm install. Zero manual steps. Cut costs by 67%.

Install
npx -y skills add huzaifa525/claude-code-optimizer --skill perf-check

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when the user wants to check performance, find slow code, identify bottlenecks, or audit efficiency.

SKILL.md

1.8 KB, as published. Nobody here has run it

Analyze $ARGUMENTS for performance issues.

Check Categories

Database & Queries

  • N+1 query patterns (loop with query inside)
  • Missing indexes on frequently queried columns
  • SELECT * instead of specific columns
  • Missing pagination on list endpoints
  • Unoptimized joins or subqueries

Memory & Resources

  • Unclosed connections, streams, file handles
  • Growing arrays/maps without limits
  • Event listeners not removed on cleanup
  • Large objects held in memory unnecessarily
  • Missing cleanup in useEffect (React)

Frontend Performance

  • Unnecessary re-renders (missing useMemo, useCallback, React.memo)
  • Large bundle imports (import entire library vs specific module)
  • Images without lazy loading or optimization
  • Missing code splitting
  • Synchronous operations blocking UI thread
  • Missing virtualization for long lists

API & Network

  • Missing caching (Redis, in-memory, HTTP cache headers)
  • Redundant API calls
  • Missing request deduplication
  • Large payloads without compression
  • Missing connection pooling

General

  • O(n²) or worse algorithms where O(n) is possible
  • Synchronous file I/O in async context
  • Regex backtracking (catastrophic regex)
  • Unnecessary deep cloning

Output Format

## Performance Report: [target]

### Critical (fix now)
- [file:line] [issue] [impact] [fix]

### Warning (should fix)
- [file:line] [issue] [impact] [fix]

### Suggestion (optimization)
- [file:line] [issue] [impact] [fix]

### Good Patterns Found
- [what's already well-optimized]
<!-- Skill by Huzefa Nalkheda Wala | github.com/huzaifa525 | claude-code-optimizer -->

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.