skills/local-json-acf/SKILL.md
Generate Advanced Custom Fields (ACF) Local JSON configurations for WordPress from visual designs or HTML structures. Use when creating ACF field groups, converting designs to ACF schemas, building WordPress custom fields from mockups, or when working with ACF Pro Local JSON format. Supports flexible content, repeaters, clone fields, and all ACF field types.
npx skillsauth add josecortezz25/local-json-acf-skill acf-local-jsonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate complete ACF (Advanced Custom Fields) Local JSON configurations from images, designs, or HTML structures for WordPress development.
text, textarea, or wysiwygimage (consider gallery for multiple)repeater or flexible_contenttrue_false or button_groupselect or radiodate_picker or date_time_pickerlink or urlcolor_pickerfilenumber or rangetab field typeflexible_content with layouts<!-- Text Field -->
<h1>, <h2>, <p> → text/textarea/wysiwyg
<!-- Image Field -->
<img> → image field
<picture>, <source> → image with return format 'array'
<!-- Repeater Pattern -->
<div class="card"> (múltiples) → repeater
<ul><li> (dinámicos) → repeater
<!-- Flexible Content Pattern -->
Secciones variadas (hero, features, cta) → flexible_content
<!-- Link Field -->
<a href=""> → link field
<!-- True/False -->
<input type="checkbox"> → true_false
Every ACF Local JSON file follows this structure:
{
"key": "group_unique_identifier",
"title": "Field Group Name",
"fields": [...],
"location": [...],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": ""
}
{
"key": "field_unique_key",
"label": "Field Label",
"name": "field_name",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
{
"key": "field_repeater_key",
"label": "Items",
"name": "items",
"type": "repeater",
"instructions": "",
"required": 0,
"layout": "block",
"button_label": "Add Item",
"min": 0,
"max": 0,
"sub_fields": [
{
"key": "field_subfield_key",
"label": "Title",
"name": "title",
"type": "text",
"parent": "field_repeater_key"
}
]
}
{
"key": "field_flexible_key",
"label": "Page Builder",
"name": "page_builder",
"type": "flexible_content",
"instructions": "",
"button_label": "Add Section",
"min": "",
"max": "",
"layouts": {
"layout_hero": {
"key": "layout_hero_key",
"name": "hero",
"label": "Hero Section",
"display": "block",
"sub_fields": [...]
},
"layout_features": {
"key": "layout_features_key",
"name": "features",
"label": "Features Section",
"display": "block",
"sub_fields": [...]
}
}
}
{
"key": "field_image_key",
"label": "Image",
"name": "image",
"type": "image",
"return_format": "array",
"preview_size": "medium",
"library": "all",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": ""
}
Group Keys: group_ + descriptive_snake_case + random_hash
group_homepage_hero_5f8a2bField Keys: field_ + descriptive_snake_case + random_hash
field_hero_title_9c3d1eLayout Keys: layout_ + layout_name + random_hash
layout_hero_section_4b7e9aUniqueness: Every key must be globally unique across all ACF installations
Common location patterns:
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "page"
}
]
]
"location": [
[
{
"param": "page_template",
"operator": "==",
"value": "template-homepage.php"
}
]
]
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
},
{
"param": "post_category",
"operator": "==",
"value": "category:news"
}
]
]
block, table, or row layouts appropriatelyGenerate the complete JSON file ready to save as:
acf-json/group_[name].json
The file should be valid JSON and immediately usable in WordPress ACF Pro's Local JSON feature.
For complex patterns like:
references/clone-fields.mdreferences/relationships.mdreferences/custom-types.mdreferences/conditional-logic.mdUser provides: Screenshot of a hero section with title, subtitle, CTA button, and background image
Analysis:
Output: Complete JSON with all fields properly structured and nested
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.