bundled-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 FrancoStino/opencode-skills-antigravity 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.
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.
The skill follows a strict 4-phase forensic process:
Strict enforcement of non-negotiable rules:
Start by identifying all components in the source code. Create a UI Comparison table comparing the original source output against the target WordPress output.
Map static React/HTML content to dynamic WordPress functions:
the_title(), get_field(), or the_content().get_template_directory_uri().Ensure every theme includes the foundational WordPress hooks correctly:
header.php / footer.php): Must include wp_head() before </head> and wp_footer() before </body>.get_header() and get_footer().register_nav_menus() for dynamic navigation without breaking original HTML structure.Maintain a live tracker of Total Issues, Fixed, and Remaining. Every fix must be followed by a confirmation:
// 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()
]);
// Source: <img src="/images/logo.png" />
// WP Conversion:
<img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo.png" alt="Logo" />
get_page_by_path() for robust internal linking.functions.php.header.php to ensure global styles are active.data-ai
Snapshot a site's SEO state and detect ranking, indexation, metadata, canonical, robots, schema, and on-page regressions over time.
development
Coordinate focused subagents on substantial work, keep their ownership non-overlapping, and integrate verified results. Use for large-scope Codex tasks; keep trivial work with the coordinator.
data-ai
Use when an owner asks to find a cofounder or project partner. Assess only that agent's own owner and rank only approved profiles other agents posted for their own owners.
devops
Install, configure, verify, repair, update, and uninstall Hyprland on Fedora Linux with GPU-aware detection (NVIDIA/AMD/Intel).