agentleFS
tuanductrantuanductran/tester-skills/skills/performance-testing/SKILL.md

performance-testing

Skill0 starsChanged 4 months agoMITView on GitHub

Performance testing guidelines covering backend load testing (k6) and frontend Core Web Vitals (Lighthouse CI). Use this skill whenever writing or reviewing a load test, setting performance budgets or thresholds, investigating a performance regression, or profiling a slow endpoint or page. Triggers on requests like "write a load test", "set up k6", "check Core Web Vitals", "why is this slow", or "add a performance budget to CI".

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use security-testing.

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.
  • mmondoraSkill

    security-testing

    Automated security testing in CI. SAST, DAST, dependency scanning, authorization testing, secret detection. Use when adding security scans to pipelines, writing tenant isolation tests, or configuring vulnerability scanning.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read rules/_sections.md for full category descriptions.

    line 49

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

Guidelines for making performance testing objective and CI-gatable instead of a manual, occasional check. Contains 5 rules across 3 categories.

When to Apply

Reference these guidelines when:

  • Writing a k6 (or similar) load test for an API or service
  • Setting performance budgets/thresholds that should fail CI when breached
  • Investigating a reported performance regression
  • Setting up Lighthouse CI for frontend Core Web Vitals

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Load TestingHIGHload-
2Web Vitals & Frontend BudgetsHIGHvitals-
3Profiling & DiagnosisMEDIUMprofiling-

Quick Reference

1. Load Testing (HIGH)

  • load-k6-thresholds - Define pass/fail thresholds in the script itself
  • load-ramping-vus - Ramp virtual users gradually, don't spike

2. Web Vitals & Frontend Budgets (HIGH)

  • vitals-core-web-vitals-budget - Explicit LCP/CLS/INP budgets
  • vitals-lighthouse-ci-gate - Run Lighthouse CI on every PR

3. Profiling & Diagnosis (MEDIUM)

  • profiling-flame-graphs - Profile before optimizing

How to Use This Skill

  1. Read rules/_sections.md for full category descriptions.
  2. For a new load test, start from load-k6-thresholds so the test is CI-gatable from day one.
  3. For frontend regressions, check budgets first (vitals-core-web-vitals-budget), then profile (profiling-flame-graphs) rather than guessing at a fix.

See rules/_template.md for the format used by every rule file.

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.