Token导航 LogoToken导航

Agent Skill · 研究检索

wordpress-theme-development(WordPress 主题开发)

wordpress-theme-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wordpress-theme-development 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 28,502。

总安装 3,213周安装 138GitHub Stars 35,878下载 1,126核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wordpress-theme-development(WordPress 主题开发)
来源仓库:https://github.com/sickn33/antigravity-awesome-skills
仓库路径:skills/wordpress-theme-development
安装命令:
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill wordpress-theme-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill wordpress-theme-development

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

WordPress 主题开发技能提供模板层级、样式继承和区块主题构建指导。适用于设计师和前端工程师创建响应式、可访问的主题界面。返回 functions.php 最佳实践和 template_part 拆分建议。自定义样式应优先使用 CSS 变量和 Tailwind 类,保持维护性。

发布前需在多设备、浏览器和屏幕阅读器下全面测试兼容性。

来源仓库内路径:skills/wordpress-theme-development

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill wor…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

wordpress-theme-development 怎么安装?

在终端执行 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill wordpress-the…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

wordpress-theme-development 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

wordpress-theme-development 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

wordpress-theme-development 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

wordpress-theme-development 用的人多吗?

公开数据是累计安装 3,213 次,近一周安装 138 次,下载 1,126 次,GitHub 35,878 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

wordpress-theme-development 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 35,878 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
wordpress-theme-development

WordPress 主题开发 · 本页

3,21335,878需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

WordPress Theme Development Workflow

Overview

Specialized workflow for creating custom WordPress themes from scratch, including modern block editor (Gutenberg) support, template hierarchy, responsive design, and WordPress 7.0 enhancements.

WordPress 7.0 Theme Features

  1. Admin Refresh

- New default color scheme - View transitions between admin screens - Modern typography and spacing

  1. Pattern Editing

- ContentOnly mode defaults for unsynced patterns - disableContentOnlyForUnsyncedPatterns setting - Per-block instance custom CSS

  1. Navigation Overlays

- Customizable navigation overlays - Improved mobile navigation

  1. New Blocks

- Icon block - Breadcrumbs block with filters - Responsive grid block

  1. Theme.json Enhancements

- Pseudo-element support - Block-defined feature selectors honored - Enhanced custom CSS

  1. Iframed Editor

- Block API v3+ enables iframed post editor - Full enforcement in 7.1, opt-in in 7.0

When to Use This Workflow

Use this workflow when:

  • Creating custom WordPress themes
  • Converting designs to WordPress themes
  • Adding block editor support
  • Implementing custom post types
  • Building child themes
  • Implementing WordPress 7.0 design features

Workflow Phases

Phase 1: Theme Setup

Skills to Invoke
  • app-builder - Project scaffolding
  • frontend-developer - Frontend development
Actions
  1. Create theme directory structure
  2. Set up style.css with theme header
  3. Create functions.php
  4. Configure theme support
  5. Set up enqueue scripts/styles
WordPress 7.0 Theme Header
/*
Theme Name: My Custom Theme
Theme URI: https://example.com
Author: Developer Name
Author URI: https://example.com
Description: A WordPress 7.0 compatible theme with modern design
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
Tags: block-patterns, block-styles, editor-style, wide-blocks
*/
Copy-Paste Prompts
Use @app-builder to scaffold a new WordPress theme project

Phase 2: Template Hierarchy

Skills to Invoke
  • frontend-developer - Template development
Actions
  1. Create index.php (fallback template)
  2. Implement header.php and footer.php
  3. Create single.php for posts
  4. Create page.php for pages
  5. Add archive.php for archives
  6. Implement search.php and 404.php
WordPress 7.0 Template Considerations
  • Test with iframed editor
  • Verify view transitions work
  • Check new admin color scheme compatibility
Copy-Paste Prompts
Use @frontend-developer to create WordPress template files

Phase 3: Theme Functions

Skills to Invoke
  • backend-dev-guidelines - Backend patterns
Actions
  1. Register navigation menus
  2. Add theme support (thumbnails, RSS, etc.)
  3. Register widget areas
  4. Create custom template tags
  5. Implement helper functions
WordPress 7.0 theme.json Configuration
{
  "$schema": "https://schemas.wp.org/trunk/theme.json",
  "version": 3,
  "settings": {
    "appearanceTools": true,
    "layout": {
      "contentSize": "1200px",
      "wideSize": "1400px"
    },
    "background": {
      "backgroundImage": true
    },
    "typography": {
      "fontFamilies": true,
      "fontSizes": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "blocks": {
      "core/heading": {
        "typography": {
          "fontSizes": ["24px", "32px", "48px"]
        }
      }
    }
  },
  "styles": {
    "color": {
      "background": "#ffffff",
      "text": "#1a1a1a"
    },
    "elements": {
      "link": {
        "color": {
          "text": "#0066cc"
        }
      }
    }
  },
  "customTemplates": [
    {
      "name": "page-home",
      "title": "Homepage",
      "postTypes": ["page"]
    }
  ],
  "templateParts": [
    {
      "name": "header",
      "title": "Header",
      "area": "header"
    }
  ]
}
Copy-Paste Prompts
Use @backend-dev-guidelines to create theme functions

Phase 4: Custom Post Types

Skills to Invoke
  • wordpress-penetration-testing - WordPress patterns
Actions
  1. Register custom post types
  2. Create custom taxonomies
  3. Add custom meta boxes
  4. Implement custom fields
  5. Create archive templates
RTC-Compatible CPT Registration
register_post_type('portfolio', [
    'labels' => [
        'name' => __('Portfolio', 'my-theme'),
        'singular_name' => __('Portfolio Item', 'my-theme')
    ],
    'public' => true,
    'has_archive' => true,
    'show_in_rest' => true,  // Enable for RTC
    'supports' => ['title', 'editor', 'thumbnail', 'excerpt', 'custom-fields'],
    'menu_icon' => 'dashicons-portfolio',
]);

// Register meta for collaboration
register_post_meta('portfolio', 'client_name', [
    'type' => 'string',
    'single' => true,
    'show_in_rest' => true,
    'sanitize_callback' => 'sanitize_text_field',
]);
Copy-Paste Prompts
Use @wordpress-penetration-testing to understand WordPress CPT patterns

Phase 5: Block Editor Support

Skills to Invoke
  • frontend-developer - Block development
Actions
  1. Enable block editor support
  2. Register custom blocks
  3. Create block styles
  4. Add block patterns
  5. Configure block templates
WordPress 7.0 Block Features
  • Block API v3 is reference model
  • PHP-only block registration
  • Per-instance custom CSS
  • Block visibility controls (viewport-based)
Block Pattern with ContentOnly (WP 7.0)
{
    "name": "my-theme/hero-section",
    "title": "Hero Section",
    "contentOnly": true,
    "content": [
        {
            "name": "core/cover",
            "attributes": {
                "url": "{{hero_image}}",
                "overlay": "black",
                "dimRatio": 50
            },
            "innerBlocks": [
                {
                    "name": "core/heading",
                    "attributes": {
                        "level": 1,
                        "textAlign": "center",
                        "content": "{{hero_title}}"
                    }
                },
                {
                    "name": "core/paragraph",
                    "attributes": {
                        "align": "center",
                        "content": "{{hero_description}}"
                    }
                }
            ]
        }
    ]
}
Navigation Overlay Template Part
// template-parts/header-overlay.php
?>
<nav class="header-navigation-overlay" aria-label="<?php esc_attr_e('Overlay Menu', 'my-theme'); ?>">
    <button class="overlay-close" aria-label="<?php esc_attr_e('Close menu', 'my-theme'); ?>">
        <span class="close-icon" aria-hidden="true">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                <line x1="18" y1="6" x2="6" y2="18"></line>
                <line x1="6" y1="6" x2="18" y2="18"></line>
            </svg>
        </span>
    </button>
    <?php
    wp_nav_menu([
        'theme_location' => 'primary',
        'container' => false,
        'menu_class' => 'overlay-menu',
        'fallback_cb' => false,
    ]);
    ?>
</nav>
Copy-Paste Prompts
Use @frontend-developer to create custom Gutenberg blocks

Phase 6: Styling and Design

Skills to Invoke
  • frontend-design - UI design
  • tailwind-patterns - Tailwind CSS
Actions
  1. Implement responsive design
  2. Add CSS framework or custom styles
  3. Create design system
  4. Implement theme customizer
  5. Add accessibility features
WordPress 7.0 Admin Refresh Considerations
/* Support new admin color scheme */
@media (prefers-color-scheme: dark) {
    :root {
        --admin-color: modern;
    }
}

/* View transitions */
.wp-admin {
    view-transition-name: none;
}

body {
    view-transition-name: page;
}
CSS Custom Properties (WP 7.0)
:root {
    /* New DataViews colors */
    --wp-dataviews-color-background: #ffffff;
    --wp-dataviews-color-border: #e0e0e0;

    /* Navigation overlay */
    --wp-overlay-menu-background: #1a1a1a;
    --wp-overlay-menu-text: #ffffff;
}
Copy-Paste Prompts
Use @frontend-design to create responsive theme design

Phase 7: WordPress 7.0 Features Integration

Breadcrumbs Block Support
// Add breadcrumb filters for custom post types
add_filter('wp_breadcrumb_args', function($args) {
    $args['separator'] = '<span class="breadcrumb-separator"> / </span>';
    $args['before'] = '<nav class="breadcrumb" aria-label="Breadcrumb">';
    $args['after'] = '</nav>';
    return $args;
});

// Add custom breadcrumb trail for CPT
add_action('breadcrumb_items', function($trail, $crumbs) {
    if (is_singular('portfolio')) {
        $portfolio_page = get_page_by_path('portfolio');
        if ($portfolio_page) {
            array_splice($trail->crumbs, 1, 0, [
                [
                    'title' => get_the_title($portfolio_page),
                    'url' => get_permalink($portfolio_page)
                ]
            ]);
        }
    }
}, 10, 2);
Icon Block Support
// Add custom icons for Icon block via pattern category
add_action('init', function() {
    register_block_pattern_category('my-theme/icons', [
        'label' => __('Theme Icons', 'my-theme'),
        'description' => __('Custom icons for use in the Icon block', 'my-theme'),
    ]);
});

// For actual SVG icons in the Icon block, use block.json or PHP registration
add_action('init', function() {
    register_block_pattern('my-theme/custom-icons', [
        'title' => __('Custom Icon Set', 'my-theme'),
        'categories' => ['my-theme/icons'],
        'content' => '<!-- Pattern content with Icon blocks -->'
    ]);
});

Phase 8: Testing

Skills to Invoke
  • playwright-skill - Browser testing
  • webapp-testing - Web app testing
Actions
  1. Test across browsers
  2. Verify responsive breakpoints
  3. Test block editor
  4. Check accessibility
  5. Performance testing
WordPress 7.0 Testing Checklist
  • Test with iframed editor
  • Verify view transitions
  • Check admin color scheme
  • Test navigation overlays
  • Verify contentOnly patterns
  • Test breadcrumbs on CPT archives
Copy-Paste Prompts
Use @playwright-skill to test WordPress theme

Theme Structure

theme-name/
├── style.css
├── functions.php
├── index.php
├── header.php
├── footer.php
├── sidebar.php
├── single.php
├── page.php
├── archive.php
├── search.php
├── 404.php
├── comments.php
├── template-parts/
│   ├── header/
│   ├── footer/
│   ├── navigation/
│   └── content/
├── patterns/           # Block patterns (WP 7.0)
├── templates/          # Site editor templates
├── inc/
│   ├── class-theme.php
│   └── supports.php
├── assets/
│   ├── css/
│   ├── js/
│   └── images/
└── languages/

WordPress 7.0 Theme Checklist

  • PHP 7.4+ requirement documented
  • theme.json v3 schema used
  • Block patterns tested
  • ContentOnly editing supported
  • Navigation overlays implemented
  • Breadcrumb filters added for CPT
  • View transitions working
  • Admin refresh compatible
  • CPT meta shows_in_rest
  • Iframe editor tested

Quality Gates

  • All templates working
  • Block editor supported
  • Responsive design verified
  • Accessibility checked
  • Performance optimized
  • Cross-browser tested
  • WordPress 7.0 compatibility verified

Related Workflow Bundles

  • wordpress - WordPress development
  • wordpress-plugin-development - Plugin development
  • wordpress-woocommerce - WooCommerce

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

平台分布

Codex

36.69%
按下载量换算413

Claude

31.88%
按下载量换算359

Cursor

19.02%
按下载量换算214

Gemini CLI

9.78%
按下载量换算110

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills