Perf and memory

From ashermahonin/agentic-skills · View interactive version

Perf and memory is an AI agent skill from the GitHub repository ashermahonin/agentic-skills. Review or plan performance, memory, allocation, concurrency, caching, latency, throughput, profiling, benchmark, capacity, and language-runtime work. Use when a task mentions speed, memory, scale, load, p95/p99 latency, CPU, heap, allocations, async/concurrency, streaming, database query cost, cachi

How to use this skill

Skill file

Performance and Memory

Purpose

Keep performance work honest. Find the bottleneck with evidence, choose the simplest useful intervention, and make sure the result can be measured again.

Change context

Change method

  1. Form a hypothesis and measurement plan before optimizing.
  2. Collect baseline evidence or state why baseline cannot be collected.
  3. Look for algorithmic issues, I/O bottlenecks, query shape, caching boundaries, concurrency limits, allocation churn, and serialization overhead.
  4. Recommend or implement the smallest change likely to move the metric.
  5. Re-measure after the change when possible.
  6. Record tradeoffs: complexity, correctness risk, cache invalidation, resource cost, and rollback.

Engineering constraints

Evidence

Ready when

Handoff

Hand off metric, evidence, changed constraints, and regression checks to implementation, QA, or review.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.