
Acf native
Guides agents to use native ACF and WordPress hooks before writing custom field code
Acf native 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
- JavaScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 14
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Acf native
This skill helps an agent build or review ACF field behaviour and the post save flow by first finding the native mechanism for each need. It covers validation before publish, required and length settings, conditional hiding, dynamic choices and code that runs after save.
The workflow starts by checking whether ACF is installed, since some projects run without it and then rely on register_post_meta, REST pre-insert and wp_insert_post_data instead. The agent then names the need, looks up the matching hook or setting in a reference table, and verifies the behaviour in the installed ACF and WordPress source before writing code. Custom code is allowed only for a real gap, with the reason recorded in a comment. A bundled Node script audits the changes, and the skill lists common failure modes such as drafts skipping validation.
It expects a WordPress project with WP-CLI available through a runner command, and a Node.js environment to run the audit script. Related skills cover scaffolding ACF Composer classes and escaping output.
When your agent uses it
Use when building or reviewing ACF field behaviour or the post save flow - validate before publish, required/maxlength settings, hiding a field (conditional_logic), dynamic choices, running code after save - acf/validate_value, acf/load_field, acf/prepare_field, acf/save_post, acf.getField, wp_insert_post_data, save_post - including projects where ACF may not be installed (Radicle). Maps each need to the native mechanism verified in local source. For ACF Composer scaffolding use acorn-scaffolding; for escaping ACF output use wp-security-escaping.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 7 files (31 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/acf-native:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/acf-native &&
cp -R "$tmp/plugins/kivo-wise/skills/acf-native" ~/.claude/skills/acf-native &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/acf-native inside it instead.
Copy the skill folder to ~/.agents/skills/acf-native 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/acf-native &&
cp -R "$tmp/plugins/kivo-wise/skills/acf-native" ~/.agents/skills/acf-native &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/acf-native inside it instead.
Copy the skill folder to ~/.cursor/skills/acf-native 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/acf-native &&
cp -R "$tmp/plugins/kivo-wise/skills/acf-native" ~/.cursor/skills/acf-native &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/acf-native 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/acf-nativeOr copy the folder to ~/.gemini/skills/acf-native yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/acf-native:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/acf-native &&
cp -R "$tmp/plugins/kivo-wise/skills/acf-native" ~/.copilot/skills/acf-native &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/acf-native inside it instead.
Get the folder:
git clone --depth 1 https://github.com/hekivo/kivo-wise.gitThen copy kivo-wise/plugins/kivo-wise/skills/acf-native into your agent's skills folder as acf-native. Agents that support SKILL.md read one folder per skill.
What it does
- Native-first mechanism lookup
- A table maps common field and save needs to the ACF setting or WordPress hook that already handles them.
- ACF presence detection
- Checks lock files, plugin folders and site versions to decide whether ACF hooks can be used at all.
- Source verification steps
- Directs the agent to confirm hook behaviour in the installed ACF and WordPress core files before coding.
- Block editor save flow
- Explains the order of REST and meta-box requests and which hook runs at each point.
- Audit script
- Runs a bundled script that reports findings for custom code that duplicates ACF behaviour.
- Failure mode guide
- Lists common symptoms such as skipped draft validation and stale values, with their causes and fixes.
Good for
- Block publishing when an external ID is already in use
- Hide a field depending on the user role or post state
- Populate a select field's choices from database data
- Run code after ACF saves its values to post meta
- Add validation for quick edit or REST saves on a site without ACF
Acf native FAQ
What does the skill do when ACF is not installed?
It solves the need with native WordPress APIs such as register_post_meta, rest_pre_insert_{post_type} and wp_insert_post_data, and recommends adding ACF only if the user asks for an admin field UI.
Does validation run when saving a draft?
No. ACF's block editor validation runs only when the target status is publish or future, so drafts skip it.
Which ACF hook should I use to validate a field value?
The skill points to acf/validate_value with a key-based filter, returning true or an error message.
How do I install Acf native in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/acf-native to use it in all your projects, or to .claude/skills/acf-native 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 Acf native run scripts?
Yes. It runs JavaScript scripts. No network calls were found in its 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 Acf native?
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 Acf native?
The closest alternatives to Acf native are Wp hooks lifecycle, Acorn scaffolding, Acorn stack, Wp security escaping and Acorn background.
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

