agentleFS
primerprimer/react/.agents/skills/performance/SKILL.md

performance

Skill3.9k starsChanged 13 days agoMITView on GitHub

Use when investigating or improving Primer React performance, including slow interactions, rendering, layout, page loads, and memory growth. Do not use for functional debugging without a performance symptom or for analytics and adoption metrics.

92 other projects use a version of this.

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 3 mentionsNov 2026: 2 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the primer/react repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about primer/react

The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 34

Talked about on GitHub (34 times).

On GitHub · 34

29 more on GitHub

Used with

Projects with it also use app-brief, design-from-app and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • StijnusSkill

    app-brief

    One-page brief (docs/BRIEF.md) for a new macOS app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done.

    Also in 3 projects that use this

  • StijnusSkill

    design-from-app

    Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".

    Also in 3 projects that use this

  • FlorianBruniauxSkill

    tdd-rust

    Also in 3 projects that use this

  • launchapp-devSkill

    layout-grid

    Define responsive layout grid systems with columns, gutters, margins, and breakpoint behavior.

    Also in 3 projects that use this

  • RodrigoTomeESSkill

    web-quality-audit

    Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".

    Also in 9 projects that use this

  • ufodev-ioSkill

    security-guardian

    Comprehensive security layer for all interactions with Claude: audits code, dependencies, commands, configs, and AI-generated output for vulnerabilities. Protects against prompt injection, data leaks, unsafe advice, and social engineering. Works in Cursor, Claude Code, claude.ai, and API contexts. Use always as a background security protocol in any Claude-powered environment.

    Also in 3 projects that use this

  • +1 more from Stijnus

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 63 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start with a reproducible symptom and a baseline.

    line 8
  2. Very specific:

    Read the browser reference for browser investigations.

    line 15
  3. Very specific:

    Follow the evidence to the responsible work.

    line 20

“Common” is measured: kept by at least 6 in 10 of the 63 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Performance

Start with a reproducible symptom and a baseline. Use measurements to identify the bottleneck before proposing a change.

Workflow

  1. Define the scenario, expected behavior, and metric: interaction latency, scripting time, style/layout cost, LCP, or retained heap size.
  2. Read the browser reference for browser investigations. For component scenarios, load the storybook skill to find an existing story and start Storybook only if needed.
  3. Capture a baseline using Chrome DevTools MCP. Keep content, viewport, theme, cache state, CPU/network emulation, and interaction sequence consistent.
  4. Follow the evidence to the responsible work. Distinguish React rendering from JavaScript, style recalculation, layout, paint, network, and retained objects.
  5. Make the smallest change that addresses the measured cause without changing behavior or accessibility.
  6. Repeat the same scenario and compare multiple runs. Report the before/after measurements, capture conditions, supporting trace or retaining path, and remaining uncertainty. Do not claim a win from a single noisy run.

Related skills

  • chrome-devtools: MCP browser inspection, interaction, and trace tooling.
  • chrome-devtools-cli: terminal automation when MCP is unavailable or a script is explicitly needed.
  • debug-optimize-lcp: page-load and Largest Contentful Paint investigations.
  • memory-leak-debugging: heap growth, detached nodes, and retaining paths.
  • a11y-debugging: verify keyboard, focus, and semantic behavior affected by a fix.

References

ReferenceWhen to use
BrowserBrowser tool selection, repeatable traces, and heap investigations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.