All guides
No guide matches your search.
Content modeling and ACF
Choose between post types, taxonomies and fields, and find why ACF values are missing, wrong, slow or out of sync.
On this page
When to use it
Use this skill to design, debug or review WordPress content models and Advanced Custom Fields (ACF). Typical questions:
- Should this be a custom post type, a taxonomy or a field?
- Why do field groups differ between environments (Local JSON, PHP or database)?
- Why is a value missing or unformatted?
- Are ACF validation and REST exposure correct?
- Why is a
meta_queryslow, and how do you rename a field or backfill data safely?
Related skills
Some problems belong to a neighbor skill.
- Block structure and the Interactivity API:
wp-devkit-block-development - WPGraphQL schema and caching:
wp-devkit-headless-and-wpgraphql - REST route design and permissions:
wp-devkit-rest-api-development - Deploying schema changes:
wp-devkit-ci-cd-and-release-engineering - Broad data upgrade strategy:
wp-devkit-migration-upgrade-review - XSS or authorization defects with a reachable path:
wp-devkit-security-review - Slowness measured across the whole site:
wp-devkit-performance-review
Run a review with Claude
With the plugin loaded, start a read-only review of a bounded target:
/wp-devkit:acf-review <target-path>The short form /wp-devkit:acf requests a quick scan.
Run a review with Codex, ChatGPT or Antigravity
Name the installed skill and keep the request small. Replace the target with your files or journey.
$wp-devkit-acf-and-content-modeling
Review the target without editing files.
Read the project instructions and the skill's engineering contract first.
Separate confirmed findings from candidates and state the evidence and checks you could not run.The engineering contract is the set of rules every DevKit skill follows, such as staying read-only during a review and sorting findings by how well they are proven.
Reference files the skill loads
The skill reads only the files that match your question.
content-modeling-decisions.mdhelps you choose between a post type, taxonomy or field, and covers registration arguments.schema-authority-and-sync.mdcovers Local JSON, PHP and database definitions, sync and drift between environments.values-validation-and-output.mdcovers reading and writing values, validation, REST exposure, escaping and ACF Blocks.meta-queries-and-field-migrations.mdcovers the cost of meta queries, field renames and backfills.
How a review runs
- The skill names the entities, how long they live and who consumes them. It checks your modeling choice against the decision table before it judges field types.
- It finds where the schema is defined (database, Local JSON or PHP) and checks duplicates, load paths and whether keys and names stay stable. It never concludes from one file.
- It traces each value from storage through formatting to the place where it is output. It checks the return format, reference meta, escaping at output and exposure through REST or GraphQL.
- It checks that every write path enforces the same rules: the admin screen,
acf_form, REST, imports, WP-CLI andupdate_fieldcalls. - For queries, it counts the records involved, inspects key, type and format, and measures or runs EXPLAIN before it calls a query slow.
- For a model change, it maps old to new and lists the consumers. It also defines the backfill, the period of reading both old and new data, the verification and the rollback. A review does not run any of these.
A finding needs a reachable path and an impact. A different modeling opinion with no shown cost is INFO. If there is no data volume or no access to the production schema, the skill says so and explains how to get that evidence.
What you get back
A review starts with the result and the scope. Each confirmed finding lists severity, file and line, who triggers it, the reachable path, the impact, the confidence, the smallest fix and a regression check. Candidates and missing evidence go in a separate list. Modeling advice states the decision, the reason, the affected consumers and any migration needed.
An implementation report lists the changed boundaries, which schema source was edited, the migration steps with dry-run output, the commands with exit status, the checks not run, the remaining risk and the rollback.
Note
Reviews are read-only. A clean review covers the inspected scope and is not a certification. Ask for implementation as a separate, bounded task with a regression check.
Where to go next
Use review to fix for a bounded implementation and Doctor and reports for environment and evidence tools.
Was this page helpful?