Skip to content
Back to skills

Ops

ASecurity

Choose and apply speed and scale fixes after profiling - caching, read replicas, sharding, indexes, queues, event-driven design. Use when measured latency or load needs a design change, not just a code tweak.

  • 24 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 14, 2026
ai-agentsgoreactnodedatabaseperformance

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ops?

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

Security grade badge for Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-ops-365b90e4/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-ops-365b90e4)

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-optimization
description: Choose and apply speed and scale fixes after profiling - caching, read replicas, sharding, indexes, queues, event-driven design. Use when measured latency or load needs a design change, not just a code tweak.
triggers: [scale this service, add read replicas, shard the database, offload work to a queue, database index for slow query, reduce p99 latency]
tags: [ops]
context_cost: medium
---
# Performance Optimization Skill

## Goal
To ensure systems behave predictably under load and utilize resources efficiently.

## Capabilities

### 1. Caching Strategy
-   **Cache-Aside**: App reads DB, populates cache. (Best for read-heavy).
-   **Write-Through**: App writes to Cache + DB. (Data consistency).
-   **Edge Caching**: CDN for static assets (Images, JS).

### 2. Database Scaling
-   **Read Replicas**: Offload `SELECT` queries to secondary nodes.
-   **Sharding**: Horizontal partitioning by Key (User ID, Region).
-   **Indexing**: The #1 fix for slow queries.

### 3. Async Architectures
-   **Message Queues**: Decouple heavy work (Sending Emails) from request loop.
-   **Event-Driven**: Services react to changes instead of polling.

## Steps
1.  **Stop Guessing**: Use a profiler (pprof, Flamegraphs) before optimizing; for the measurement procedure and Web Vitals see `performance-audit.skill`, for cache design see `caching-strategy.skill`.
2.  **N+1 Problem**: Watch for loops triggering DB queries.
3.  **Database First**: 99% of bottlenecks are in the data layer.

## Deliverables
-   `profiling-report.md`: Analysis of hotspots.
-   `caching-strategy.md`: Redis/Memcached plan.
-   `load-test-plan.md`: k6/JMeter script design.

## Constraints
- No optimisation without a measured baseline and a target.
- Do not add caching, sharding or replicas to an endpoint whose measured load does not need them.

## Output Format
The files named under Deliverables (`profiling-report.md`, `caching-strategy.md`, `load-test-plan.md`) with measured before and after numbers.

## Limits and safety
- Run profilers against the target process or container only, not the host node.
- Do not cache authentication or authorisation lookups, or give them a very short TTL with a stated reason.
- Queue consumers must handle malformed or oversized messages without crashing; test with one.
- Index changes are proposed with the exact statement and write cost, and run only after the human confirms; "index everything" is refused.
- Do not add caching or sharding for low-traffic endpoints; state the measured threshold used.

Files in this skill

  • caching-strategy.skill.md3.9 KB
  • capacity-planning.skill.md3.6 KB
  • cloud-deploy.skill.md3.2 KB
  • configuration-management.skill.md7.6 KB
  • cost-optimization.skill.md2.3 KB
  • decommission-sunset.skill.md6.6 KB
  • dependency-lifecycle.skill.md6.3 KB
  • deployment.skill.md7.8 KB
  • dev-environments.skill.md1.9 KB
  • dev-workflow.skill.md1.8 KB
  • docker-dev.skill.md3.1 KB
  • enterprise-integration.skill.md3.1 KB
  • feature-flag-management.skill.md5.7 KB
  • incident-response.skill.md2.8 KB
  • infra-devops.skill.md3.2 KB
  • k8s-dev.skill.md3.2 KB
  • memory-optimization.skill.md2.9 KB
  • observability-stack-setup.skill.md6.6 KB
  • performance-audit.skill.md7.1 KB
  • performance-optimization.skill.md3.1 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.