/ Directorio / Playground / claude-wordpress-skills
● Comunidad elvismdev ⚡ Instantáneo

claude-wordpress-skills

por elvismdev · elvismdev/claude-wordpress-skills

Make Claude a senior WordPress engineer — security, performance, Gutenberg blocks, theme and plugin discipline.

claude-wordpress-skills is a professional skills pack for WordPress work: security auditing (nonces, capabilities, escaping), performance optimization (caching, query tuning), Gutenberg block development (modern JS + block.json), and theme/plugin best practices (i18n, accessibility, WP Coding Standards). Load it once and Claude stops writing 2015-era WordPress code.

Por qué usarlo

Características clave

Demo en vivo

Cómo se ve en la práctica

claude-wordpress-skill.replay ▶ listo
0/0

Instalación

Repositorio del autor · Documentación oficial de Skills de Claude

Casos de uso

Usos del mundo real: claude-wordpress-skills

How to build a Gutenberg block the modern way

👤 WordPress developers building custom blocks ⏱ ~45 min intermediate

Cuándo usarlo: You need a custom editor block and don't want to hand-roll outdated ESNext + webpack scaffolding.

Flujo
  1. Describe the block
    Build a Testimonial block: quote text, author name, author photo — edit and save views.✓ Copiado
    → block.json + edit.js + save.js scaffolded, @wordpress/scripts build setup
  2. Add attributes and controls
    Add an alignment control and a color picker.✓ Copiado
    → BlockControls / InspectorControls added correctly
  3. Bundle and register
    Write the PHP that registers the block from block.json.✓ Copiado
    → register_block_type( __DIR__ . '/build/block.json' )

Resultado: A working modern Gutenberg block with proper packaging.

Errores comunes
  • Missing i18n wrappers — Skill reminds Claude to wrap strings with __() and _x()
Combinar con: filesystem

Audit a plugin for common WordPress security issues

👤 Plugin maintainers, site owners ⏱ ~60 min advanced

Cuándo usarlo: Before shipping a plugin or inheriting one.

Flujo
  1. Scope the audit
    Audit this plugin for: nonce usage on every form, capability checks on every action, output escaping, SQL prep.✓ Copiado
    → Per-category findings with file:line
  2. Fix the highest-risk ones
    Apply the top 3 fixes — nonces on the admin form, esc_html on the dashboard widget, $wpdb->prepare on the custom query.✓ Copiado
    → Diffs to the plugin files
  3. Regression test
    List what to manually test to confirm the fixes don't break anything.✓ Copiado
    → Short manual test checklist

Resultado: A more secure plugin with documented fixes.

Errores comunes
  • False positives on nonces where a REST permission callback is already in place — Provide context: REST routes with permission callbacks don't need form nonces
Combinar con: github

Do a performance pass on a slow WordPress site

👤 Developers responsible for WordPress site perf ⏱ ~60 min advanced

Cuándo usarlo: TTFB is bad, dashboard is slow, or a specific template is dragging.

Flujo
  1. Identify the bottleneck
    Walk me through common WordPress perf bottlenecks and which log/profiling tool to start with.✓ Copiado
    → Query Monitor, debug.log, object cache check
  2. Query tuning
    Here are the top 5 slow queries. Suggest indexes or query rewrites.✓ Copiado
    → Per-query recommendations
  3. Cache strategy
    Which caching layers should be active here? Object cache, page cache, fragment caching — suggest a stack.✓ Copiado
    → Concrete cache plan with plugins/services

Resultado: Concrete perf wins you can measure on the next deploy.

Errores comunes
  • Adding a caching plugin without fixing the underlying slow query — Always measure before and after each change

Combinaciones

Combínalo con otros MCPs para multiplicar por 10

claude-wordpress-skill + filesystem

Operate across a plugin/theme directory for audits and refactors

Audit wp-content/plugins/my-plugin/ for security issues and apply the top 5 fixes.✓ Copiado
claude-wordpress-skill + github

Open PRs for security fixes with proper descriptions

Open a PR titled 'Security: nonces on admin forms' with the patches.✓ Copiado

Herramientas

Lo que expone este MCP

HerramientaEntradasCuándo llamarCoste
gutenberg-block-authoring block intent + attributes Any custom block work 0
wp-security-audit plugin/theme path Pre-ship or inheritance review 0
wp-performance-review slow endpoints + config When speed matters 0
wp-coding-standards any PHP/JS code Auto-applied during authoring 0

Coste y límites

Lo que cuesta ejecutarlo

Cuota de API
none
Tokens por llamada
5–20k per audit or block
Monetario
free
Consejo
Scope by file or feature; don't feed Claude 100 plugins at once

Seguridad

Permisos, secretos, alcance

Almacenamiento de credenciales: none at the skill level; WP admin creds if you also use a deploy/REST tool
Salida de datos: none

Resolución de problemas

Errores comunes y soluciones

Block build fails with @wordpress/scripts

Verify Node version and that @wordpress/scripts is in devDependencies; rebuild.

Verificar: node -v && npx wp-scripts --version
Claude suggests outdated enqueue patterns

Specify the WordPress version you target and prefer register_block_type_from_metadata.

Alternativas

claude-wordpress-skills vs otros

AlternativaCuándo usarlaContrapartida
claude-code-owasp-skillYou need general web app security, not WordPress-specificBroader but misses WP idioms
symfony-ux-skillYou're in Symfony instead of WordPressDifferent stack

Más

Recursos

📖 Lee el README oficial en GitHub

🐙 Ver issues abiertas

🔍 Ver todos los 400+ servidores MCP y Skills