wp-performance
Skill4 starsChanged 3 days agoMITView on GitHub
Optimize and audit WordPress plugin/theme performance — server-side (enqueue discipline, options autoload, transients, query caching) and front-end (bundle splitting, dynamic imports, rAF budget, animation cost). Use when improving page speed, web vitals, or when writing any code that runs on every request.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- wpgaurav/WordPress-skillstheir own version, first seen Oct 13, 2026
- shinobiashi/claude-skillstheir own version, first seen Oct 8, 2026
- iamandrewpeters/claude-skillstheir own version, first seen Mar 4, 2026
- morrealev/wordpress-managertheir own version, first seen Mar 1, 2026
- eugenepyvovarov/mcpbundler-agent-skills-marketplacetheir own version, first seen Feb 15, 2026
- WordPress/agent-skillstheir own version, first seen Dec 23, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- WordPress/agent-skills★ 2.3ksame name
- wpgaurav/WordPress-skills★ 19same name
- eugenepyvovarov/mcpbundler-agent-skills-marketplace★ 12same name
- morrealev/wordpress-manager★ 8same name
- iamandrewpeters/claude-skills★ 2same name
- shinobiashi/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- diagnosing-bugsSkill
- domain-modelingSkill
- fixSkill
- frontend-designSkill
- grill-meSkill
- grill-with-docsSkill
- gsap-coreSkill
- gsap-performanceSkill
- gsap-pluginsSkill
- gsap-scrolltriggerSkill
- gsap-timelineSkill
- gsap-utilsSkill
- handoffSkill
- landing-page-conversion-auditSkill
- refactorSkill
- researchSkill
- reviewSkill
- share-learningSkill
- tddSkill
- threejs-animationSkill
- threejs-fundamentalsSkill
- threejs-geometrySkill
- threejs-interactionSkill
- threejs-lightingSkill
- threejs-loadersSkill
- threejs-materialsSkill
- threejs-postprocessingSkill
- threejs-shadersSkill
- threejs-texturesSkill
- to-specSkill
- to-ticketsSkill
- verifySkill
- wp-accessibilitySkill
- wp-accessibility-standardsSkill
- wp-css-standardsSkill
- wp-github-actions-standardsSkill
- wp-html-standardsSkill
- wp-i18nSkill
- wp-js-standardsSkill
- wp-php-standardsSkill
- wp-pluginSkill
- wp-security-auditSkill
- wp-themeSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Enqueue discipline: only enqueue what the current page needs (conditional tags: is_front_page(), is_singular(), is_page_template()).
- Very specific: line 19
Queries: use pre_get_posts instead of duplicate WP_Query.
- Distinctive: line 22
Manifest-driven assets: read Vite manifest once per request (static cache), preload fonts, defer module scripts
- Distinctive: line 24
No heavy autoload of plugin classes on the front end — load only what the request needs
- Very specific: line 31
rAF budget: all animation through Tempus (single loop).
“Common” is measured: kept by at least 6 in 10 of the 6 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.
Files
Performance — WordPress + Front-End
Load docs/performance.md for the full reference. Two halves: what runs on the server
every request, and what runs in the browser every frame.
Server-side (PHP)
- Enqueue discipline: only enqueue what the current page needs (conditional tags:
is_front_page(),is_singular(),is_page_template()); never load admin assets on the front end or vice versa;wp_enqueue_*only — no hardcoded<link>/<script> - Options:
autoload: falsefor anything large or rarely used (autoloaded options load on EVERY request); Transients for cached computed data (not options); neverupdate_optionper request - Queries: use
pre_get_postsinstead of duplicateWP_Query;no_found_rows,'fields' => 'ids'where applicable; alwayswp_reset_postdata(); preferget_posts/API functions (cached) over raw$wpdb - Manifest-driven assets: read Vite manifest once per request (static cache), preload fonts, defer module scripts
- No heavy autoload of plugin classes on the front end — load only what the request needs
Front-end (browser)
- Bundle discipline: entry JS imports CSS + core; Three.js / QR / heavy libs behind
dynamic
import()chunks; vendor code-split ≤ ~300KB chunks;chunkSizeWarningLimittuned in vite config - rAF budget: all animation through Tempus (single loop); gate expensive work on
state.budget; pause loops when elements leave viewport (IntersectionObserver); skip frames on low-core machines (navigator.hardwareConcurrency) - Animation cost: animate only
transform/opacity; no layout thrash; nowill-change: transformon ancestors ofposition: fixed; avoid forcing repaints (filter/blur on large layers) - Scroll: Lenis on native scroll (no transform-based virtual scroll) — cheap and
sticky-safe;
data-lenis-preventfor nested scrollables instead ofallowNestedScroll - Fonts: woff2 with
font-display: swap+unicode-rangesubsets; preload critical font files - Async CSS: critical CSS inline/preloaded, rest loaded async with noscript fallback
- Media: lazy loading images/video; proper
srcset/sizes
Audit procedure
- Server: trace one request path — what's enqueued, which options autoload, query count
(
Query Monitorin dev orsave_queries) - Front-end: bundle report (
vite build --reportor analyze dist), dynamic chunks, animation loops - Report: measured findings only (never fabricate Lighthouse/bundle numbers); flag what needs browser profiling
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
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.

