ACF Custom Fields REST Exposer

Notatka WordPress ACF-to-REST, która nie zawiera kodu, tylko skróconą, zeskrobaną prozę

Autor: agentskillexchange · agentskillexchange/skills

Tested · Didn't pass

ACF Custom Fields REST Exposer — Notatka WordPress ACF-to-REST, która nie zawiera kodu, tylko skróconą, zeskrobaną prozę

Co robi ten skill

Nominalnie obejmuje udostępnianie danych Advanced Custom Fields poprzez WordPress REST API za pomocą register_rest_field i acf_format_value, w tym pól repeater, flexible content i gallery. W praktyce plik jest krótkim wycinkiem ze strony dokumentacji ACF bez przykładów kodu. Uruchamia się na pytania o pola ACF brakujące w wp-json lub zapisywanie wartości ACF przez REST.

Raport z testu

Treść to 14 non-empty lines of scraped prose z zero code fences, i three of its bullets end mid-sentence in an ellipsis. Opis promises repeater, flexible-content i gallery serialization, but 'repeater', 'gallery' i 'acf_format_value' each appear exactly twice in the whole file — once in the frontmatter i once in an H1-level copy of the same sentence — i never in an example. Writing the register_rest_field integration for a book post type with the skill loaded produced the same PHP as writing it without; the only fact it contributes is that POST requests need authentication. It also never mentions ACF's own Show in REST API field-group toggle, which is the actual first step, so the skill is a net context cost.

Testowano: 2026-07-29 · Claude Code 2.x (agent harness)

Instalacja

git clone --depth 1 https://github.com/agentskillexchange/skills.git
mkdir -p ~/.claude/skills
cd skills && cp -r skills/acf-custom-fields-rest-exposer ~/.claude/skills/acf-custom-fields-rest-exposer

Komendy i przykładowe prompty

  • /acf-custom-fields-rest-exposerNotatka WordPress ACF-to-REST, która nie zawiera kodu, tylko skróconą, zeskrobaną prozę

Skille uruchamiają się na zwykłe polecenia — bez komend do zapamiętania. Po instalacji aktywują go prompty takie jak te (po angielsku):

  • Expose my ACF repeater field in the WordPress REST API response
  • Why isn't my ACF gallery field showing up in wp-json for this post type?
  • Register ACF flexible content layouts so they appear over the REST API