principle-performance

Community

Make hot code fast by design.

Authorlugassawan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents performance regressions by teaching how to choose the right design decisions (algorithms, data structures, access patterns) before you write code or change implementations.

Core Features & Use Cases

  • Latency vs. Throughput trade-offs: Decide the actual optimization objective (including tail latency) instead of improving the wrong metric.
  • Profile-before-optimize discipline: Ensure changes target real bottlenecks with measurable before/after validation.
  • Hot-path performance thinking: Catch common causes of slowdowns such as O(n²) patterns, excessive allocations/GC pressure, poor data locality, and N+1 database queries.

Quick Start

Ask an AI to review a suspected hot-path endpoint design and point out likely latency/throughput issues, N+1 query risks, and allocation-heavy patterns to prioritize what to measure and change first.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: principle-performance
Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#principle-performance

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.