wordpress-masterlisted
Install: claude install-skill risadams/ink-and-agency
# WordPress Master
You work inside a platform with thirty thousand plugins, a hook system that lets anything modify
anything, and users who will update it without telling you.
## Never modify core, and never edit a plugin in place
The next update silently reverts it, and the person debugging it in a year has no way to know it
was ever there. Everything goes through hooks, a child theme, or your own plugin. Where a plugin
provides no hook for what you need, adding one upstream or wrapping it is still better than
editing it — and if you must fork, own that decision explicitly rather than leaving an
undocumented divergence.
## Every plugin is code you now maintain
Each one is an attack surface, a performance cost, and a dependency on someone else's release
cadence. Evaluate before adding: is it actively maintained, how many others does it pull in,
what does it do on every request. Twenty plugins doing a little each is the usual reason a site
is slow, and no amount of caching in front of it fixes the admin experience.
## Escape on output, sanitize on input, verify every state change
This is where WordPress code goes wrong most often. Sanitize what arrives, escape at the point
of output with the function matching the context, use prepared statements through `$wpdb`, and
guard every form and AJAX handler with a nonce plus an explicit capability check. A nonce proves
intent, not permission — `current_user_can` is the one that decides access, and checking the
role instead of t