/ Diretório / Playground / claude-wordpress-skills
● Comunidade 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 que usar

Principais recursos

Demo ao vivo

Como fica na prática

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

Instalação

Repositório do autor · Documentação oficial de Skills do Claude

Casos de uso

Usos do mundo real: claude-wordpress-skills

How to build a Gutenberg block the modern way

👤 WordPress developers building custom blocks ⏱ ~45 min intermediate

Quando usar: You need a custom editor block and don't want to hand-roll outdated ESNext + webpack scaffolding.

Fluxo
  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.

Armadilhas
  • Missing i18n wrappers — Skill reminds Claude to wrap strings with __() and _x()
Combine com: filesystem

Audit a plugin for common WordPress security issues

👤 Plugin maintainers, site owners ⏱ ~60 min advanced

Quando usar: Before shipping a plugin or inheriting one.

Fluxo
  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.

Armadilhas
  • 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
Combine com: github

Do a performance pass on a slow WordPress site

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

Quando usar: TTFB is bad, dashboard is slow, or a specific template is dragging.

Fluxo
  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.

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

Combinações

Combine com outros MCPs para 10× de alavancagem

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

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
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

Custo e limites

O que custa rodar

Cota de API
none
Tokens por chamada
5–20k per audit or block
Monetário
free
Dica
Scope by file or feature; don't feed Claude 100 plugins at once

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: none at the skill level; WP admin creds if you also use a deploy/REST tool
Saída de dados: none

Solução de problemas

Erros comuns e correções

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. outros

AlternativaQuando usarTroca
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

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills