siddik-web

Wp Pattern — Development skill for Claude Code

Development community

Convert a single HTML section or snippet into a registered WordPress block pattern PHP file.

How to install Wp Pattern

Installs to ~/.claude/skills/siddik-web-wp-block-theme-converter-wp-pattern/SKILL.md

Terminal
mkdir -p ~/.claude/skills/siddik-web-wp-block-theme-converter-wp-pattern && curl -fsSL https://raw.githubusercontent.com/siddik-web/wp-block-theme-converter/HEAD/commands/wp-pattern.md -o ~/.claude/skills/siddik-web-wp-block-theme-converter-wp-pattern/SKILL.md

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

What Wp Pattern does


description: Convert a single HTML section or snippet into a registered WordPress block pattern PHP file.

/wp-pattern

**Purpose:** Convert a single HTML section/snippet into a registered WordPress block pattern PHP file.

Trigger

User types `/wp-pattern` followed by HTML markup, OR pastes HTML and asks for a pattern.

Workflow

Step 1: Identify Pattern Metadata

From the HTML, infer:

  • Pattern name — descriptive (e.g., "Hero with CTA", "Three-Column Features")
  • **Pat

Alternatives in Development

  • PHP Lsp — PHP /plugin install php-lsp@claude-plugins-official 14k ★
  • WP Block Development — Develop WordPress Gutenberg blocks 902 ★
  • Symfony Check — Run all quality checks (PHP-CS-Fixer, PHPStan, tests) on the Symfony project 206 ★

Full documentation available on GitHub

View Source Repository