Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Performance Pass

ASecurity

Fixes measured slowness by setting a budget, profiling to find where time actually goes, changing one thing, and measuring again. Use for a latency regression, an N+1 query, memory growth, a slow build or test suite, or a Core Web Vitals miss. Refuses to optimize anything without a baseline number.

9 stars
0 votes
0 copies
0 views
Added 9/27/2026
ai-agentsgofrontendperformance

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add khuynh22/agent-dev-team --skill performance-pass --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Pass?

Add the live security badge to your README — it updates automatically with every re-scan.

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

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: performance-pass
description: Fixes measured slowness by setting a budget, profiling to find where time actually goes, changing one thing, and measuring again. Use for a latency regression, an N+1 query, memory growth, a slow build or test suite, or a Core Web Vitals miss. Refuses to optimize anything without a baseline number.
license: MIT
metadata:
  phase: review
  owners: [performance-engineer]
  version: "0.1.0"
---

# Performance Pass

Measure, change one thing, measure again, keep the number. Without a baseline you are
guessing, and guessing usually makes the code worse and the program no faster.

Standing reference: `references/performance-checklist.md`.

## Process

1. **State the budget.** Which metric, at which percentile, under what load. "p95 search
   latency under 200 ms at 50 requests per second." Without a target there is no way to
   know when to stop, and optimisation has no natural end.

2. **Measure the baseline.** Warm up, discard the first runs, report p50 and p95. Save the
   command; it goes in the report and in the repository.

3. **Find where time actually goes.** A profile, a query log, a trace, a counter. Not
   intuition. The bottleneck is almost never where it feels like it is, which is why this
   step exists.

4. **Work the order.** Most real wins are in the first two:

   1. Work it does not need to do at all: redundant calls, work inside a loop that belongs
      outside it, recomputation of a stable value, over-fetching.
   2. Work done N times: N+1 queries and N+1 requests dominate real regressions. Count the
      queries in a test to prove it.
   3. Waiting: serial I/O that could be concurrent, a lock held across I/O, a missing
      timeout.
   4. The algorithm: a quadratic scan over a growing collection.
   5. Constant factors: allocation, copying, serialization.

5. **Change one thing. Measure again.** Two changes at once and you have learned nothing
   about either.

6. **Name what you traded.** Faster usually costs memory, complexity, or freshness. A cache
   without a stated invalidation rule is a bug that has not fired yet.

7. **Commit the benchmark** so the claim is reproducible and the regression is caught
   rather than rediscovered.

## Frontend specifics

Targets at the 75th percentile on real devices: LCP under 2.5 s, INP under 200 ms, CLS
under 0.1. Measure on a throttled connection and a mid-tier device profile, not on your
machine.

The usual causes: an unoptimized hero image or render-blocking resources for LCP; long
tasks and heavy handlers for INP; images without dimensions and late-loading fonts for CLS.

## Output

```markdown
## Performance: <target>
- **Budget:** <metric, percentile, load>
- **Baseline:** p50 <n> / p95 <n> — command: `<cmd>`
- **Profile said:** <quoted, the top cost>
- **Change:** <one sentence>
- **After:** p50 <n> / p95 <n> — same command, same data
- **Traded away:** <memory, complexity, staleness>
- **Benchmark committed at:** <path>
```

## Verification

- Before and after come from the same command, on the same data, on the same hardware.
- Numbers are absolute and include a percentile. A percentage alone hides that the
  baseline was 3 ms.
- The full test suite still passes. A faster wrong answer is not a win.
- The benchmark is in the repository.

## Red flags

| Thought | Reality |
|---------|---------|
| "This loop is obviously the problem" | Profile it. It usually is not. |
| "It feels faster" | Feels is not a percentile. |
| "I made five improvements" | You now know the effect of none of them. |
| "3x faster on my fixture" | A twelve-row fixture proves nothing about a twelve-million-row table. |
| "Caching fixed it" | What invalidates it? |
| "The average improved" | Averages hide the tail, and the tail is the user complaining. |
| "I'll optimize this while I'm in here" | Without a budget and a baseline, that is churn. |

Attribution

khuynh22khuynh22
View sourceMore from khuynh22 →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694821 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →