Advanced Custom Fields REST Schema Mapper

Installation
SKILL.md

Advanced Custom Fields REST Schema Mapper

Maps ACF field groups into predictable REST responses using acf_add_local_field_group, get_field_objects, and register_rest_field. Useful when you need cleaner payloads than the default ACF exposure and want WordPress clients to consume structured field data safely.

Overview

Advanced Custom Fields REST Schema Mapper focuses on the awkward middle ground between flexible editorial schemas and stable application APIs. Many WordPress installs use ACF to model rich data, but client applications still need predictable payloads. This skill works with functions such as acf_add_local_field_group, get_field_objects, get_field, and WordPress REST hooks like register_rest_field to reshape field output into consistent objects that are easier to consume from web apps and automations.

Instead of exposing every raw ACF field exactly as stored, the skill can group related values, normalize repeater output, and hide internal fields that should not leak into public responses. That is helpful for block-based landing pages, directory listings, and any custom post type that needs to power external clients through /wp-json/wp/v2 or a custom namespace. It also improves maintainability because field behavior is documented alongside the mapping logic.

Use this skill when ACF content is already in place but the default REST output is too noisy, too unstable, or too coupled to internal field naming.

Installation

Any Agent

npx skills add agentskillexchange/skills --skill advanced-custom-fields-rest-schema-mapper
Related skills
Installs
GitHub Stars
6
First Seen