Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Classic-to-Block Theme Migrator

    by Arnstein Larsen

    1

    Token-Based Design: Automatically derives a comprehensive theme.json (v3) from your existing CSS variables and Customizer settings.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Convert my classic theme header.php into an FSE template part. It has a custom logo, a primary menu, and uses the CSS variable --brand-blue for the background.

    Your agent does

    File: parts/header.html

    What you get

    Extract CPTs and business logic from themes into standalone functionality plugins.Generate a valid theme.json derived from legacy CSS variables and design tokens.Convert PHP loops and template tags into modern WordPress Query Loop blocks.Turn repeated theme sections into discoverable, categorized Block Patterns.

    About this skill

    Advanced WordPress Modernization

    Modernize legacy WordPress workflows by transforming classic PHP-based themes into high-performance, Full Site Editing (FSE) block themes. This skill doesn't just shuffle files; it acts as a senior theme architect to restructure your entire site's architecture for the block era.

    What it does

    • Intelligent Extraction: Identifies business logic (CPTs, shortcodes, APIs) trapped in functions.php and migrates it to a dedicated companion plugin.
    • Token-Based Design: Automatically derives a comprehensive theme.json (v3) from your existing CSS variables and Customizer settings.
    • Template Conversion: Rewrites PHP templates (header, footer, index, single) into valid HTML block markup using wp: comments.
    • Pattern Creation: Extracts repeating UI sections into discoverable, reusable Block Patterns.

    Why use this skill?

    Unlike basic AI prompting, this skill follows a strict architectural gate system. It prevents technical debt by enforcing design tokens over hardcoded values and ensuring content remains independent of the theme. You get a production-ready migration plan with risk ratings and a complete file set, not just snippets or advice.

    Output & Tools

    The skill produces structured project directories including templates/, parts/, and a {theme}-functionality plugin. It supports WordPress 6.4+ standards and integrates perfectly with modern developer tools like Claude Code or Cursor.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    Listed1 month ago

    Creator

    Frequently Asked Questions

    Popular in Code Review