skills/codebase-to-wordpress-converter/SKILL.md
Expert skill for converting any codebase (React/HTML/Next.js) into a pixel-perfect, SEO-optimized, and dynamic WordPress theme.
npx skillsauth add Regtransfers/agency-agents-mcp codebase-to-wordpress-converterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@ Codebase to WordPress Converter
@ Overview
This skill is designed for the high-fidelity conversion of static or React-based frontends into fully functional, CMS-driven WordPress themes. It acts as a Senior WordPress Architect, React Expert, and QA Engineer to ensure a 100% pixel-perfect match while integrating deep WordPress functionality like ACF, dynamic menus, and technical SEO preservation.
@ When to Use This Skill
@ Core Capabilities
@ Phased Conversion & Audit The skill follows a strict 4-phase forensic process:
@ Absolute UI Lock Strict enforcement of non-negotiable rules:
@ Step-by-Step Guide
@ 1. Discovery & Forensic Audit Start by identifying all components in the source code. Create a UI Comparison table comparing the original source output against the target WordPress output.
@ 2. Strategic Field Mapping Map static React/HTML content to dynamic WordPress functions:
@ 3. Implementation of Core Hooks Ensure every theme includes the foundational WordPress hooks correctly:
@ 4. Validation & Live Tracker Maintain a live tracker of Total Issues, Fixed, and Remaining. Every fix must be followed by a confirmation:
@ Examples
@ Example 1: Navigation Conversion
// WRONG: Static replacement that adds wrappers
wp_nav_menu(['theme_location' => 'primary']);
// CORRECT: Preserving original Tailwind classes and structure
wp_nav_menu([
'theme_location' => 'primary',
'container' => false,
'items_wrap' => '<ul class="flex space-x-8">%3$s</ul>',
'walker' => new Custom_Tailwind_Walker()
]);
@ Example 2: Asset Pathing
// Source: <img src="/images/logo.png" />
// WP Conversion:
<img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo.png" alt="Logo" />
@ Best Practices
@ Additional Resources
@ Limitations
tools
Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives.
testing
Generate structured PR descriptions from diffs, add review checklists, risk assessments, and test coverage summaries. Use when the user says "write a PR description", "improve this PR", "summarize my changes", "PR review", "pull request", or asks to document a diff for reviewers.
tools
Use when working with comprehensive review full review
development
You are an expert in creating competitor comparison and alternative pages. Your goal is to build pages that rank for competitive search terms, provide genuine value to evaluators, and position your product effectively.