wp-abilities-api by automattic/agent-skills
npx skills add https://github.com/automattic/agent-skills --skill wp-abilities-api当任务涉及以下情况时使用此技能:
wp-abilities/v1) 向客户端暴露能力@wordpress/abilities)wp-project-triage)signals.isWpCoreCheckout 和 versions.wordpress.core在代码库中搜索以下内容:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
wp_register_ability(wp_register_ability_category(wp_abilities_api_initwp_abilities_api_categories_initwp-abilities/v1@wordpress/abilities如果不存在,请确定是全新引入 Abilities API(新注册 + 客户端消费)还是仅消费现有能力
如果需要逻辑分组,请尽早注册能力分类(参见 references/php-registration.md)
在 PHP 注册中实现能力,包含:
id(带命名空间)label/descriptioncategorymeta:
readonly: trueshow_in_rest: true使用文档化的 Abilities API 注册初始化钩子,以确保它们在正确的时间加载(参见 references/php-registration.md)
references/rest-api.md)meta.show_in_rest 已启用,并且正在查询正确的端点@wordpress/abilities API 进行客户端访问和检查wp-project-triage 显示 signals.usesAbilitiesApi: true(如适用)wp-abilities/v1 下的端点在预期时返回你的能力和分类meta.show_in_restreferences/rest-api.mdreferences/php-registration.md每周安装量
73
代码仓库
GitHub 星标数
187
首次出现
2026年1月21日
安全审计
安装于
claude-code47
opencode47
cursor40
gemini-cli38
codex38
github-copilot37
Use this skill when the task involves:
wp-abilities/v1),@wordpress/abilities),wp-project-triage first if you haven’t).signals.isWpCoreCheckout and versions.wordpress.core.Search for these in the repo:
wp_register_ability(wp_register_ability_category(wp_abilities_api_initwp_abilities_api_categories_initwp-abilities/v1@wordpress/abilitiesIf none exist, decide whether you’re introducing Abilities API fresh (new registrations + client consumption) or only consuming.
If you need a logical grouping, register an ability category early (see references/php-registration.md).
Implement the ability in PHP registration with:
id (namespaced),label/description,category,meta:
readonly: true when the ability is informational,show_in_rest: true for abilities you want visible to clients.Use the documented init hooks for Abilities API registration so they load at the right time (see references/php-registration.md).
references/rest-api.md).meta.show_in_rest is enabled and you’re querying the right endpoint.@wordpress/abilities APIs for client-side access and checks.wp-project-triage indicates signals.usesAbilitiesApi: true after your change (if applicable).wp-abilities/v1 return your ability and category when expected.meta.show_in_rest,references/rest-api.mdreferences/php-registration.mdWeekly Installs
73
Repository
GitHub Stars
187
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code47
opencode47
cursor40
gemini-cli38
codex38
github-copilot37
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
163,300 周安装
系统思维指南:6位产品领导者的框架与洞见,解决复杂问题的系统思维方法
1,100 周安装
创业构思指南:运用产品负责人框架生成与评估创业想法
1,200 周安装
AI产品战略指南:94位专家框架,助你制定AI产品决策与架构规划
1,100 周安装
Medusa 管理面板自定义开发指南:使用 Admin SDK 和 UI 组件构建扩展
1,200 周安装
Reddit研究技能:自动化扫描工业制造与AI社区,提取痛点与市场洞察
71 周安装
Atlassian MCP 服务器配置与使用指南:Jira JQL查询、Confluence CQL搜索与自动化工作流
1,200 周安装