Wp Pattern — Development skill for Claude Code
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
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 RepositoryRelated Skills
Wp Classic To Fse
Convert an existing classic WordPress theme (PHP templates, functions.php) into a Full Site Editing block them
Wp Block
Quick WordPress block scan - fast pattern detection for block.json issues, missing useBlockProps, deprecated A
Html2wp Codex Plugin
Convert HTML to WordPress. A Codex plugin that turns a static HTML site — Lovable, Bolt, v0, Claude artifacts,
Wp Template
Convert a single HTML page into a WordPress FSE template (.html) in the theme's templates/ directory.
Wp Demo
Create a demo HTML mockup for client approval — responsive, section-separated, ready for WordPress conversion
Daedalai Snippet
Capture a reusable code snippet as a DaedalAI CODE_SNIPPET document with language + framework/pattern tags. Su
Related Agents
Block Markup Validator
Validates WordPress block comment syntax, JSON attributes, HTML class consistency, heading hierarchy, and them
Permit Websearch
Runs a single WEBSEARCH follow-up proposed during permit extraction and writes a synthesized Answer/Findings/G
Unit Test Writer
PHPUnit test writer for WordPress/WooCommerce PHP code. MUST BE USED whenever PHP unit tests need to be writte