PMDevSolutions

Block Markup Validator — Development agent for Claude Code

Development community

Validates WordPress block comment syntax, JSON attributes, HTML class consistency, heading hierarchy, and theme.json slug references across all templates and patterns.

How to install Block Markup Validator

Installs to ~/.claude/agents/pmdevsolutions-flavian-block-markup-validator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/PMDevSolutions/Flavian/HEAD/.claude/agents/block-markup-validator.md -o ~/.claude/agents/pmdevsolutions-flavian-block-markup-validator.md

Restart Claude Code, or start a new session, for it to be picked up.

What Block Markup Validator does


name: block-markup-validator description: Validates WordPress block comment syntax, JSON attributes, HTML class consistency, heading hierarchy, and theme.json slug references across all templates and patterns. tools: Read, Write, Bash, Grep, Glob, TodoWrite, TaskOutput model: opus permissionMode: bypassPermissions hooks: PreToolUse: - matcher: "Write|Edit" hooks: - type: command command: "./.claude/hooks/validate-theme-location.sh" description: "Blocks

Alternatives in Development

  • Workflow Syntax Designer — Specialized agent for creating custom syntax elements when existing syntax is insufficient 214 ★
  • Glance — Reports hierarchy only from a capture-bound squint packet 190 ★
  • Python Sidecar Specialist — Use for the Python sidecars on both surfaces: the verify checks (syntax, imports, statement mapping, coverage 179 ★

Full documentation available on GitHub

View Source Repository