[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CPP8V2RS2K519FZ9FJKB4Z":3,"skill-same:01M7CPP8V2RS2K519FZ9FJKB4Z":51},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7CPP8V2RS2K519FZ9FJKB4Z","wordpress-theme-development",null,"WordPress theme development workflow covering theme architecture, template hierarchy, custom post types, block editor support, responsive design, and WordPress 7.0 features: DataViews, Pattern Editing, Navigation Overlays, and admin refresh.","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\u002Fskills\u002Fwordpress-theme-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: wordpress-theme-development\ndescription: \"WordPress theme development workflow covering theme architecture, template hierarchy, custom post types, block editor support, responsive design, and WordPress 7.0 features: DataViews, Pattern Editing, Navigation Overlays, and admin refresh.\"\ncategory: granular-workflow-bundle\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# WordPress Theme Development Workflow\n\n## Overview\n\nSpecialized workflow for creating custom WordPress themes from scratch, including modern block editor (Gutenberg) support, template hierarchy, responsive design, and WordPress 7.0 enhancements.\n\n## WordPress 7.0 Theme Features\n\n1. **Admin Refresh**\n   - New default color scheme\n   - View transitions between admin screens\n   - Modern typography and spacing\n\n2. **Pattern Editing**\n   - ContentOnly mode defaults for unsynced patterns\n   - `disableContentOnlyForUnsyncedPatterns` setting\n   - Per-block instance custom CSS\n\n3. **Navigation Overlays**\n   - Customizable navigation overlays\n   - Improved mobile navigation\n\n4. **New Blocks**\n   - Icon block\n   - Breadcrumbs block with filters\n   - Responsive grid block\n\n5. **Theme.json Enhancements**\n   - Pseudo-element support\n   - Block-defined feature selectors honored\n   - Enhanced custom CSS\n\n6. **Iframed Editor**\n   - Block API v3+ enables iframed post editor\n   - Full enforcement in 7.1, opt-in in 7.0\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Creating custom WordPress themes\n- Converting designs to WordPress themes\n- Adding block editor support\n- Implementing custom post types\n- Building child themes\n- Implementing WordPress 7.0 design features\n\n## Workflow Phases\n\n### Phase 1: Theme Setup\n\n#### Skills to Invoke\n- `app-builder` - Project scaffolding\n- `frontend-developer` - Frontend development\n\n#### Actions\n1. Create theme directory structure\n2. Set up style.css with theme header\n3. Create functions.php\n4. Configure theme support\n5. Set up enqueue scripts\u002Fstyles\n\n#### WordPress 7.0 Theme Header\n```css\n\u002F*\nTheme Name: My Custom Theme\nTheme URI: https:\u002F\u002Fexample.com\nAuthor: Developer Name\nAuthor URI: https:\u002F\u002Fexample.com\nDescription: A WordPress 7.0 compatible theme with modern design\nVersion: 1.0.0\nRequires at least: 6.0\nRequires PHP: 7.4\nLicense: GNU General Public License v2\nLicense URI: https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html\nText Domain: my-custom-theme\nTags: block-patterns, block-styles, editor-style, wide-blocks\n*\u002F\n```\n\n#### Copy-Paste Prompts\n```\nUse @app-builder to scaffold a new WordPress theme project\n```\n\n### Phase 2: Template Hierarchy\n\n#### Skills to Invoke\n- `frontend-developer` - Template development\n\n#### Actions\n1. Create index.php (fallback template)\n2. Implement header.php and footer.php\n3. Create single.php for posts\n4. Create page.php for pages\n5. Add archive.php for archives\n6. Implement search.php and 404.php\n\n#### WordPress 7.0 Template Considerations\n- Test with iframed editor\n- Verify view transitions work\n- Check new admin color scheme compatibility\n\n#### Copy-Paste Prompts\n```\nUse @frontend-developer to create WordPress template files\n```\n\n### Phase 3: Theme Functions\n\n#### Skills to Invoke\n- `backend-dev-guidelines` - Backend patterns\n\n#### Actions\n1. Register navigation menus\n2. Add theme support (thumbnails, RSS, etc.)\n3. Register widget areas\n4. Create custom template tags\n5. Implement helper functions\n\n#### WordPress 7.0 theme.json Configuration\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fschemas.wp.org\u002Ftrunk\u002Ftheme.json\",\n  \"version\": 3,\n  \"settings\": {\n    \"appearanceTools\": true,\n    \"layout\": {\n      \"contentSize\": \"1200px\",\n      \"wideSize\": \"1400px\"\n    },\n    \"background\": {\n      \"backgroundImage\": true\n    },\n    \"typography\": {\n      \"fontFamilies\": true,\n      \"fontSizes\": true\n    },\n    \"spacing\": {\n      \"margin\": true,\n      \"padding\": true\n    },\n    \"blocks\": {\n      \"core\u002Fheading\": {\n        \"typography\": {\n          \"fontSizes\": [\"24px\", \"32px\", \"48px\"]\n        }\n      }\n    }\n  },\n  \"styles\": {\n    \"color\": {\n      \"background\": \"#ffffff\",\n      \"text\": \"#1a1a1a\"\n    },\n    \"elements\": {\n      \"link\": {\n        \"color\": {\n          \"text\": \"#0066cc\"\n        }\n      }\n    }\n  },\n  \"customTemplates\": [\n    {\n      \"name\": \"page-home\",\n      \"title\": \"Homepage\",\n      \"postTypes\": [\"page\"]\n    }\n  ],\n  \"templateParts\": [\n    {\n      \"name\": \"header\",\n      \"title\": \"Header\",\n      \"area\": \"header\"\n    }\n  ]\n}\n```\n\n#### Copy-Paste Prompts\n```\nUse @backend-dev-guidelines to create theme functions\n```\n\n### Phase 4: Custom Post Types\n\n#### Skills to Invoke\n- `wordpress-penetration-testing` - WordPress patterns\n\n#### Actions\n1. Register custom post types\n2. Create custom taxonomies\n3. Add custom meta boxes\n4. Implement custom fields\n5. Create archive templates\n\n#### RTC-Compatible CPT Registration\n```php\nregister_post_type('portfolio', [\n    'labels' => [\n        'name' => __('Portfolio', 'my-theme'),\n        'singular_name' => __('Portfolio Item', 'my-theme')\n    ],\n    'public' => true,\n    'has_archive' => true,\n    'show_in_rest' => true,  \u002F\u002F Enable for RTC\n    'supports' => ['title', 'editor', 'thumbnail', 'excerpt', 'custom-fields'],\n    'menu_icon' => 'dashicons-portfolio',\n]);\n\n\u002F\u002F Register meta for collaboration\nregister_post_meta('portfolio', 'client_name', [\n    'type' => 'string',\n    'single' => true,\n    'show_in_rest' => true,\n    'sanitize_callback' => 'sanitize_text_field',\n]);\n```\n\n#### Copy-Paste Prompts\n```\nUse @wordpress-penetration-testing to understand WordPress CPT patterns\n```\n\n### Phase 5: Block Editor Support\n\n#### Skills to Invoke\n- `frontend-developer` - Block development\n\n#### Actions\n1. Enable block editor support\n2. Register custom blocks\n3. Create block styles\n4. Add block patterns\n5. Configure block templates\n\n#### WordPress 7.0 Block Features\n- Block API v3 is reference model\n- PHP-only block registration\n- Per-instance custom CSS\n- Block visibility controls (viewport-based)\n\n#### Block Pattern with ContentOnly (WP 7.0)\n```json\n{\n    \"name\": \"my-theme\u002Fhero-section\",\n    \"title\": \"Hero Section\",\n    \"contentOnly\": true,\n    \"content\": [\n        {\n            \"name\": \"core\u002Fcover\",\n            \"attributes\": {\n                \"url\": \"{{hero_image}}\",\n                \"overlay\": \"black\",\n                \"dimRatio\": 50\n            },\n            \"innerBlocks\": [\n                {\n                    \"name\": \"core\u002Fheading\",\n                    \"attributes\": {\n                        \"level\": 1,\n                        \"textAlign\": \"center\",\n                        \"content\": \"{{hero_title}}\"\n                    }\n                },\n                {\n                    \"name\": \"core\u002Fparagraph\",\n                    \"attributes\": {\n                        \"align\": \"center\",\n                        \"content\": \"{{hero_description}}\"\n                    }\n                }\n            ]\n        }\n    ]\n}\n```\n\n#### Navigation Overlay Template Part\n```php\n\u002F\u002F template-parts\u002Fheader-overlay.php\n?>\n\u003Cnav class=\"header-navigation-overlay\" aria-label=\"\u003C?php esc_attr_e('Overlay Menu', 'my-theme'); ?>\">\n    \u003Cbutton class=\"overlay-close\" aria-label=\"\u003C?php esc_attr_e('Close menu', 'my-theme'); ?>\">\n        \u003Cspan class=\"close-icon\" aria-hidden=\"true\">\n            \u003Csvg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n                \u003Cline x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\">\u003C\u002Fline>\n                \u003Cline x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\">\u003C\u002Fline>\n            \u003C\u002Fsvg>\n        \u003C\u002Fspan>\n    \u003C\u002Fbutton>\n    \u003C?php\n    wp_nav_menu([\n        'theme_location' => 'primary',\n        'container' => false,\n        'menu_class' => 'overlay-menu',\n        'fallback_cb' => false,\n    ]);\n    ?>\n\u003C\u002Fnav>\n```\n\n#### Copy-Paste Prompts\n```\nUse @frontend-developer to create custom Gutenberg blocks\n```\n\n### Phase 6: Styling and Design\n\n#### Skills to Invoke\n- `frontend-design` - UI design\n- `tailwind-patterns` - Tailwind CSS\n\n#### Actions\n1. Implement responsive design\n2. Add CSS framework or custom styles\n3. Create design system\n4. Implement theme customizer\n5. Add accessibility features\n\n#### WordPress 7.0 Admin Refresh Considerations\n```css\n\u002F* Support new admin color scheme *\u002F\n@media (prefers-color-scheme: dark) {\n    :root {\n        --admin-color: modern;\n    }\n}\n\n\u002F* View transitions *\u002F\n.wp-admin {\n    view-transition-name: none;\n}\n\nbody {\n    view-transition-name: page;\n}\n```\n\n#### CSS Custom Properties (WP 7.0)\n```css\n:root {\n    \u002F* New DataViews colors *\u002F\n    --wp-dataviews-color-background: #ffffff;\n    --wp-dataviews-color-border: #e0e0e0;\n    \n    \u002F* Navigation overlay *\u002F\n    --wp-overlay-menu-background: #1a1a1a;\n    --wp-overlay-menu-text: #ffffff;\n}\n```\n\n#### Copy-Paste Prompts\n```\nUse @frontend-design to create responsive theme design\n```\n\n### Phase 7: WordPress 7.0 Features Integration\n\n#### Breadcrumbs Block Support\n```php\n\u002F\u002F Add breadcrumb filters for custom post types\nadd_filter('wp_breadcrumb_args', function($args) {\n    $args['separator'] = '\u003Cspan class=\"breadcrumb-separator\"> \u002F \u003C\u002Fspan>';\n    $args['before'] = '\u003Cnav class=\"breadcrumb\" aria-label=\"Breadcrumb\">';\n    $args['after'] = '\u003C\u002Fnav>';\n    return $args;\n});\n\n\u002F\u002F Add custom breadcrumb trail for CPT\nadd_action('breadcrumb_items', function($trail, $crumbs) {\n    if (is_singular('portfolio')) {\n        $portfolio_page = get_page_by_path('portfolio');\n        if ($portfolio_page) {\n            array_splice($trail->crumbs, 1, 0, [\n                [\n                    'title' => get_the_title($portfolio_page),\n                    'url' => get_permalink($portfolio_page)\n                ]\n            ]);\n        }\n    }\n}, 10, 2);\n```\n\n#### Icon Block Support\n```php\n\u002F\u002F Add custom icons for Icon block via pattern category\nadd_action('init', function() {\n    register_block_pattern_category('my-theme\u002Ficons', [\n        'label' => __('Theme Icons', 'my-theme'),\n        'description' => __('Custom icons for use in the Icon block', 'my-theme'),\n    ]);\n});\n\n\u002F\u002F For actual SVG icons in the Icon block, use block.json or PHP registration\nadd_action('init', function() {\n    register_block_pattern('my-theme\u002Fcustom-icons', [\n        'title' => __('Custom Icon Set', 'my-theme'),\n        'categories' => ['my-theme\u002Ficons'],\n        'content' => '\u003C!-- Pattern content with Icon blocks -->'\n    ]);\n});\n```\n\n### Phase 8: Testing\n\n#### Skills to Invoke\n- `playwright-skill` - Browser testing\n- `webapp-testing` - Web app testing\n\n#### Actions\n1. Test across browsers\n2. Verify responsive breakpoints\n3. Test block editor\n4. Check accessibility\n5. Performance testing\n\n#### WordPress 7.0 Testing Checklist\n- [ ] Test with iframed editor\n- [ ] Verify view transitions\n- [ ] Check admin color scheme\n- [ ] Test navigation overlays\n- [ ] Verify contentOnly patterns\n- [ ] Test breadcrumbs on CPT archives\n\n#### Copy-Paste Prompts\n```\nUse @playwright-skill to test WordPress theme\n```\n\n## Theme Structure\n\n```\ntheme-name\u002F\n├── style.css\n├── functions.php\n├── index.php\n├── header.php\n├── footer.php\n├── sidebar.php\n├── single.php\n├── page.php\n├── archive.php\n├── search.php\n├── 404.php\n├── comments.php\n├── template-parts\u002F\n│   ├── header\u002F\n│   ├── footer\u002F\n│   ├── navigation\u002F\n│   └── content\u002F\n├── patterns\u002F           # Block patterns (WP 7.0)\n├── templates\u002F          # Site editor templates\n├── inc\u002F\n│   ├── class-theme.php\n│   └── supports.php\n├── assets\u002F\n│   ├── css\u002F\n│   ├── js\u002F\n│   └── images\u002F\n└── languages\u002F\n```\n\n## WordPress 7.0 Theme Checklist\n\n- [ ] PHP 7.4+ requirement documented\n- [ ] theme.json v3 schema used\n- [ ] Block patterns tested\n- [ ] ContentOnly editing supported\n- [ ] Navigation overlays implemented\n- [ ] Breadcrumb filters added for CPT\n- [ ] View transitions working\n- [ ] Admin refresh compatible\n- [ ] CPT meta shows_in_rest\n- [ ] Iframe editor tested\n\n## Quality Gates\n\n- [ ] All templates working\n- [ ] Block editor supported\n- [ ] Responsive design verified\n- [ ] Accessibility checked\n- [ ] Performance optimized\n- [ ] Cross-browser tested\n- [ ] WordPress 7.0 compatibility verified\n\n## Related Workflow Bundles\n\n- `wordpress` - WordPress development\n- `wordpress-plugin-development` - Plugin development\n- `wordpress-woocommerce` - WooCommerce\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","# WordPress Theme Development Workflow\n\n## Overview\n\nSpecialized workflow for creating custom WordPress themes from scratch, including modern block editor (Gutenberg) support, template hierarchy, responsive design, and WordPress 7.0 enhancements.\n\n## WordPress 7.0 Theme Features\n\n1. **Admin Refresh**\n   - New default color scheme\n   - View transitions between admin screens\n   - Modern typography and spacing\n\n2. **Pattern Editing**\n   - ContentOnly mode defaults for unsynced patterns\n   - `disableContentOnlyForUnsyncedPatterns` setting\n   - Per-block instance custom CSS\n\n3. **Navigation Overlays**\n   - Customizable navigation overlays\n   - Improved mobile navigation\n\n4. **New Blocks**\n   - Icon block\n   - Breadcrumbs block with filters\n   - Responsive grid block\n\n5. **Theme.json Enhancements**\n   - Pseudo-element support\n   - Block-defined feature selectors honored\n   - Enhanced custom CSS\n\n6. **Iframed Editor**\n   - Block API v3+ enables iframed post editor\n   - Full enforcement in 7.1, opt-in in 7.0\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Creating custom WordPress themes\n- Converting designs to WordPress themes\n- Adding block editor support\n- Implementing custom post types\n- Building child themes\n- Implementing WordPress 7.0 design features\n\n## Workflow Phases\n\n### Phase 1: Theme Setup\n\n#### Skills to Invoke\n- `app-builder` - Project scaffolding\n- `frontend-developer` - Frontend development\n\n#### Actions\n1. Create theme directory structure\n2. Set up style.css with theme header\n3. Create functions.php\n4. Configure theme support\n5. Set up enqueue scripts\u002Fstyles\n\n#### WordPress 7.0 Theme Header\n```css\n\u002F*\nTheme Name: My Custom Theme\nTheme URI: https:\u002F\u002Fexample.com\nAuthor: Developer Name\nAuthor URI: https:\u002F\u002Fexample.com\nDescription: A WordPress 7.0 compatible theme with modern design\nVersion: 1.0.0\nRequires at least: 6.0\nRequires PHP: 7.4\nLicense: GNU General Public License v2\nLicense URI: https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html\nText Domain: my-custom-theme\nTags: block-patterns, block-styles, editor-style, wide-blocks\n*\u002F\n```\n\n#### Copy-Paste Prompts\n```\nUse @app-builder to scaffold a new WordPress theme project\n```\n\n### Phase 2: Template Hierarchy\n\n#### Skills to Invoke\n- `frontend-developer` - Template development\n\n#### Actions\n1. Create index.php (fallback template)\n2. Implement header.php and footer.php\n3. Create single.php for posts\n4. Create page.php for pages\n5. Add archive.php for archives\n6. Implement search.php and 404.php\n\n#### WordPress 7.0 Template Considerations\n- Test with iframed editor\n- Verify view transitions work\n- Check new admin color scheme compatibility\n\n#### Copy-Paste Prompts\n```\nUse @frontend-developer to create WordPress template files\n```\n\n### Phase 3: Theme Functions\n\n#### Skills to Invoke\n- `backend-dev-guidelines` - Backend patterns\n\n#### Actions\n1. Register navigation menus\n2. Add theme support (thumbnails, RSS, etc.)\n3. Register widget areas\n4. Create custom template tags\n5. Implement helper functions\n\n#### WordPress 7.0 theme.json Configuration\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fschemas.wp.org\u002Ftrunk\u002Ftheme.json\",\n  \"version\": 3,\n  \"settings\": {\n    \"appearanceTools\": true,\n    \"layout\": {\n      \"contentSize\": \"1200px\",\n      \"wideSize\": \"1400px\"\n    },\n    \"background\": {\n      \"backgroundImage\": true\n    },\n    \"typography\": {\n      \"fontFamilies\": true,\n      \"fontSizes\": true\n    },\n    \"spacing\": {\n      \"margin\": true,\n      \"padding\": true\n    },\n    \"blocks\": {\n      \"core\u002Fheading\": {\n        \"typography\": {\n          \"fontSizes\": [\"24px\", \"32px\", \"48px\"]\n        }\n      }\n    }\n  },\n  \"styles\": {\n    \"color\": {\n      \"background\": \"#ffffff\",\n      \"text\": \"#1a1a1a\"\n    },\n    \"elements\": {\n      \"link\": {\n        \"color\": {\n          \"text\": \"#0066cc\"\n        }\n      }\n    }\n  },\n  \"customTemplates\": [\n    {\n      \"name\": \"page-home\",\n      \"title\": \"Homepage\",\n      \"postTypes\": [\"page\"]\n    }\n  ],\n  \"templateParts\": [\n    {\n      \"name\": \"header\",\n      \"title\": \"Header\",\n      \"area\": \"header\"\n    }\n  ]\n}\n```\n\n#### Copy-Paste Prompts\n```\nUse @backend-dev-guidelines to create theme functions\n```\n\n### Phase 4: Custom Post Types\n\n#### Skills to Invoke\n- `wordpress-penetration-testing` - WordPress patterns\n\n#### Actions\n1. Register custom post types\n2. Create custom taxonomies\n3. Add custom meta boxes\n4. Implement custom fields\n5. Create archive templates\n\n#### RTC-Compatible CPT Registration\n```php\nregister_post_type('portfolio', [\n    'labels' => [\n        'name' => __('Portfolio', 'my-theme'),\n        'singular_name' => __('Portfolio Item', 'my-theme')\n    ],\n    'public' => true,\n    'has_archive' => true,\n    'show_in_rest' => true,  \u002F\u002F Enable for RTC\n    'supports' => ['title', 'editor', 'thumbnail', 'excerpt', 'custom-fields'],\n    'menu_icon' => 'dashicons-portfolio',\n]);\n\n\u002F\u002F Register meta for collaboration\nregister_post_meta('portfolio', 'client_name', [\n    'type' => 'string',\n    'single' => true,\n    'show_in_rest' => true,\n    'sanitize_callback' => 'sanitize_text_field',\n]);\n```\n\n#### Copy-Paste Prompts\n```\nUse @wordpress-penetration-testing to understand WordPress CPT patterns\n```\n\n### Phase 5: Block Editor Support\n\n#### Skills to Invoke\n- `frontend-developer` - Block development\n\n#### Actions\n1. Enable block editor support\n2. Register custom blocks\n3. Create block styles\n4. Add block patterns\n5. Configure block templates\n\n#### WordPress 7.0 Block Features\n- Block API v3 is reference model\n- PHP-only block registration\n- Per-instance custom CSS\n- Block visibility controls (viewport-based)\n\n#### Block Pattern with ContentOnly (WP 7.0)\n```json\n{\n    \"name\": \"my-theme\u002Fhero-section\",\n    \"title\": \"Hero Section\",\n    \"contentOnly\": true,\n    \"content\": [\n        {\n            \"name\": \"core\u002Fcover\",\n            \"attributes\": {\n                \"url\": \"{{hero_image}}\",\n                \"overlay\": \"black\",\n                \"dimRatio\": 50\n            },\n            \"innerBlocks\": [\n                {\n                    \"name\": \"core\u002Fheading\",\n                    \"attributes\": {\n                        \"level\": 1,\n                        \"textAlign\": \"center\",\n                        \"content\": \"{{hero_title}}\"\n                    }\n                },\n                {\n                    \"name\": \"core\u002Fparagraph\",\n                    \"attributes\": {\n                        \"align\": \"center\",\n                        \"content\": \"{{hero_description}}\"\n                    }\n                }\n            ]\n        }\n    ]\n}\n```\n\n#### Navigation Overlay Template Part\n```php\n\u002F\u002F template-parts\u002Fheader-overlay.php\n?>\n\u003Cnav class=\"header-navigation-overlay\" aria-label=\"\u003C?php esc_attr_e('Overlay Menu', 'my-theme'); ?>\">\n    \u003Cbutton class=\"overlay-close\" aria-label=\"\u003C?php esc_attr_e('Close menu', 'my-theme'); ?>\">\n        \u003Cspan class=\"close-icon\" aria-hidden=\"true\">\n            \u003Csvg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n                \u003Cline x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\">\u003C\u002Fline>\n                \u003Cline x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\">\u003C\u002Fline>\n            \u003C\u002Fsvg>\n        \u003C\u002Fspan>\n    \u003C\u002Fbutton>\n    \u003C?php\n    wp_nav_menu([\n        'theme_location' => 'primary',\n        'container' => false,\n        'menu_class' => 'overlay-menu',\n        'fallback_cb' => false,\n    ]);\n    ?>\n\u003C\u002Fnav>\n```\n\n#### Copy-Paste Prompts\n```\nUse @frontend-developer to create custom Gutenberg blocks\n```\n\n### Phase 6: Styling and Design\n\n#### Skills to Invoke\n- `frontend-design` - UI design\n- `tailwind-patterns` - Tailwind CSS\n\n#### Actions\n1. Implement responsive design\n2. Add CSS framework or custom styles\n3. Create design system\n4. Implement theme customizer\n5. Add accessibility features\n\n#### WordPress 7.0 Admin Refresh Considerations\n```css\n\u002F* Support new admin color scheme *\u002F\n@media (prefers-color-scheme: dark) {\n    :root {\n        --admin-color: modern;\n    }\n}\n\n\u002F* View transitions *\u002F\n.wp-admin {\n    view-transition-name: none;\n}\n\nbody {\n    view-transition-name: page;\n}\n```\n\n#### CSS Custom Properties (WP 7.0)\n```css\n:root {\n    \u002F* New DataViews colors *\u002F\n    --wp-dataviews-color-background: #ffffff;\n    --wp-dataviews-color-border: #e0e0e0;\n    \n    \u002F* Navigation overlay *\u002F\n    --wp-overlay-menu-background: #1a1a1a;\n    --wp-overlay-menu-text: #ffffff;\n}\n```\n\n#### Copy-Paste Prompts\n```\nUse @frontend-design to create responsive theme design\n```\n\n### Phase 7: WordPress 7.0 Features Integration\n\n#### Breadcrumbs Block Support\n```php\n\u002F\u002F Add breadcrumb filters for custom post types\nadd_filter('wp_breadcrumb_args', function($args) {\n    $args['separator'] = '\u003Cspan class=\"breadcrumb-separator\"> \u002F \u003C\u002Fspan>';\n    $args['before'] = '\u003Cnav class=\"breadcrumb\" aria-label=\"Breadcrumb\">';\n    $args['after'] = '\u003C\u002Fnav>';\n    return $args;\n});\n\n\u002F\u002F Add custom breadcrumb trail for CPT\nadd_action('breadcrumb_items', function($trail, $crumbs) {\n    if (is_singular('portfolio')) {\n        $portfolio_page = get_page_by_path('portfolio');\n        if ($portfolio_page) {\n            array_splice($trail->crumbs, 1, 0, [\n                [\n                    'title' => get_the_title($portfolio_page),\n                    'url' => get_permalink($portfolio_page)\n                ]\n            ]);\n        }\n    }\n}, 10, 2);\n```\n\n#### Icon Block Support\n```php\n\u002F\u002F Add custom icons for Icon block via pattern category\nadd_action('init', function() {\n    register_block_pattern_category('my-theme\u002Ficons', [\n        'label' => __('Theme Icons', 'my-theme'),\n        'description' => __('Custom icons for use in the Icon block', 'my-theme'),\n    ]);\n});\n\n\u002F\u002F For actual SVG icons in the Icon block, use block.json or PHP registration\nadd_action('init', function() {\n    register_block_pattern('my-theme\u002Fcustom-icons', [\n        'title' => __('Custom Icon Set', 'my-theme'),\n        'categories' => ['my-theme\u002Ficons'],\n        'content' => '\u003C!-- Pattern content with Icon blocks -->'\n    ]);\n});\n```\n\n### Phase 8: Testing\n\n#### Skills to Invoke\n- `playwright-skill` - Browser testing\n- `webapp-testing` - Web app testing\n\n#### Actions\n1. Test across browsers\n2. Verify responsive breakpoints\n3. Test block editor\n4. Check accessibility\n5. Performance testing\n\n#### WordPress 7.0 Testing Checklist\n- [ ] Test with iframed editor\n- [ ] Verify view transitions\n- [ ] Check admin color scheme\n- [ ] Test navigation overlays\n- [ ] Verify contentOnly patterns\n- [ ] Test breadcrumbs on CPT archives\n\n#### Copy-Paste Prompts\n```\nUse @playwright-skill to test WordPress theme\n```\n\n## Theme Structure\n\n```\ntheme-name\u002F\n├── style.css\n├── functions.php\n├── index.php\n├── header.php\n├── footer.php\n├── sidebar.php\n├── single.php\n├── page.php\n├── archive.php\n├── search.php\n├── 404.php\n├── comments.php\n├── template-parts\u002F\n│   ├── header\u002F\n│   ├── footer\u002F\n│   ├── navigation\u002F\n│   └── content\u002F\n├── patterns\u002F           # Block patterns (WP 7.0)\n├── templates\u002F          # Site editor templates\n├── inc\u002F\n│   ├── class-theme.php\n│   └── supports.php\n├── assets\u002F\n│   ├── css\u002F\n│   ├── js\u002F\n│   └── images\u002F\n└── languages\u002F\n```\n\n## WordPress 7.0 Theme Checklist\n\n- [ ] PHP 7.4+ requirement documented\n- [ ] theme.json v3 schema used\n- [ ] Block patterns tested\n- [ ] ContentOnly editing supported\n- [ ] Navigation overlays implemented\n- [ ] Breadcrumb filters added for CPT\n- [ ] View transitions working\n- [ ] Admin refresh compatible\n- [ ] CPT meta shows_in_rest\n- [ ] Iframe editor tested\n\n## Quality Gates\n\n- [ ] All templates working\n- [ ] Block editor supported\n- [ ] Responsive design verified\n- [ ] Accessibility checked\n- [ ] Performance optimized\n- [ ] Cross-browser tested\n- [ ] WordPress 7.0 compatibility verified\n\n## Related Workflow Bundles\n\n- `wordpress` - WordPress development\n- `wordpress-plugin-development` - Plugin development\n- `wordpress-woocommerce` - WooCommerce\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,"category":26,"date_added":27,"description":7},"safe","personal","granular-workflow-bundle","2026-02-27","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Fwordpress-theme-development",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":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill wordpress-theme-development",{"tool":43,"command":44},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill wordpress-theme-development",{"tool":46,"command":47},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill wordpress-theme-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Fwordpress-theme-development\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"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":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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",[],[]]