agentleFS
Agent-Rules-EcosystemAgent-Rules-Ecosystem/wordpress-agent-skill/AGENTS.md

wordpress-agent-skill

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

Al detectar triggers de WordPress ($wp, wordpress, wp-content, wpgraphql, wp-json, woocommerce, gutenberg block, acf):

The file

Files
AGENTS.md

🌐 WordPress Agent Skill Directive

Bootstrap de la Habilidad

Al detectar triggers de WordPress ($wp, wordpress, wp-content, wpgraphql, wp-json, woocommerce, gutenberg block, acf):

  1. .skill/wordpress-agent-skill/SKILL.md ← Directiva principal
  2. .skill/wordpress-agent-skill/core/commands.md ← $-Comandos
  3. .skill/wordpress-agent-skill/core/brain.md ← Motor de decisiones
  4. .skill/wordpress-agent-skill/knowledge/wp_security_sanitization.md ← Guía de seguridad y sanitización
  5. .skill/wordpress-agent-skill/knowledge/wp_theme_templates.md ← Guía de plantillas visuales

Reglas Canónicas de WordPress

  • Sanitización Salida Obligatoria: Toda variable emitida en el HTML DEBE usar esc_html(), esc_url(), esc_attr(), o wp_kses_post().
  • Verificación de Nonces: Todo formulario o endpoint AJAX/REST con permisos DEBE validar Nonces con wp_verify_nonce().
  • Hooks Desacoplados: Lógica de negocio en functions.php o plugins usando add_action() y add_filter(), nunca ejecutar lógica pura en plantillas visuales.
  • Jerarquía Canónica de Plantillas: Respetar la jerarquía de plantillas de WordPress (single-[type].php, archive-[type].php, templates/single-[slug].html).
  • Respetar web-agent-rules: El marcado generado debe ser HTML5 semántico, accesible (a11y) y responsive.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.