返回技能目录
人工审校软件开发

技能研究档案

wordpress-pro

来源声明

Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.

保留作者的英文原始描述。它表达设计意图,不代表已验证的实际效果。

Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.

developmentreferences

研究摘要

人工审校

Skill Atlas editorial review · editorial-preview-1.0.0

指导 WordPress 主题、插件、Gutenberg 区块和 WooCommerce 开发,并包含安全加固(nonce、清理、转义、权限检查)与性能优化。

审阅范围

对所收集的 SKILL.md 及辅助文本/代码进行确定性静态分析。机器辅助候选和发现等待人工编辑复核;不评估动态行为或效果。

可观察能力

  • 规划主题或插件结构、钩子和数据流。
  • 按 WordPress 编码规范实现代码,并用 phpcs --standard=WordPress 校验。
  • 应用 nonce、输入清理、输出转义、预处理查询和权限检查。
  • 应用 transient 或对象缓存、查询优化以及规范的资源加载。

限制与范围

  • 运行校验步骤需要安装带 WordPress 规范的 phpcs。
  • 面向 WordPress 6.4+ 和 PHP 8.1+,较旧的安装环境可能不同。
  • Skill 要求做安全审计清单,但不能替代真正的安全评审。

适用读者

  • WordPress 主题与插件开发者
  • 扩展 WooCommerce 或开发 Gutenberg 区块的团队
  • 需要加固现有 WordPress 代码的开发者

技能包含哪些内容

文件清单来自记录提交中的采集源码。路径与大小属于结构观察,不代表质量评价。

个文件
6
Markdown 文件
6
个脚本
0
个引用
5
大小
136.9 KB
结构复杂度
中

文件清单

路径类型字节
skills/wordpress-pro/references/gutenberg-blocks.md引用26.1 KB
skills/wordpress-pro/references/hooks-filters.md引用21.6 KB
skills/wordpress-pro/references/performance-security.md引用25.5 KB
skills/wordpress-pro/references/plugin-architecture.md引用32 KB
skills/wordpress-pro/references/theme-development.md引用25.4 KB
skills/wordpress-pro/SKILL.md指令6.3 KB

SKILL.md 前置元数据

{
  "name": "wordpress-pro",
  "description": "Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "platform",
    "triggers": "WordPress, WooCommerce, Gutenberg, WordPress theme, WordPress plugin, custom blocks, ACF, WordPress REST API, hooks, filters, WordPress performance, WordPress security",
    "role": "expert",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "php-pro, laravel-specialist, fullstack-guardian, security-reviewer"
  }
}

对运行顺序的一种解读

此工作流根据源码材料重建表面顺序。除非明确记录受控评估,否则它属于暂定解读,而非真实运行轨迹。

  1. 01
  2. 02
    操作

    按规范实现

    遵循 WordPress 编码规范和安全最佳实践进行构建。

  3. 03
    判断

    校验并人工检查

    运行 phpcs --standard=WordPress 检查违规项,并人工核对 nonce 处理和权限检查。

  4. 04
    输出

    交付 WordPress 产出

    提供插件或主题主文件、模板或区块代码、钩子、安全实现和说明。

潜在风险面

静态发现用于提示安装前需要检查的位置,不能证明一项技能安全、恶意或有效。

建议重点关注

收集的文本中有 496 项确定性词法发现需要复核。发现可能仅位于文档中,不证明已执行或可被利用;仅含二进制的文件未扫描。

网络访问已观察到
文件写入已观察到
凭据使用已观察到
中

文本提及网络访问

27 次命中

此源文件行包含 URL 或网络客户端。应检查目标地址、发送的数据和信任边界;静态文本无法证明实际发生了网络活动。 该规则在收集文本中命中 27 处;此处列出 3 个代表位置。命中文本可能只是文档,分析器没有执行它。

提示

文本描述或实现了文件修改

468 次命中

此行包含可能的文件写入或重定向操作。应检查目标路径和覆盖行为;静态审查没有写入任何文件。 该规则在收集文本中命中 468 处;此处列出 3 个代表位置。命中文本可能只是文档,分析器没有执行它。

高

文本引用凭据或密钥材料

此行疑似凭据字面值,或读取敏感环境变量。请勿暴露其内容;应核实它是占位符、所需密钥,还是误提交的敏感材料。 该规则在收集文本中命中 1 处;此处列出 1 个代表位置。命中文本可能只是文档,分析器没有执行它。

编辑安全提示

先在预发布站点测试生成的插件代码,并在部署到生产环境之前审查每个数据库查询、nonce 和权限检查。

上下文可能消耗在哪里

发现、激活与资源层具有不同含义。只有使用指定官方方法并记录模型的运行时,才显示精确数值。

精确 token 计数不可用

在管线使用明确模型执行官方精确计数之前,包括文件清单在内的所有 token 值均为 null。

未使用要求的官方方法记录 token 测量。本档案不会用字符数、文件大小或估计值替代。

受控评估

没有受控评估

该技能仅具备以上标明的证据。不声称任何任务成功率、token 效率、延迟或质量优势。

尚未测试

在源码可见的情况下使用

安装命令
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # 将该 Skill 目录复制到以下任一位置: # ~/.claude/skills/wordpress-pro # .claude/skills/wordpress-pro
  1. 打开固定版本源码:https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/wordpress-pro/SKILL.md。
  2. 审阅许可证、前置条件和所有捆绑的参考文件。
  3. 将 Skill 目录复制到个人或项目级 Claude Code skills 目录。
  4. 重启或刷新 Claude Code,使该 Skill 可被发现。
验证安装

确认目标位置能够发现 SKILL.md,然后让 Claude Code 在一个小任务中使用 wordpress-pro。

前置条件

  • 运行校验步骤需要安装带 WordPress 规范的 phpcs。
  • 面向 WordPress 6.4+ 和 PHP 8.1+,较旧的安装环境可能不同。
  • Skill 要求做安全审计清单,但不能替代真正的安全评审。

示例提示词

代表性任务

Use the wordpress-pro skill to build a plugin with an admin settings page that saves options safely using a nonce, sanitization and a manage_options capability check, then run phpcs with the WordPress standard.

使用前检查

Read the wordpress-pro skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/wordpress-pro/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

附上限制条件的判断

优势

  • 为 nonce、转义、预处理语句和权限检查提供了具体的 PHP 片段。
  • 禁止清单详细具体,包括不修改核心文件、不输出未转义数据。

注意事项

  • 覆盖主题、区块、WooCommerce 和 ACF,需按主题加载参考文件。
  • 生成的插件仍应先在预发布站点测试。
研究结论

一个注重安全的 WordPress Skill,适合按 WordPress 规范进行的自定义主题和插件开发。

从结构上保持可追溯

档案是对公开工件的限时阅读,而非背书。请通过来源链接检查确切的上游材料。

Jeffallanclaude-skillsskills/wordpress-pro
来源类型
社区
提交
67c1961b180dc92cf08983344627109e983e8f51
采集时间
2026年11月20日
最近核查
2026年11月20日
上游许可证
MIT
仓库星标
12,464
内容依据

仅对提供的文件进行确定性词法解析、YAML frontmatter 校验、文件清单、来源描述的工作流程提取和启发式暂定分类。由机器生成;无 LLM、执行、动态测试或人工编辑批准。