Wordpress-skills
AGENTS.md33 starsChanged 7 months agoMITView on GitHub
Use skills/wordpress-plugin-dev/SKILL.md as the canonical entry point. Before making WordPress-version-sensitive recommendations, load references/source-map.md and verify the current official docs for the relevant tool or API. For local checks: Do not edit generated install target copies directly. Edit the canonical skill folder, then run: Treat audit-plugin.mjs findings as triage signals, not proof of security. Verify release-sensitive Codex, Cursor, Claude Code, WordPress.org, Plugin Check, WP-CLI, npm, and Composer behavior against current official documentation before publishing.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- wordpress-plugin-devSkill
- wordpress-plugin-devSkill
- wordpress-plugin-devSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
33 rules. About 0 are common, 27 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈27
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 3
Use skills/wordpress-plugin-dev/SKILL.md as the canonical entry point.
- Very specific: line 5
Before making WordPress-version-sensitive recommendations, load references/source-map.md and verify the current official docs for the …
- Distinctive: line 23
Do not edit generated install target copies directly.
- Very specific: line 29
Treat audit-plugin.mjs findings as triage signals, not proof of security.
- Distinctive: line 34
Never remove security checks for speed.
- Distinctive: line 35
Avoid expensive work on every request.
- Very specific: line 38
Use no_found_rows when pagination totals are not needed.
- Very specific: line 39
Use fields => ids when only IDs are required.
- Distinctive: line 41
Avoid remote HTTP calls during render without cache/fallback.
- Distinctive: line 42
Avoid large autoloaded options.
- Very specific: line 43
Do not call flush_rewrite_rules() on normal requests.
- Distinctive: line 44
Treat static scanner output as heuristic.
- Distinctive: line 48
Prefer WordPress-native UI in wp-admin.
- Distinctive: line 49
Do not add heavy UI frameworks by default.
- Distinctive: line 50
Use clear labels and accessible form structure.
- Distinctive: line 51
Do not use placeholder text as a label.
- Distinctive: line 53
Keep one clear primary action per screen/section.
- Distinctive: line 54
Use progressive disclosure for advanced settings.
- Distinctive: line 57
Never remove security checks or escaping for visual polish.
- Distinctive: line 59
Consider keyboard navigation, focus, contrast, RTL, and text expansion.
- Distinctive: line 60
Treat design scanner output as heuristic.
- Distinctive: line 64
Prefer WordPress core APIs before third-party plugin/theme APIs.
- Distinctive: line 65
Use feature detection for optional integrations.
- Distinctive: line 66
Never fatal if an optional plugin, theme, or builder is missing.
- Distinctive: line 68
Do not use third-party private internals unless there is no alternative and the risk is documented.
- Distinctive: line 69
Do not output duplicate SEO meta, schema, canonical, robots, Open Graph, or Twitter tags.
- Distinctive: line 70
Do not cache private/user-specific output publicly.
- Distinctive: line 71
Avoid purge-all cache behavior except explicit admin actions.
- Distinctive: line 72
Do not globally override theme CSS.
- Distinctive: line 73
Keep Classic Editor and Block Editor flows scoped.
- Distinctive: line 74
Do not load builder/theme-specific assets globally.
- Distinctive: line 76
Treat static compatibility scanner output as heuristic.
- Distinctive: line 77
Verify current third-party docs before release-sensitive work.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Notes
Use skills/wordpress-plugin-dev/SKILL.md as the canonical entry point.
Before making WordPress-version-sensitive recommendations, load references/source-map.md and verify the current official docs for the relevant tool or API.
For local checks:
npm run validate:skill
npm run check:sources
npm run test:audit
npm run audit:fixture
npm run performance:audit
npm run performance:audit:json
npm run design:audit
npm run design:audit:json
npm run compatibility:audit
npm run compatibility:audit:json
npm run smokeDo not edit generated install target copies directly. Edit the canonical skill folder, then run:
npm run syncTreat audit-plugin.mjs findings as triage signals, not proof of security. Verify release-sensitive Codex, Cursor, Claude Code, WordPress.org, Plugin Check, WP-CLI, npm, and Composer behavior against current official documentation before publishing.
Performance Defaults
- Identify hot paths before optimizing.
- Never remove security checks for speed.
- Avoid expensive work on every request.
- Scope assets by frontend/admin/editor/screen/block.
- Bound queries and paginate collections.
- Use
no_found_rowswhen pagination totals are not needed. - Use
fields => idswhen only IDs are required. - Cache expensive safe operations with TTL and invalidation.
- Avoid remote HTTP calls during render without cache/fallback.
- Avoid large autoloaded options.
- Do not call
flush_rewrite_rules()on normal requests. - Treat static scanner output as heuristic.
Design Defaults
- Prefer WordPress-native UI in wp-admin.
- Do not add heavy UI frameworks by default.
- Use clear labels and accessible form structure.
- Do not use placeholder text as a label.
- Design empty, loading, success, error, and edge states.
- Keep one clear primary action per screen/section.
- Use progressive disclosure for advanced settings.
- Scope admin and frontend CSS.
- Frontend output should inherit theme styles where practical.
- Never remove security checks or escaping for visual polish.
- UI text must be i18n-ready.
- Consider keyboard navigation, focus, contrast, RTL, and text expansion.
- Treat design scanner output as heuristic.
Integration / Compatibility Defaults
- Prefer WordPress core APIs before third-party plugin/theme APIs.
- Use feature detection for optional integrations.
- Never fatal if an optional plugin, theme, or builder is missing.
- Isolate integration adapters.
- Do not use third-party private internals unless there is no alternative and the risk is documented.
- Do not output duplicate SEO meta, schema, canonical, robots, Open Graph, or Twitter tags.
- Do not cache private/user-specific output publicly.
- Avoid purge-all cache behavior except explicit admin actions.
- Do not globally override theme CSS.
- Keep Classic Editor and Block Editor flows scoped.
- Do not load builder/theme-specific assets globally.
- Maintain a compatibility matrix for claimed integrations.
- Treat static compatibility scanner output as heuristic.
- Verify current third-party docs before release-sensitive work.
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.

