[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-11205":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":9,"createdAt":9,"pushedAt":9,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},11205,"agent-skills","WordPress\u002Fagent-skills","WordPress","Expert-level WordPress knowledge for AI coding assistants - blocks, themes, plugins, and best practices",null,"https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills","JavaScript",1658,241,41,14,0,18,53,201,54,20.15,false,"main","2026-06-12 02:02:30","# Agent Skills for WordPress\n\n**Teach AI coding assistants how to build WordPress the right way.**\n\nAgent Skills are portable bundles of instructions, checklists, and scripts that help AI assistants (Claude, Copilot, Codex, Cursor, etc.) understand WordPress development patterns, avoid common mistakes, and follow best practices.\n\n> **AI Authorship Disclosure:** These skills were generated using GPT-5.2 Codex (High Reasoning) from official Gutenberg and WordPress documentation, then reviewed and edited by WordPress contributors. We tested skills with AI assistants and iterated based on results. This is v1, and skills will improve as the community uses them and contributes fixes. See [docs\u002Fai-authorship.md](docs\u002Fai-authorship.md) for details. ([WordPress AI Guidelines](https:\u002F\u002Fmake.wordpress.org\u002Fai\u002Fhandbook\u002Fai-guidelines\u002F))\n\n## Why Agent Skills?\n\nAI coding assistants are powerful, but they often:\n- Generate outdated WordPress patterns (pre-Gutenberg, pre-block themes)\n- Miss critical security considerations in plugin development\n- Skip proper block deprecations, causing \"Invalid block\" errors\n- Ignore existing tooling in your repo\n\nAgent Skills solve this by giving AI assistants **expert-level WordPress knowledge** in a format they can actually use.\n\n## Available Skills\n\n| Skill | What it teaches |\n|-------|-----------------|\n| **wordpress-router** | Classifies WordPress repos and routes to the right workflow |\n| **wp-project-triage** | Detects project type, tooling, and versions automatically |\n| **wp-block-development** | Gutenberg blocks: `block.json`, attributes, rendering, deprecations |\n| **wp-block-themes** | Block themes: `theme.json`, templates, patterns, style variations |\n| **wp-plugin-development** | Plugin architecture, hooks, settings API, security |\n| **wp-rest-api** | REST API routes\u002Fendpoints, schema, auth, and response shaping |\n| **wp-interactivity-api** | Frontend interactivity with `data-wp-*` directives and stores |\n| **wp-abilities-api** | Capability-based permissions and REST API authentication |\n| **wp-wpcli-and-ops** | WP-CLI commands, automation, multisite, search-replace |\n| **wp-performance** | Profiling, caching, database optimization, Server-Timing |\n| **wp-phpstan** | PHPStan static analysis for WordPress projects (config, baselines, WP-specific typing) |\n| **wp-playground** | WordPress Playground for instant local environments |\n| **wpds** | WordPress Design System |\n| **wp-plugin-directory-guidelines** | WordPress Plugin Directory Guidelines |\n| **blueprint** | WordPress Playground Blueprints for declarative Playground environment setup |\n\n## Quick Start\n\n### Install globally for Claude Code\n\n```bash\n# Clone agent-skills\ngit clone https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills.git\ncd agent-skills\n\n# Build the distribution\nnode shared\u002Fscripts\u002Fskillpack-build.mjs --clean\n\n# Install all skills globally (available across all projects)\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --global\n\n# Or install specific skills only\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --global --skills=wp-playground,wp-block-development\n```\n\nThis installs skills to `~\u002F.claude\u002Fskills\u002F` where Claude Code will automatically discover them.\n\n### Install into your repo\n\n```bash\n# Clone agent-skills\ngit clone https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills.git\ncd agent-skills\n\n# Build the distribution\nnode shared\u002Fscripts\u002Fskillpack-build.mjs --clean\n\n# Install into your WordPress project\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --dest=..\u002Fyour-wp-project --targets=codex,vscode,claude,cursor\n```\n\nThis copies skills into:\n- `.codex\u002Fskills\u002F` for OpenAI Codex\n- `.github\u002Fskills\u002F` for VS Code \u002F GitHub Copilot\n- `.claude\u002Fskills\u002F` for Claude Code (project-level)\n- `.cursor\u002Fskills\u002F` for Cursor (project-level)\n\n### Install globally for Cursor\n\n```bash\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --targets=cursor-global\n```\n\nThis installs skills to `~\u002F.cursor\u002Fskills\u002F` where Cursor will discover them.\n\n### Available options\n\n```bash\n# List available skills\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --list\n\n# Dry run (preview without installing)\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --global --dry-run\n\n# Install specific skills to a project (e.g. Claude + Cursor)\nnode shared\u002Fscripts\u002Fskillpack-install.mjs --dest=..\u002Fmy-repo --targets=claude,cursor --skills=wp-wpcli-and-ops\n```\n\n### Manual installation\n\nCopy any skill folder from `skills\u002F` into your project's instructions directory for your AI assistant.\n\n## How It Works\n\nEach skill contains:\n\n```\nskills\u002Fwp-block-development\u002F\n├── SKILL.md              # Main instructions (when to use, procedure, verification)\n├── references\u002F           # Deep-dive docs on specific topics\n│   ├── block-json.md\n│   ├── deprecations.md\n│   └── ...\n└── scripts\u002F              # Deterministic helpers (detection, validation)\n    └── list_blocks.mjs\n```\n\nWhen you ask your AI assistant to work on WordPress code, it reads these skills and follows the documented procedures rather than guessing.\n\n## Compatibility\n\n- **WordPress 6.9+** (PHP 7.2.24+)\n- Works with any AI assistant that supports project-level instructions\n\n## Contributing\n\n**We welcome contributions!** This project is a great way to share your WordPress expertise—you don't need to be a coding wizard. Most skills are written in Markdown, focusing on clear procedures and best practices.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to get started.\n\nQuick commands:\n\n```bash\n# Scaffold a new skill\nnode shared\u002Fscripts\u002Fscaffold-skill.mjs \u003Cskill-name> \"\u003Cdescription>\"\n\n# Validate skills\nnode eval\u002Fharness\u002Frun.mjs\n```\n\n## Documentation\n\n- [Authoring Guide](docs\u002Fauthoring-guide.md) - How to create and improve skills\n- [Principles](docs\u002Fprinciples.md) - Design philosophy\n- [Packaging](docs\u002Fpackaging.md) - Build and distribution\n- [Compatibility Policy](docs\u002Fcompatibility-policy.md) - Version targeting\n\n## License\n\nGPL-2.0-or-later\n","Agent Skills for WordPress 是一个专为AI编码助手设计的项目，旨在提供专家级WordPress知识，包括块、主题、插件及最佳实践。该项目通过一系列可移植的指令、检查清单和脚本，帮助Claude、Copilot等AI助手理解和遵循WordPress开发模式，避免常见错误，并确保代码符合最新标准。它特别适用于需要快速准确地生成或修改WordPress相关代码的场景，如构建Gutenberg区块、创建安全的插件以及优化REST API接口等。此外，该项目还支持多种特定技能的学习，比如PHPStan静态分析配置、WP-CLI命令操作等，进一步提升了AI在WordPress生态系统中的应用能力。",2,"2026-06-11 03:31:21","trending"]