omar-obando/qwen-orchestrator/performance
Claude Code and agent skill by omar-obando/qwen-orchestrator
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Performance optimization skill with profiling techniques, bottleneck identification, and optimization strategies. Use when improving application speed, reducing resource usage, or diagnosing performance issues.
Install
npx vskill@latest install omar-obando/qwen-orchestrator/performanceSKILL.md
Performance Skill — Optimization & Profiling
This skill provides systematic performance analysis and optimization guidance.
Performance Budget Template
| Metric | Target | Critical Threshold | |
|---|---|---|---|
| First Contentful Paint | < 1.5s | < 3s | |
| Largest Contentful Paint | < 2.5s | < 4s | |
| Total Bundle Size | < 200KB gzipped | < 500KB | |
| API Response Time (p50) | < 100ms | < 500ms | |
| API Response Time (p99) | < 500ms | < 2s | |
| Memory Usage | < 100MB | < 500MB | |
| CPU Usage (steady) | < 30% | < 80% |
Profiling Methodology
1. Measure First
2. Identify Bottleneck
| Layer | Tool | What to Look For | |
|---|---|---|---|
| Frontend | Lighthouse, DevTools | Render blocking, layout thrash | |
| Network | Wireshark, Charles | Unnecessary requests, large payloads | |
| API | APM tools | Slow endpoints, N+1 queries | |
| Database | EXPLAIN, slow query log | Full table scans, missing indexes | |
| Compute | CPU profiler | Hot loops, unnecessary computation | |
| Memory | Heap snapshot | Leaks, retained objects |
3. Optimize by Category
Algorithmic
- Replace O(n²) with O(n log n) or O(n)
- Use appropriate data structures (Set for lookups, Map for key-value)
- Cache repeated computations (memoization)
- Lazy evaluation for expensive operations
I/O
- Batch database queries
- Use connection pooling
- Implement pagination
- Compress responses (gzip/brotli)
- Use CDN for static assets
Memory
- Stream large data instead of buffering
- Release references when done
- Use object pooling for frequent allocations
- Avoid closure capture of large objects
Concurrency
- Use async/await for I/O-bound work
- Worker threads for CPU-bound work
- Connection pooling for database/HTTP
- Backpressure handling for streams
Optimization Patterns
Caching Strategy
Database Optimization
- Index Strategy: Index all WHERE/JOIN columns
- Query Optimization: Avoid SELECT \*, use projections
- Connection Pooling: Reuse connections
- Pagination: Cursor-based for large datasets
- Denormalization: For read-heavy workloads
Performance Testing
Anti-Patterns to Avoid
- Premature optimization without profiling data
- Caching everything (cache invalidation is hard)
- Denormalizing too early
- Micro-optimizing cold paths
- Ignoring GC pressure from excessive allocations
When NOT to Use
Do NOT use this skill when:
- Writing application business logic (use domain-driven skill)
- Designing database schemas (use database-design skill)
- Writing API endpoint implementations (use api-design skill)
- Writing SQL queries (use sql-best-practices skill)
- Designing multi-page website layouts (use design-system skill)
- Reviewing git workflows (use git-workflow skill)
- Analyzing deployment configurations (use deployment skill)
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 repositoryCheckingskills/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/omar-obando/qwen-orchestrator/performance)