
Wp hooks lifecycle
Guides an agent through WordPress hook placement, priorities and load order in Acorn
Wp hooks lifecycle 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 Wp hooks lifecycle
This skill helps an agent add, move or debug WordPress actions and filters inside an Acorn project. It covers where a hook should live, whether in a setup or filters file or in a provider's boot method, and how the chosen profile (theme, mu-plugin or radicle app) changes when Acorn boots relative to WordPress's load sequence.
The skill gives the agent a timing table for hooks, a procedure for choosing the hook and its location, and a list of request types such as Acorn routes, REST, AJAX, cron and Livewire updates, where template hooks never run. It also explains why block editor saves trigger save_post twice and how to guard against autosaves and revisions.
The agent is expected to use WP-CLI and Lando-style runner placeholders for verification, never running PHP or WP-CLI on the host. Related concerns such as ACF hooks and provider structure are delegated to other skills.
When your agent uses it
Use when adding, moving or debugging WordPress actions and filters in an Acorn project - add_action/add_filter priority and accepted_args, where a hook belongs (setup or filters files vs a provider boot()), load order (mu-plugins, plugins_loaded, after_setup_theme, init), when Acorn boots per profile, hooks that never fire on Acorn routes, REST or Livewire requests (template_redirect, wp_head), save_post firing twice in the block editor, the_content priorities. For ACF hooks use acf-native; for provider structure use acorn-stack.
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 4 files (24 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-wiseOr copy only this skill to ~/.claude/skills/wp-hooks-lifecycle:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/wp-hooks-lifecycle &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-hooks-lifecycle" ~/.claude/skills/wp-hooks-lifecycle &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/wp-hooks-lifecycle inside it instead.
Copy the skill folder to ~/.agents/skills/wp-hooks-lifecycle 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/wp-hooks-lifecycle &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-hooks-lifecycle" ~/.agents/skills/wp-hooks-lifecycle &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/wp-hooks-lifecycle inside it instead.
Copy the skill folder to ~/.cursor/skills/wp-hooks-lifecycle 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/wp-hooks-lifecycle &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-hooks-lifecycle" ~/.cursor/skills/wp-hooks-lifecycle &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/wp-hooks-lifecycle inside it instead.
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/wp-hooks-lifecycleOr copy the folder to ~/.gemini/skills/wp-hooks-lifecycle yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/wp-hooks-lifecycle:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/wp-hooks-lifecycle &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-hooks-lifecycle" ~/.copilot/skills/wp-hooks-lifecycle &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/wp-hooks-lifecycle inside it instead.
Get the folder:
git clone --depth 1 https://github.com/hekivo/kivo-wise.gitThen copy kivo-wise/plugins/kivo-wise/skills/wp-hooks-lifecycle into your agent's skills folder as wp-hooks-lifecycle. Agents that support SKILL.md read one folder per skill.
What it does
- Hook placement guidance
- Helps decide whether a hook belongs in a bootstrap file, a setup file, or a provider boot method.
- WordPress load order reference
- Summarises the order of mu-plugins, plugins, theme loading and init, and when Acorn boots per profile.
- Request type coverage
- Shows which hooks run on front end, REST, AJAX, cron, WP-CLI and Acorn route requests.
- Block editor save debugging
- Explains the two-request save flow and how to avoid duplicate or stale-data save_post callbacks.
- Verification commands
- Provides WP-CLI checks to inspect registered callbacks and hook firing status.
- Failure mode troubleshooting
- Lists common symptoms such as callbacks never running or wrong accepted args, with fixes.
Good for
- Add a filter to an Acorn theme and choose the right priority
- Debug why a hook never fires on an Acorn route or REST request
- Fix save_post running twice when saving a post in the block editor
- Move a hook from functions.php into a provider boot method
- Find out why a core content filter alters my markup
Wp hooks lifecycle FAQ
When does Wp hooks lifecycle trigger?
It is used when adding, moving or debugging WordPress actions and filters in an Acorn project, including priority, load order and hooks that fail on certain request types.
Which ACF hooks does Wp hooks lifecycle cover?
It does not cover ACF-specific hooks; those are handled by the acf-native skill, though it references acf/save_post for ordering.
Does Wp hooks lifecycle run commands on my machine?
Its verification steps use runner placeholders that default to Lando-based WP-CLI and Acorn commands, and it instructs never to run WP-CLI or PHP on the host.
How do I install Wp hooks lifecycle in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/wp-hooks-lifecycle to use it in all your projects, or to .claude/skills/wp-hooks-lifecycle 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 Wp hooks lifecycle 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 Wp hooks lifecycle?
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 Wp hooks lifecycle?
The closest alternatives to Wp hooks lifecycle are Acorn stack, Acorn background, Acf native, Acorn routes API and Testing wp.
Where this comes from
- Description: from the skill's own SKILL.md.
More from hekivo/kivo-wise

Writes approved design plans as WordPress block markup and scaffolds missing blocks
- Open source
- 14 GitHub stars
- Developer tools

Maps Figma components to project code blocks through Code Connect, with approval first
- Open source
- 14 GitHub stars
- Design and media

Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack
- Open source
- 14 GitHub stars
- Developer tools

Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server
- Open source
- 14 GitHub stars
- Design and media

Turns an HTML file or URL into kivo-creator section specs with reference screenshots
- Open source
- 14 GitHub stars
- Developer tools

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

