parklan2046/clawproject/performance-profile
Claude Code and agent skill by parklan2046/clawproject
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyze code for performance hotspots including complexity, N+1 queries, memory allocations, and caching opportunities
Install
npx vskill@latest install parklan2046/clawproject/performance-profileSKILL.md
The same SKILL.md was published earlier as parklan2046/clawproject/performance-profile.
What I do
- Analyze code for algorithmic complexity and performance anti-patterns
- Detect N+1 query patterns in database access code
- Identify unnecessary memory allocations and object creation
- Find missing or ineffective caching opportunities
- Produce a prioritized optimization plan with estimated impact
When to use me
Use this skill when you need to:
- Investigate slow endpoints or operations
- Review code for performance before a load test
- Optimize database query patterns
- Reduce memory usage or garbage collection pressure
- Plan performance improvements with limited engineering time
Process
- Identify the scope: Determine what to profile
- Specific endpoint or operation reported as slow
- Module or service under performance review
- Hot path identified by profiling tools
- Analyze algorithmic complexity: Check for inefficient patterns
- Nested loops over large collections (O(n^2) or worse)
- Repeated linear searches where a hash map would work
- Sorting in tight loops
- String concatenation in loops (use builders/buffers)
- Recursive functions without memoization
- Detect N+1 queries: Scan database access patterns
- Loop that executes a query per iteration
- ORM lazy loading triggered in iteration
- Missing eager loading / joins / batch fetching
- Sequential queries that could be combined
- Check memory patterns: Look for allocation hotspots
- Large objects created inside loops
- Unbounded list/buffer growth
- Missing stream/iterator usage for large datasets
- Holding references longer than needed (memory leaks)
- Evaluate caching: Identify caching opportunities
- Repeated identical computations or queries
- Expensive operations with stable inputs
- Missing HTTP cache headers on static responses
- Cache invalidation correctness
- Produce optimization plan: Prioritize by impact and effort
Anti-Pattern Catalog
N+1 Query Pattern
Quadratic Loop
Unbounded Accumulation
Missing Memoization
Optimization Plan Format
Severity Assessment
| Level | Criteria | |
|---|---|---|
| Critical | Causes timeouts, OOM, or system instability under normal load | |
| High | Noticeable latency (>1s) on common user operations | |
| Medium | Suboptimal but functional; affects throughput under high load | |
| Low | Minor inefficiency; optimize if effort is minimal |
Rules
- Always measure before and after; do not optimize without evidence
- Prioritize by impact-to-effort ratio, not just impact
- Focus on the hot path; do not optimize code that runs rarely
- Prefer algorithmic improvements over micro-optimizations
- Consider trade-offs: caching adds complexity and invalidation risk
- Document the expected improvement for each recommendation
- One optimization at a time; measure after each change
- Watch for premature optimization: if it is not measured as slow, skip it
Security
- Security scanPassed, 90 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 repositoryCheckingawesomeOpenCode/skills/performance-profile/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/parklan2046/clawproject/performance-profile)