[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C8R35MBFSWJA3AJ0SD1JMH":3,"skill-same:01M7C8R35MBFSWJA3AJ0SD1JMH":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7C8R35MBFSWJA3AJ0SD1JMH","codebase-to-wordpress-converter",null,"Expert skill for converting any codebase (React\u002FHTML\u002FNext.js) into a pixel-perfect, SEO-optimized, and dynamic WordPress theme.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fcodebase-to-wordpress-converter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: codebase-to-wordpress-converter\ndescription: \"Expert skill for converting any codebase (React\u002FHTML\u002FNext.js) into a pixel-perfect, SEO-optimized, and dynamic WordPress theme.\"\nrisk: safe\nsource: community\ndate_added: \"2026-04-12\"\n---\n\n# Codebase to WordPress Converter\n\n## Overview\n\nThis 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.\n\n## When to Use This Skill\n\n- Use when converting a React (CRA\u002FVite\u002FNext.js) or HTML project into a WordPress theme.\n- Use when the client demands a 100% pixel-perfect match with the original source.\n- Use when auditing an existing WordPress conversion for structural or SEO flaws.\n- Use when you need to ensure technical SEO (Schema, Meta tags, Heading hierarchy) is preserved exactly.\n\n## Core Capabilities\n\n### Phased Conversion & Audit\nThe skill follows a strict 4-phase forensic process:\n1.  **Phase 1: Forensic UI Comparison**: Side-by-side table audit of React components vs. WordPress templates to find discrepancies.\n2.  **Phase 2: Full Audit**: Deep dive into UI, SEO, CMS Editability, Navigation, Functionality, and Performance.\n3.  **Phase 3: Action Plan**: Tasks classified as **SAFE**, **RISKY**, or **BLOCKED** to prevent breaking the UI.\n4.  **Phase 4: Iterative Fixing**: Executing one safe task at a time with validation after each step.\n\n### Absolute UI Lock\nStrict enforcement of non-negotiable rules:\n- No alterations to layout, spacing, typography, or colors.\n- Exact preservation of Tailwind or CSS class names.\n- Zero changes to DOM structure or HTML nesting.\n\n## Step-by-Step Guide\n\n### 1. Discovery & Forensic Audit\nStart by identifying all components in the source code. Create a UI Comparison table comparing the original source output against the target WordPress output.\n- *Rule: No fixes are allowed during this phase; only detection.*\n\n### 2. Strategic Field Mapping\nMap static React\u002FHTML content to dynamic WordPress functions:\n- Replace static text with `the_title()`, `get_field()`, or `the_content()`.\n- Replace static paths with `get_template_directory_uri()`.\n\n### 3. Implementation of Core Hooks\nEnsure every theme includes the foundational WordPress hooks correctly:\n- **Layout Files (`header.php` \u002F `footer.php`)**: Must include `wp_head()` before `\u003C\u002Fhead>` and `wp_footer()` before `\u003C\u002Fbody>`.\n- **Page Templates**: Must call `get_header()` and `get_footer()`.\n- `register_nav_menus()` for dynamic navigation without breaking original HTML structure.\n\n### 4. Validation & Live Tracker\nMaintain a live tracker of Total Issues, Fixed, and Remaining. Every fix must be followed by a confirmation:\n- ✅ No UI change\n- ✅ No DOM change\n- ✅ No class change\n\n## Examples\n\n### Example 1: Navigation Conversion\n```php\n\u002F\u002F WRONG: Static replacement that adds wrappers\nwp_nav_menu(['theme_location' => 'primary']);\n\n\u002F\u002F CORRECT: Preserving original Tailwind classes and structure\nwp_nav_menu([\n    'theme_location' => 'primary',\n    'container' => false,\n    'items_wrap' => '\u003Cul class=\"flex space-x-8\">%3$s\u003C\u002Ful>',\n    'walker' => new Custom_Tailwind_Walker()\n]);\n```\n\n### Example 2: Asset Pathing\n```php\n\u002F\u002F Source: \u003Cimg src=\"\u002Fimages\u002Flogo.png\" \u002F>\n\u002F\u002F WP Conversion:\n\u003Cimg src=\"\u003C?php echo get_template_directory_uri(); ?>\u002Fassets\u002Fimages\u002Flogo.png\" alt=\"Logo\" \u002F>\n```\n\n## Best Practices\n\n- ✅ **Do:** Use `get_page_by_path()` for robust internal linking.\n- ✅ **Do:** Implement ACF (Advanced Custom Fields) fallbacks in `functions.php`.\n- ✅ **Do:** Keep the Tailwind configuration in the `header.php` to ensure global styles are active.\n- ❌ **Don't:** Add \"div\" wrappers or rename classes to \"clean up\" the code.\n- ❌ **Don't:** Use standard WordPress default styles if they conflict with the original design.\n\n## Additional Resources\n\n- [ACF Documentation](https:\u002F\u002Fwww.advancedcustomfields.com\u002Fresources\u002F)\n- [Tailwind CSS in WordPress](https:\u002F\u002Ftailwindcss.com\u002Fdocs\u002Finstallation)\n- [WordPress Theme Handbook](https:\u002F\u002Fdeveloper.wordpress.org\u002Fthemes\u002F)\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# Codebase to WordPress Converter\n\n## Overview\n\nThis 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.\n\n## When to Use This Skill\n\n- Use when converting a React (CRA\u002FVite\u002FNext.js) or HTML project into a WordPress theme.\n- Use when the client demands a 100% pixel-perfect match with the original source.\n- Use when auditing an existing WordPress conversion for structural or SEO flaws.\n- Use when you need to ensure technical SEO (Schema, Meta tags, Heading hierarchy) is preserved exactly.\n\n## Core Capabilities\n\n### Phased Conversion & Audit\nThe skill follows a strict 4-phase forensic process:\n1.  **Phase 1: Forensic UI Comparison**: Side-by-side table audit of React components vs. WordPress templates to find discrepancies.\n2.  **Phase 2: Full Audit**: Deep dive into UI, SEO, CMS Editability, Navigation, Functionality, and Performance.\n3.  **Phase 3: Action Plan**: Tasks classified as **SAFE**, **RISKY**, or **BLOCKED** to prevent breaking the UI.\n4.  **Phase 4: Iterative Fixing**: Executing one safe task at a time with validation after each step.\n\n### Absolute UI Lock\nStrict enforcement of non-negotiable rules:\n- No alterations to layout, spacing, typography, or colors.\n- Exact preservation of Tailwind or CSS class names.\n- Zero changes to DOM structure or HTML nesting.\n\n## Step-by-Step Guide\n\n### 1. Discovery & Forensic Audit\nStart by identifying all components in the source code. Create a UI Comparison table comparing the original source output against the target WordPress output.\n- *Rule: No fixes are allowed during this phase; only detection.*\n\n### 2. Strategic Field Mapping\nMap static React\u002FHTML content to dynamic WordPress functions:\n- Replace static text with `the_title()`, `get_field()`, or `the_content()`.\n- Replace static paths with `get_template_directory_uri()`.\n\n### 3. Implementation of Core Hooks\nEnsure every theme includes the foundational WordPress hooks correctly:\n- **Layout Files (`header.php` \u002F `footer.php`)**: Must include `wp_head()` before `\u003C\u002Fhead>` and `wp_footer()` before `\u003C\u002Fbody>`.\n- **Page Templates**: Must call `get_header()` and `get_footer()`.\n- `register_nav_menus()` for dynamic navigation without breaking original HTML structure.\n\n### 4. Validation & Live Tracker\nMaintain a live tracker of Total Issues, Fixed, and Remaining. Every fix must be followed by a confirmation:\n- ✅ No UI change\n- ✅ No DOM change\n- ✅ No class change\n\n## Examples\n\n### Example 1: Navigation Conversion\n```php\n\u002F\u002F WRONG: Static replacement that adds wrappers\nwp_nav_menu(['theme_location' => 'primary']);\n\n\u002F\u002F CORRECT: Preserving original Tailwind classes and structure\nwp_nav_menu([\n    'theme_location' => 'primary',\n    'container' => false,\n    'items_wrap' => '\u003Cul class=\"flex space-x-8\">%3$s\u003C\u002Ful>',\n    'walker' => new Custom_Tailwind_Walker()\n]);\n```\n\n### Example 2: Asset Pathing\n```php\n\u002F\u002F Source: \u003Cimg src=\"\u002Fimages\u002Flogo.png\" \u002F>\n\u002F\u002F WP Conversion:\n\u003Cimg src=\"\u003C?php echo get_template_directory_uri(); ?>\u002Fassets\u002Fimages\u002Flogo.png\" alt=\"Logo\" \u002F>\n```\n\n## Best Practices\n\n- ✅ **Do:** Use `get_page_by_path()` for robust internal linking.\n- ✅ **Do:** Implement ACF (Advanced Custom Fields) fallbacks in `functions.php`.\n- ✅ **Do:** Keep the Tailwind configuration in the `header.php` to ensure global styles are active.\n- ❌ **Don't:** Add \"div\" wrappers or rename classes to \"clean up\" the code.\n- ❌ **Don't:** Use standard WordPress default styles if they conflict with the original design.\n\n## Additional Resources\n\n- [ACF Documentation](https:\u002F\u002Fwww.advancedcustomfields.com\u002Fresources\u002F)\n- [Tailwind CSS in WordPress](https:\u002F\u002Ftailwindcss.com\u002Fdocs\u002Finstallation)\n- [WordPress Theme Handbook](https:\u002F\u002Fdeveloper.wordpress.org\u002Fthemes\u002F)\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"safe","community","2026-04-12","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fcodebase-to-wordpress-converter",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill codebase-to-wordpress-converter",{"tool":42,"command":43},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill codebase-to-wordpress-converter",{"tool":45,"command":46},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill codebase-to-wordpress-converter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fcodebase-to-wordpress-converter\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]