Skip to main content

wordpress-formatter

Use this skill when the user asks to "format my WordPress theme", "apply WordPress Coding Standards", "run phpcbf", "set up phpcs for my theme", "install WPCS", "fix the indentation and spacing in my theme", "phpcs my theme templates", "convert my theme to tabs", or invokes the /wordpress-formatter command. Sets up PHP_CodeSniffer plus the WordPress Coding Standards and applies the auto-fixable formatting to a theme's template files and partials without changing how any page renders. Formatting only - never edits escaping, sanitization, or behavior. Leaves behavior-risky sniffs (loose == to ===, array_search strict flag, extract()) reported but unapplied. Stops if the target is not a WordPress theme. For a full code review use wordpress-architect-review; for building code use wp-builder-pro.

跳到安装

来源信息

仓库
chrismccoy/skills
最近来源活动
2026年7月21日 17:14
检测到的 SKILL.md 语言
英语
星标
2
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。