Token导航 LogoToken导航

Agent Skill · 研究检索

wordpress(WordPress 命令行)

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

wordpress 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 34,616。

总安装 2,203周安装 90GitHub Stars 35,684下载 713核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

wordpress 提供 WordPress 命令行工具支持,用于在 Codex、Claude、Cursor、Gemini CLI 中进行内容管理与站点操作。它适用于主题开发、插件配置和站点维护等常见 WordPress 管理任务。

通过 GitHub 仓库安装,使用 npx skills add 命令添加技能,具体功能请查阅原始文档。使用前应检查权限边界,避免误操作影响生产环境,并留意可能的文件修改和网络请求。wordpress 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/wordpress

上手步骤

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 怎么安装?

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

wordpress 支持哪些 AI 工具?

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

wordpress 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

wordpress 是免费的吗?

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

wordpress 用的人多吗?

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

wordpress 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 35,684 星,维护活跃度相对可查。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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

WordPress 命令行 · 本页

2,20335,684接触敏感数据未明确有提醒

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

SKILL.md 原文

WordPress Development Workflow Bundle

Overview

Comprehensive WordPress development workflow covering theme development, plugin creation, WooCommerce integration, performance optimization, and security. This bundle orchestrates skills for building production-ready WordPress sites and applications.

WordPress 7.0 Features (Backward Compatible)

WordPress 7.0 (April 9, 2026) introduces significant features while maintaining backward compatibility:

Real-Time Collaboration (RTC)

  • Multiple users can edit simultaneously using Yjs CRDT
  • HTTP polling provider (configurable via WP_COLLABORATION_MAX_USERS)
  • Custom transport via sync.providers filter
  • Backward Compatibility: Falls back to post locking when legacy meta boxes detected

AI Connectors API

  • Provider-agnostic AI interface in core (wp_ai_client_prompt())
  • Settings > Connectors for centralized API credential management
  • Official providers: OpenAI, Anthropic Claude, Google Gemini
  • Backward Compatibility: Works with WordPress 6.9+ via plugin

Abilities API (Stable in 7.0)

  • Standardized capability declaration system
  • REST API endpoints: /wp-json/abilities/v1/manifest
  • MCP adapter for AI agent integration
  • Backward Compatibility: Can be used as Composer package in 6.x

DataViews & DataForm

  • Replaces WP_List_Table on Posts, Pages, Media screens
  • New layouts: table, grid, list, activity
  • Client-side validation (pattern, minLength, maxLength, min, max)
  • Backward Compatibility: Plugins using old hooks still work

PHP-Only Block Registration

  • Register blocks entirely via PHP without JavaScript
  • Auto-generated Inspector controls
  • Backward Compatibility: Existing JS blocks continue to work

Interactivity API Updates

  • watch() replaces effect from @preact/signals
  • State navigation changes
  • Backward Compatibility: Old syntax deprecated but functional

Admin Refresh

  • New default color scheme
  • View transitions between admin screens
  • Backward Compatibility: CSS-level changes, no breaking changes

Pattern Editing

  • ContentOnly mode defaults for unsynced patterns
  • disableContentOnlyForUnsyncedPatterns setting
  • Backward Compatibility: Existing patterns work

When to Use This Workflow

Use this workflow when:

  • Building new WordPress websites
  • Creating custom themes
  • Developing WordPress plugins
  • Setting up WooCommerce stores
  • Optimizing WordPress performance
  • Hardening WordPress security
  • Implementing WordPress 7.0 features (RTC, AI, DataViews)

Workflow Phases

Phase 1: WordPress Setup

Skills to Invoke
  • app-builder - Project scaffolding
  • environment-setup-guide - Development environment
Actions
  1. Set up local development environment (LocalWP, Docker, or Valet)
  2. Install WordPress (recommend 7.0+ for new projects)
  3. Configure development database
  4. Set up version control
  5. Configure wp-config.php for development
WordPress 7.0 Configuration
// wp-config.php - Collaboration settings
define('WP_COLLABORATION_MAX_USERS', 5);

// AI Connector is enabled by installing a provider plugin
// (e.g., OpenAI, Anthropic Claude, or Google Gemini connector)
// No constant needed - configure via Settings > Connectors in admin
Copy-Paste Prompts
Use @app-builder to scaffold a new WordPress project with modern tooling

Phase 2: Theme Development

Skills to Invoke
  • frontend-developer - Component development
  • frontend-design - UI implementation
  • tailwind-patterns - Styling
  • web-performance-optimization - Performance
Actions
  1. Design theme architecture
  2. Create theme files (style.css, functions.php, index.php)
  3. Implement template hierarchy
  4. Create custom page templates
  5. Add custom post types and taxonomies
  6. Implement theme customization options
  7. Add responsive design
  8. Test with WordPress 7.0 admin refresh
WordPress 7.0 Theme Considerations
  • Block API v3 now reference model
  • Pseudo-element support in theme.json
  • Global Styles custom CSS honors block-defined selectors
  • View transitions for admin navigation
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
├── template-parts/
├── inc/
├── assets/
│   ├── css/
│   ├── js/
│   └── images/
└── languages/
Copy-Paste Prompts
Use @frontend-developer to create a custom WordPress theme with React components
Use @tailwind-patterns to style WordPress theme with modern CSS

Phase 3: Plugin Development

Skills to Invoke
  • backend-dev-guidelines - Backend standards
  • api-design-principles - API design
  • auth-implementation-patterns - Authentication
Actions
  1. Design plugin architecture
  2. Create plugin boilerplate
  3. Implement hooks (actions and filters)
  4. Create admin interfaces
  5. Add custom database tables
  6. Implement REST API endpoints
  7. Add settings and options pages
WordPress 7.0 Plugin Considerations
  • RTC Compatibility: Register post meta with show_in_rest => true
  • AI Integration: Use wp_ai_client_prompt() for AI features
  • DataViews: Consider new admin UI patterns
  • Meta Boxes: Migrate to block-based UIs for collaboration support
RTC-Compatible Post Meta Registration
register_post_meta('post', 'custom_field', [
    'type' => 'string',
    'single' => true,
    'show_in_rest' => true,  // Required for RTC
    'sanitize_callback' => 'sanitize_text_field',
]);
AI Connector Example
// Using WordPress 7.0 AI Connector
// Note: Requires an AI provider plugin (OpenAI, Claude, or Gemini) to be installed and configured

// Basic text generation
$response = wp_ai_client_prompt('Summarize this content.')
    ->generate_text();

// With temperature for deterministic output
$response = wp_ai_client_prompt('Summarize this content.')
    ->using_temperature(0.2)
    ->generate_text();

// With model preference (tries first available in list)
$response = wp_ai_client_prompt('Summarize this content.')
    ->using_model_preference('gpt-4', 'claude-3-opus', 'gemini-2-pro')
    ->generate_text();

// For JSON structured output
$schema = [
    'type' => 'object',
    'properties' => [
        'summary' => ['type' => 'string'],
        'keywords' => ['type' => 'array', 'items' => ['type' => 'string']]
    ],
    'required' => ['summary']
];
$response = wp_ai_client_prompt('Analyze this content and return JSON.')
    ->using_system_instruction('You are a content analyzer.')
    ->as_json_response($schema)
    ->generate_text();
Plugin Structure
plugin-name/
├── plugin-name.php
├── includes/
│   ├── class-plugin-activator.php
│   ├── class-plugin-deactivator.php
│   ├── class-plugin-loader.php
│   └── class-plugin.php
├── admin/
│   ├── class-plugin-admin.php
│   ├── css/
│   └── js/
├── public/
│   ├── class-plugin-public.php
│   ├── css/
│   └── js/
└── languages/
Copy-Paste Prompts
Use @backend-dev-guidelines to create a WordPress plugin with proper architecture

Phase 4: WooCommerce Integration

Skills to Invoke
  • payment-integration - Payment processing
  • stripe-integration - Stripe payments
  • billing-automation - Billing workflows
Actions
  1. Install and configure WooCommerce
  2. Create custom product types
  3. Customize checkout flow
  4. Integrate payment gateways
  5. Set up shipping methods
  6. Create custom order statuses
  7. Implement subscription products
  8. Add custom email templates
WordPress 7.0 + WooCommerce Considerations
  • Test checkout with new admin interfaces
  • AI connectors for product descriptions
  • DataViews for order management screens
  • RTC for collaborative order editing
Copy-Paste Prompts
Use @payment-integration to set up WooCommerce with Stripe
Use @billing-automation to create subscription products in WooCommerce

Phase 5: Performance Optimization

Skills to Invoke
  • web-performance-optimization - Performance optimization
  • database-optimizer - Database optimization
Actions
  1. Implement caching (object, page, browser)
  2. Optimize images (lazy loading, WebP)
  3. Minify and combine assets
  4. Enable CDN
  5. Optimize database queries
  6. Implement lazy loading
  7. Configure OPcache
  8. Set up Redis/Memcached
WordPress 7.0 Performance
  • Client-side media processing
  • Font Library enabled for all themes
  • Responsive grid block optimizations
  • View transitions reduce perceived load time
Performance Checklist
  • Page load time < 3 seconds
  • Time to First Byte < 200ms
  • Largest Contentful Paint < 2.5s
  • Cumulative Layout Shift < 0.1
  • First Input Delay < 100ms
Copy-Paste Prompts
Use @web-performance-optimization to audit and improve WordPress performance

Phase 6: Security Hardening

Skills to Invoke
  • security-auditor - Security audit
  • wordpress-penetration-testing - WordPress security testing
  • sast-configuration - Static analysis
Actions
  1. Update WordPress core, themes, plugins
  2. Implement security headers
  3. Configure file permissions
  4. Set up firewall rules
  5. Enable two-factor authentication
  6. Implement rate limiting
  7. Configure security logging
  8. Set up malware scanning
WordPress 7.0 Security Considerations
  • PHP 7.4 minimum (drops 7.2/7.3 support)
  • Test Abilities API permission boundaries
  • Verify collaboration data isolation
  • AI connector credential security
Security Checklist
  • WordPress core updated (7.0+ recommended)
  • All plugins/themes updated
  • Strong passwords enforced
  • Two-factor authentication enabled
  • Security headers configured
  • XML-RPC disabled or protected
  • File editing disabled
  • Database prefix changed
  • Regular backups configured
Copy-Paste Prompts
Use @wordpress-penetration-testing to audit WordPress security
Use @security-auditor to perform comprehensive security review

Phase 7: Testing

Skills to Invoke
  • test-automator - Test automation
  • playwright-skill - E2E testing
  • webapp-testing - Web app testing
Actions
  1. Write unit tests for custom code
  2. Create integration tests
  3. Set up E2E tests
  4. Test cross-browser compatibility
  5. Test responsive design
  6. Performance testing
  7. Security testing
WordPress 7.0 Testing Priorities
  • Test with iframed post editor
  • Verify DataViews integration
  • Test collaboration (RTC) workflows
  • Validate AI connector functionality
  • Test Interactivity API with watch()
Copy-Paste Prompts
Use @playwright-skill to create E2E tests for WordPress site

Phase 8: Deployment

Skills to Invoke
  • deployment-engineer - Deployment
  • cicd-automation-workflow-automate - CI/CD
  • github-actions-templates - GitHub Actions
Actions
  1. Set up staging environment
  2. Configure deployment pipeline
  3. Set up database migrations
  4. Configure environment variables
  5. Enable maintenance mode during deployment
  6. Deploy to production
  7. Verify deployment
  8. Monitor post-deployment
Copy-Paste Prompts
Use @deployment-engineer to set up WordPress deployment pipeline

WordPress-Specific Workflows

Custom Post Type Development (RTC-Compatible)

register_post_type('book', [
    'labels' => [...],
    'public' => true,
    'has_archive' => true,
    'supports' => ['title', 'editor', 'thumbnail', 'excerpt'],
    'menu_icon' => 'dashicons-book',
    'show_in_rest' => true,  // Enable for RTC
]);

// Register meta with REST API for collaboration
register_post_meta('book', 'isbn', [
    'type' => 'string',
    'single' => true,
    'show_in_rest' => true,
    'sanitize_callback' => 'sanitize_text_field',
]);

Custom REST API Endpoint

add_action('rest_api_init', function() {
    register_rest_route('myplugin/v1', '/books', [
        'methods' => 'GET',
        'callback' => 'get_books',
        'permission_callback' => '__return_true',
    ]);
});

WordPress 7.0 AI Connector Usage

// Auto-generate post excerpt with AI
add_action('save_post', function($post_id, $post) {
    if (wp_is_post_autosave($post_id) || wp_is_post_revision($post_id)) {
        return;
    }

    // Skip if excerpt already exists
    if (!empty($post->post_excerpt)) {
        return;
    }

    $content = strip_tags($post->post_content);
    if (empty($content)) {
        return;
    }

    // Check if AI client is available
    if (!function_exists('wp_ai_client_prompt')) {
        return;
    }

    // Build prompt with input
    $result = wp_ai_client_prompt(
        'Create a brief 2-sentence summary of this content: ' . substr($content, 0, 1000)
    );

    if (is_wp_error($result)) {
        return; // Silently fail - don't block post saving
    }

    // Use temperature for consistent output
    $result->using_temperature(0.3);
    $summary = $result->generate_text();

    if ($summary && !is_wp_error($summary)) {
        wp_update_post([
            'ID' => $post_id,
            'post_excerpt' => sanitize_textarea_field($summary)
        ]);
    }
}, 10, 2);

PHP-Only Block Registration (WordPress 7.0)

// Register block entirely in PHP
register_block_type('my-plugin/hello-world', [
    'render_callback' => function($attributes, $content) {
        return '<p class="hello-world">Hello, World!</p>';
    },
    'attributes' => [
        'message' => ['type' => 'string', 'default' => 'Hello!']
    ],
]);

Abilities API Registration

// Register ability category on correct hook
add_action('wp_abilities_api_categories_init', function() {
    wp_register_ability_category('content-creation', [
        'label' => __('Content Creation', 'my-plugin'),
        'description' => __('Abilities for generating and managing content', 'my-plugin'),
    ]);
});

// Register abilities on correct hook
add_action('wp_abilities_api_init', function() {
    wp_register_ability('my-plugin/generate-summary', [
        'label' => __('Generate Post Summary', 'my-plugin'),
        'description' => __('Creates an AI-powered summary of a post', 'my-plugin'),
        'category' => 'content-creation',
        'input_schema' => [
            'type' => 'object',
            'properties' => [
                'post_id' => ['type' => 'integer', 'description' => 'The post ID to summarize']
            ],
            'required' => ['post_id']
        ],
        'output_schema' => [
            'type' => 'object',
            'properties' => [
                'summary' => ['type' => 'string', 'description' => 'The generated summary']
            ]
        ],
        'execute_callback' => 'my_plugin_generate_summary_handler',
        'permission_callback' => function() {
            return current_user_can('edit_posts');
        }
    ]);
});

// Handler function for the ability
function my_plugin_generate_summary_handler($input) {
    $post_id = isset($input['post_id']) ? absint($input['post_id']) : 0;
    $post = get_post($post_id);

    if (!$post) {
        return new WP_Error('invalid_post', 'Post not found');
    }

    $content = strip_tags($post->post_content);
    if (empty($content)) {
        return ['summary' => ''];
    }

    if (!function_exists('wp_ai_client_prompt')) {
        return new WP_Error('ai_unavailable', 'AI client not available');
    }

    $result = wp_ai_client_prompt('Summarize in 2 sentences: ' . substr($content, 0, 1000))
        ->using_temperature(0.3)
        ->generate_text();

    if (is_wp_error($result)) {
        return $result;
    }

    return ['summary' => sanitize_textarea_field($result)];
}

WooCommerce Custom Product Type

add_action('init', function() {
    class WC_Product_Custom extends WC_Product {
        // Custom product implementation
    }
});

Quality Gates

Before moving to next phase, verify:

  • All custom code tested
  • Security scan passed
  • Performance targets met
  • Cross-browser tested
  • Mobile responsive verified
  • Accessibility checked (WCAG 2.1)
  • WordPress 7.0 compatibility verified (for new projects)

Related Workflow Bundles

  • development - General web development
  • security-audit - Security testing
  • testing-qa - Testing workflow
  • ecommerce - E-commerce development

(End of file - total 440 lines)

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

34.66%
按下载量换算247

Claude

30.57%
按下载量换算218

Cursor

19.41%
按下载量换算138

Gemini CLI

10.08%
按下载量换算72

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills