Skip to content
Back to skills

Performance

ASecurity

Improves measured performance while preserving correctness, reliability, and maintainability.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgodatabaseperformance

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Mesteriis/Engineering-Bible-AI --skill performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance?

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

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

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
description: "Improves measured performance while preserving correctness, reliability, and maintainability."
---

# Skill: performance

## Purpose

Improve performance only when it matters, and without breaking correctness.

## Rules

- Correctness comes first.
- Identify the bottleneck before optimizing.
- Prefer measurement over intuition.
- Do not add caching unless invalidation is clear.
- Do not trade data integrity or safety for speed.
- Do not make code clever merely to save imaginary nanoseconds.

## Common Bottlenecks

Check for:

- repeated I/O;
- N+1 queries;
- unbounded memory growth;
- unnecessary allocations;
- blocking work in async/event-loop contexts;
- inefficient serialization;
- overly broad database queries;
- missing indexes when schema context confirms it;
- excessive polling;
- hardware update intervals that cause instability or wear.

## Optimization Workflow

1. Define performance goal.
2. Identify current behavior.
3. Measure or reason from evidence.
4. Make focused change.
5. Validate correctness.
6. Validate performance impact if possible.
7. Document tradeoffs.

## Caching Rules

Add caching only when:

- correctness is preserved;
- invalidation is understood;
- cache size is bounded or controlled;
- stale data behavior is acceptable;
- failure behavior is defined;
- observability exists when needed.

## Reporting

Report:

- bottleneck;
- change;
- correctness validation;
- performance validation;
- tradeoffs/risks.
## Extended References


For deeper work, read:

- `../../engineering/18_performance_philosophy.md`

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…

Newsletter

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