perf-profiling SKILL.md skillA

perf-profiling from nguyenthienthanh/aura-frog is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nguyenthienthanh/aura-frog/perf-profiling@git:20260819.03ddfe3

Pins git:20260819.03ddfe3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nguyenthienthanh/aura-frog
Path
aura-frog/skills/perf-profiling/SKILL.md
Versions recorded
5
Latest version
git:20260819.03ddfe3, committed Aug 19, 2026
First version recorded
Apr 21, 2026
Size
8,762 bytes
Repository stars
25
License
MIT

Systematic performance profiling and optimization across frontend (Core Web Vitals, code splitting, lazy loading), backend (N+1 queries, async), and database (EXPLAIN ANALYZE, indexing) layers. Use when the user reports slow code, latency, memory leaks, needs to benchmark, or wants to speed up an application. Measure first, optimize second. Applies Pareto principle — find the 20% of code causing 80% of slowness, fix that, not the rest.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

> **AI-consumed reference.** Optimized for Claude to read during execution.
> Human-readable explanation: see [docs/architecture/HIERARCHICAL_PLANNING.md](../../../docs/architecture/HIERARCHICAL_PLANNING.md)
> or [docs/getting-started/](../../../docs/getting-started/) depending on topic.

# Performance Profiling

**Rule 0:** Don't optimize what you haven't measured. Almost all "obvious" optimizations are wrong.

---

## The Protocol

### Step 1 — Define "fast enough"

Performance is relative. Before optimizing:

- **Current metric** (p50, p95, p99 latency / MB memory / % CPU)
- **Target metric** (what's the SLO/SLA/user expectation?)
- **Gap** — what needs to close

If no target → **ask the user**. Don't optimize without a goal — you'll polish forever.

### Step 2 — Measure baseline

Use the appropriate profiler:

| Language | Profiler |
|----------|----------|
| Node.js | `node --prof`, `clinic.js`, `0x` |
| Browser JS | Chrome DevTools Performance tab |
| Python | `cProfile`, `py-spy`, `memory_profiler` |
| Go | `pprof` (built-in) |
| Rust | `cargo flamegraph`, `perf` |
| CLI | `hyperfine` |
| HTTP | `wrk`, `k6`, `vegeta` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nguyenthienthanh/aura-frog/perf-profiling@sha256:69ff465711d0d767

The line at the top of this page pins the label git:20260819.03ddfe3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5ilu6r3bsvlcmu6q.svg)](https://markdownregistry.com/a/art_5ilu6r3bsvlcmu6q)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Apr 21, 2026 and Aug 19, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20260819.03ddfe3 latest2026-08-19 03ddfe3 8,762 BA view · diff
git:20260515.6be9f592026-05-15 6be9f59 5,987 BA view · diff
git:20260428.3e002772026-04-28 3e00277 5,696 BA view · diff
git:20260428.bdee3232026-04-28 bdee323 5,674 BA view · diff
git:20260421.8f624552026-04-21 8f62455 5,530 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8762 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nguyenthienthanh/aura-frog · 25 stars · license MIT · pushed 2026-10-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5ilu6r3bsvlcmu6q
GET https://markdownregistry.com/api/v1/resolve?ref=nguyenthienthanh/aura-frog/perf-profiling
GET https://markdownregistry.com/api/v1/blob/69ff465711d0d7677e99909f02ea6fe8c79227a64774d5b97ae5c26d8a9d3a51

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nguyenthienthanh/aura-frog

CLAUDE.md@aura-frog CLAUDE.md file
nguyenthienthanh/aura-frog · aura-frog/CLAUDE.md
git:20261001.e86bd63 · audit A · 25 stars
agent-detector SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/agent-detector/SKILL.md · CRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to…
git:20260812.7cc066c · audit A · 25 stars
api-designer SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/api-designer/SKILL.md · Designs RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and…
git:20260515.6be9f59 · audit A · 25 stars
bugfix-quick SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/bugfix-quick/SKILL.md · Fast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification…
git:20260515.6be9f59 · audit A · 25 stars
chain-of-verification SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/chain-of-verification/SKILL.md · Draft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in…
git:20260924.947d255 · audit A · 25 stars
code-reviewer SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/code-reviewer/SKILL.md · 8-aspect evidence-based code review/audit (security, correctness, compatibility, architecture, error handling, test…
git:20260924.947d255 · audit A · 25 stars
code-simplifier SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/code-simplifier/SKILL.md · Detect and simplify overly complex code. Apply KISS principle - less is more.
git:20260515.6be9f59 · audit A · 25 stars
conflict-detector SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/conflict-detector/SKILL.md · L1-L4 conflict detection between a proposed T4 task and pending-confirm sibling tasks. L1 (file overlap) + L2…
git:20260515.6be9f59 · audit A · 25 stars
deep-debugging SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/deep-debugging/SKILL.md · Systematic debugging protocol for bugs that resist quick fixes. Use bisection, hypothesis trees, and scientific method…
git:20260515.6be9f59 · audit A · 25 stars
design-expert SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/design-expert/SKILL.md · UI/UX design expertise — component design, design system selection, responsive layout. Includes auto-detection from…
git:20260717.c6df55c · audit A · 25 stars
design-tokens SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/design-tokens/SKILL.md · Generate a cohesive color-token system from ONE OKLCH brand hue — primary/secondary/background/foreground/muted/border…
git:20260717.c6df55c · audit A · 25 stars
design-vision-loop SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/design-vision-loop/SKILL.md · Vision feedback loop for UI — render the running UI, screenshot it across viewports + dark mode, run deterministic…
git:20260728.fc5e06b · audit A · 25 stars

Every file in nguyenthienthanh/aura-frog

Browse by kind, by grade A, or by owner.