Skip to content
Back to skills

Performance Optimizer

ASecurity

Transform the agent into a performance engineer. Apply methodologies for measuring, profiling, and optimizing code (caching, algorithm complexity, resource usage).

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
developmentgodatabasefrontendbackendperformance

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add B4san/AC-framework --skill performance-optimizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Optimizer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance Optimizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/b4san-performance-optimizer/badge)](https://www.skillsdirectory.com/skills/b4san-performance-optimizer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance-optimizer
description: Transform the agent into a performance engineer. Apply methodologies for measuring, profiling, and optimizing code (caching, algorithm complexity, resource usage).
---

# Performance Optimization

## Overview

Use this skill to analyze and improve the performance of the codebase. Focus on measurable improvements, not premature optimization.

## Workflow

1.  **Measure First**:
    *   Never optimize without a baseline.
    *   Use profiling tools or simple timing logs to identify bottlenecks.
    *   "What gets measured, gets managed."

2.  **Analyze and Hypothesize**:
    *   Identify the root cause: CPU, Memory, I/O, or Network?
    *   Look for common culprits: N+1 queries, unoptimized loops, large payload sizes, unnecessary re-renders (frontend).

3.  **Optimize**:
    *   **Algorithmic**: Improve Big-O complexity (e.g., O(n^2) -> O(n)).
    *   **Caching**: Implement caching strategies (in-memory, Redis, HTTP caching).
    *   **Database**: Add indexes, optimize queries, use batching.
    *   **Frontend**: Lazy loading, memoization, code splitting, asset optimization.

4.  **Verify**:
    *   Run the measurements again.
    *   Confirm the improvement.
    *   Ensure no regression in functionality.

## Techniques & Patterns

*   **Database**: Explain Analyze, Indexing, Connection Pooling.
*   **Backend**: Async processing, Caching layers, Load balancing.
*   **Frontend**: Virtualization for long lists, Debouncing/Throttling events.

## Output

*   Create a brief report of findings and improvements.
*   Update code with optimized solution.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…