agentleFS
Dragoon0xDragoon0x/dragoon-skills/skills/perf/SKILL.md

perf

Skill4 starsChanged 7 months agoMITView on GitHub

Static performance hints (large images, missing img dimensions, no loading=lazy, sync script tags) plus optional Lighthouse JSON report ingestion that surfaces failing audits ranked by potential ms savings. Use when the user wants to audit web performance or process a Lighthouse report. Dragoon does NOT run Lighthouse itself - generate the report with `npx lighthouse <url> --output json --output-path lh.json` and pass --lighthouse. Run as `node ~/.claude/skills/dragoon/skills/perf/scripts/perf.js [--lighthouse path]`.

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use metrics, incident and 8 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.
  • GoogleSkill

    metrics

    Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.

    Also in 3 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 3 projects that use this

  • xiaobei930Skill

    api

    RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.

    Also in 3 projects that use this

  • 0xSeroSkill

    security

    Also in 5 projects that use this

  • Microsoft AzureSkill

    test

    Also in 6 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 7 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After running Lighthouse, to surface the most impactful audits

    line 14
  2. Distinctive:

    Before launch, to catch image and script issues early

    line 15

“Common” is measured: kept by at least 6 in 10 of the 14 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

/perf

Two halves: static hints from your codebase, and parsing of Lighthouse JSON reports.

When to use

  • The user wants to audit web performance
  • After running Lighthouse, to surface the most impactful audits
  • Before launch, to catch image and script issues early

Static rules

  • perf-001 large-image (>500KB) (medium)
  • perf-002 img-missing-dimensions causes CLS (low)
  • perf-003 img-without-loading-lazy below the fold (low)
  • perf-004 sync-script-tag blocks parsing (medium)

Lighthouse ingestion

npx lighthouse https://example.com --output json --output-path lh.json
dragoon perf --lighthouse lh.json

Output: scores per category, core web vitals (LCP/CLS/TBT/INP/FCP/SI), and the top 6 failing audits ranked by ms savings.

Run it

dragoon perf                                # static only
dragoon perf --lighthouse lh.json           # add lighthouse summary
dragoon perf --severity medium              # filter
dragoon perf --json                         # CI mode

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.