Skip to content
Skill

Roots debugging

Diagnoses broken Roots/Acorn WordPress projects by collecting evidence before fixing

Roots debugging is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Roots debugging

This skill guides an agent through finding the cause of failures in Roots and Acorn WordPress projects, such as white screens, boot errors, missing Blade views or ACF blocks, asset 404s, and Livewire failures. It follows a fixed sequence: locate the environment, gather logs and debug flags, categorize the symptom, test one hypothesis at a time, then apply the smallest fix at the root cause.

It includes a symptom table with first checks for each category, a per-profile map of where logs, compiled views, caches and providers live for sage-theme, acorn-mu-plugin and radicle-app layouts, and reference notes on cache layers. Deploy staleness gets its own path, covering edge, object cache, OPcache and compiled view caches, with each layer assigned to the owner who should clear it.

The skill expects a local or remote Acorn project and access to run WordPress and Acorn commands through the project's runner, such as Lando. Shared environments are treated as read-only: the agent observes and reports, and any purge or restart is proposed to the owner instead of executed.

When your agent uses it

Use when something is broken on a Roots/Acorn WordPress project and the cause is unknown - 500 or white screen, Acorn boot failure, "class not found", stale Blade, missing ACF blocks, assets 404, Livewire not mounting. Also when it works locally but not on staging or production, or a change is not visible after a deploy - old HTML, Livewire 419 or RangeError right after a deploy, edge/CDN, object cache or OPcache holding old state. Read-only on shared environments. For new features use the building skill; for Lando container problems use lando-wp.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (22 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kivo-wise plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise

Or copy only this skill to ~/.claude/skills/roots-debugging:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/roots-debugging &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-debugging" ~/.claude/skills/roots-debugging &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/roots-debugging inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/roots-debugging to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/roots-debugging &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-debugging" ~/.agents/skills/roots-debugging &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/roots-debugging inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/roots-debugging to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/roots-debugging &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-debugging" ~/.cursor/skills/roots-debugging &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/roots-debugging inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/hekivo/kivo-wise.git --path plugins/kivo-wise/skills/roots-debugging

Or copy the folder to ~/.gemini/skills/roots-debugging yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/roots-debugging:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/roots-debugging &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-debugging" ~/.copilot/skills/roots-debugging &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/roots-debugging inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/hekivo/kivo-wise.git

Then copy kivo-wise/plugins/kivo-wise/skills/roots-debugging into your agent's skills folder as roots-debugging. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Evidence-first workflow
Requires reproduction and log evidence before any code change, with one hypothesis tested at a time.
Symptom category table
Maps errors such as boot failure, class not found, Blade rendering and routing to targeted first checks.
Per-profile file locations
Shows where logs, compiled views, caches and providers sit for theme, mu-plugin and radicle layouts.
Deploy staleness checks
Read-only header and asset-hash checks for old HTML or Livewire errors after a release.
Cache layer guidance
Lists edge, object cache, OPcache and Acorn caches, with the owner expected to clear each.
Read-only remote handling
Keeps staging and production observation-only and presents purges as proposals.

Good for

  • Why does my Roots site show a white screen after I changed a Blade view?
  • My Acorn command fails with class not found, what should I check?
  • Livewire returns 419 right after deploying, what is causing it?
  • My ACF block disappeared from the inserter, help me find out why.
  • The site works locally but shows old HTML on staging.

Roots debugging FAQ

When should I use Roots debugging instead of the building skill?

Use it when something is broken and the cause is unknown. For new features the content points to the building skill, and for Lando container problems it points to lando-wp.

Will the agent clear caches on staging or production?

No. Shared environments are read-only for the agent. Cache purges, restarts and redeploys are proposed with the exact command and the owner of that layer.

Where does Roots debugging look for Acorn logs?

It checks storage/logs under the Acorn base path, and falls back to the WordPress cache folder for theme layouts. It also reads the WordPress debug.log when WP_DEBUG_LOG is enabled.

How do I install Roots debugging in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/roots-debugging to use it in all your projects, or to .claude/skills/roots-debugging in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

Does Roots debugging run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Roots debugging?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Roots debugging?

The closest alternatives to Roots debugging are Roots onboarding, Roots triage, Acorn stack, Roots reviewing and Roots router.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from hekivo/kivo-wise

  1. Writes approved design plans as WordPress block markup and scaffolds missing blocks

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Maps Figma components to project code blocks through Code Connect, with approval first

    • Open source
    • 14 GitHub stars
    • Design and media
  3. Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack

    • Open source
    • 14 GitHub stars
    • Developer tools
  4. Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server

    • Open source
    • 14 GitHub stars
    • Design and media
  5. Turns an HTML file or URL into kivo-creator section specs with reference screenshots

    • Open source
    • 14 GitHub stars
    • Developer tools
  6. Maps design sections to a project's existing blocks before any code is generated

    • Open source
    • 14 GitHub stars
    • Developer tools