Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/shankarr1503-perf-hunt
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/perf-hunt
What's inside
- Skill name
perf-hunt- Description
- Measure-first performance optimization. Use when something is slow, uses too much memory or CPU, times out, or when asked to optimize, speed up or scale code. Profiles to find the real bottleneck, fixes it, and proves the gain with numbers.
- License
- MIT
- Instructions
- 51 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Perf hunt Intuition about performance is wrong more often than right. Measure, change one thing, measure again. ## 1. Define the target - What is slow, for whom, under what load and data size? "Endpoint p95 is 2.1 s with 10k rows; target < 300 ms." - Build a repeatable benchmark: a script, load test or benchmark harness that reproduces the slowness with realistic data. Run it 3–5 times and record the median and spread. Warm up first for JIT runtimes. ## 2. Profile — don't guess Use the tool for the stack, and look at where time is _actually_ spent: - Node: `node --cpu-prof`, `--heap-prof`, clinic.js, Chrome DevTools. Browser: Performance panel, Lighthouse. - Python: `py-spy record`, `cProfile` + snakeviz, `scalene` for memory. - Go: `pprof` (CPU, heap, block, mutex). Rust: `cargo flamegraph`, `perf`. JVM: async-profiler, JFR. - Databases: `EXPLAIN (ANALYZE, BUFFERS)`, slow query log, query count per request. - Distributed: traces/spans to see which service or call dominates. ## 3. Usual suspects (check against the profile) - **N+1 queries** and chatty network calls inside loops → batch, join, or prefetch. - **Missing index** or a query scanning far more rows than it returns. - **Accidental quadratic** work: nested loops over the same data, `array.includes` / list membership inside a loop, repeated string concatenation, re-sorting. - **Repeated work**: recomputing or re-fetching the same thing → hoist, memoise, cache with a clear invalidation rule. - **Serial I/O** that could run concurrently (with bounded concurrency). - **Too much data**: selecting all columns, no pagination, large payloads, unbounded result sets. - **Allocation and GC pressure** in hot loops; synchronous blocking work on an event loop. - Frontend: bundle size, render waterfalls, unnecessary re-renders, layout thrashing, unoptimised images. ## 4. Change one thing, re-measure - Fix the biggest bottleneck first; Amdahl's law says shaving 5% elsewhere is noise. - Re-run the same benchmark. Keep the change only if the gain is clearly beyond run-to-run variance. - Run the test suite — fast and wrong is a regression. - Stop when the target is met. Further micro-optimisation costs readability. ## Report ``` Target: <metric and goal> Baseline: <median ± spread, how measured> Bottleneck: <what the profile showed, with evidence> Change: <what you changed> Result: <new median ± spread> (<x>× faster / <y>% less memory) Trade-offs: <memory, complexity, staleness from caching, etc.> ``` No numbers, no claim. "Should be faster" is not a result.
From shankarr1503/omnistack, MIT.
More from shankarr1503/omnistack
- 0.565score
api-contract
shankarr1503
Design or review an API (REST, GraphQL, gRPC, SDK or library interface) for clarity, consistency and long-term compatibility.
SkillAFreshness: AClaude Code +9 - 0.565score
commit-craft
shankarr1503
Write clean commits and pull request descriptions that reviewers love.
SkillAFreshness: AClaude Code +9 - 0.565score
fix-ci
shankarr1503
Diagnose and fix a failing CI pipeline, build or test job.
SkillAFreshness: AClaude Code +9 - 0.565score
legacy-tests
shankarr1503
Add tests to untested or legacy code before changing it.
SkillAFreshness: AClaude Code +9 - 0.565score
map-codebase
shankarr1503
Rapidly understand an unfamiliar repository and produce a practical map of it.
SkillAFreshness: AClaude Code +9 - 0.565score
root-cause
shankarr1503
Find the real cause of a bug before changing code.
SkillAFreshness: AClaude Code +9 - 0.565score
safe-migration
shankarr1503
Plan and write zero-downtime database and schema migrations.
SkillAFreshness: AClaude Code +9 - 0.565score
safe-refactor
shankarr1503
Restructure code without changing behavior.
SkillAFreshness: AClaude Code +9 - 0.565score
ship-review
shankarr1503
Rigorous pre-merge review of a diff, branch or pull request.
SkillAFreshness: AClaude Code +9 - 0.565score
skill-forge
shankarr1503
Create a new high-quality agent skill (SKILL.md) for Claude Code, Codex or OpenCode.
SkillAFreshness: AClaude Code +9 - 0.565score
threat-check
shankarr1503
Security review of code or a change for exploitable vulnerabilities.
SkillAFreshness: AClaude Code +9 - 0.565score
upgrade-deps
shankarr1503
Upgrade dependencies, frameworks or language versions safely.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 7, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/shankarr1503/omnistack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from shankarr1503
- 0.565score
commit-craft
shankarr1503
Write clean commits and pull request descriptions that reviewers love.
SkillAFreshness: AClaude Code +9 - 0.565score
fix-ci
shankarr1503
Diagnose and fix a failing CI pipeline, build or test job.
SkillAFreshness: AClaude Code +9 - 0.565score
legacy-tests
shankarr1503
Add tests to untested or legacy code before changing it.
SkillAFreshness: AClaude Code +9 - 0.565score
map-codebase
shankarr1503
Rapidly understand an unfamiliar repository and produce a practical map of it.
SkillAFreshness: AClaude Code +9 - 0.565score
root-cause
shankarr1503
Find the real cause of a bug before changing code.
SkillAFreshness: AClaude Code +9 - 0.565score
api-contract
shankarr1503
Design or review an API (REST, GraphQL, gRPC, SDK or library interface) for clarity, consistency and long-term compatibility.
SkillAFreshness: AClaude Code +9
Cite this page
perf-hunt skill. Agent Mart. https://agentmart.dev/skills/shankarr1503-perf-hunt (last updated 2026-10-24)