/forge:wp-format path to themefrom forge
Sets up WordPress Coding Standards (PHPCS + WPCS) for a theme and applies auto-fixable formatting. Installs dependencies, generates scoped phpcs.xml.dist, runs phpcbf twice, and reports remaining issues.
Ships in forge. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Load first. Read
${CLAUDE_PLUGIN_ROOT}/lib/wordpress-formatter/SKILL.mdin full before anything else - intake, tool calls, or output. That file is the authoritative procedure for this command; every mention of "thewordpress-formatterprocedure" below refers to it. It is not auto-loaded, so this read is mandatory.
Run the WordPress formatting workflow using the wordpress-formatter procedure.
First confirm the target is a WordPress theme (a style.css theme header, or
template files like index.php / functions.php). If it is not, say so and
stop - do not scaffold tooling into a non-theme repo.
Then ask the five intake questions from the procedure file (scope, ruleset strictness, Yoda reorders, theme name, files to exclude) and wait for the answers. If the user says "just do it," use the defaults: templates-and-partials scope, WordPress-Core ruleset, Yoda reported but not applied.
Install PHP_CodeSniffer and the WordPress Coding Standards as Composer dev
dependencies (skip if already present), write the scoped phpcs.xml.dist, run
phpcbf twice, and check every touched file with php -l. Report remaining
issues using the procedure file's triage table - leave the behavior-risky sniffs
reported but unapplied. Finish with the procedure file's report template.
If a path was provided in the slash command arguments, format that path. Otherwise use the current working directory.
If composer.json is missing, ask whether to run composer init or abort - do
not create one silently. If composer require fails, stop and report the exact
error and failing command.
Target path (if provided): $ARGUMENTS
7-day visitors to each command page
123 commands in this plugin
/accessibility-audit/accessibility-audit - Guided WCAG Audit and FixWCAG accessibility audit via guided intake - mode, scope, standard, fix authority, tech stack./analyze-prompt/analyze-prompt - Prompt SummaryProduce a rigorous, review-ready engineering analysis of any AI prompt./analyze-skill/analyze-skill - Skill AnalysisRigorous, review-ready analysis of any Claude Code skill folder, SKILL.md, or plugin skill - purpose, triggers, every file mapped, security review, compatibility, a scorecard, and the files quoted with secrets redacted - in one of 8 modes (full, security, explain, interview, improve, compat, beginner, quick). Bundled static checks; the target's code never runs./appointment-prep/appointment-prep - Healthcare Appointment PrepPrepare for a doctor, dentist, physio, or specialist appointment - emergency check first, then a doctor summary, five questions, a symptom diary, and checklists./bash-forge/bash-forge - Bash Scripting ExpertBash scripting for Linux, macOS, WSL, Git Bash, and containers - write, review, debug, optimize, or scaffold .sh scripts with Bash 5.3 features, security hardening, ShellCheck, and CI/CD. Analyze, optimize, template, and create workflows; batch ShellCheck, profiler, and parallel-runner scripts./blueprint/blueprint - App Blueprint PipelinePlan a new app from five inputs as a 12-section production blueprint, then harden it - fresh-context review against per-stack fact sheets, a walking-skeleton scaffold, and time-boxed spikes.npx claudepluginhub chrismccoy/forge --plugin forge