Logo Wp Acf And Content Modeling

Wp Acf And Content Modeling

Cộng đồng
jorgerosal
wp-acf-and-content-modeling

WordPress ACF and content modeling review. Use when reviewing Advanced Custom Fields usage, field group architecture, CPT and taxonomy design, options pages, repeaters, flexible content, block-bound field groups, meta storage patterns, or when user mentions "ACF", "field groups", "flexible content", "repeater", "custom post type design", "taxonomy design", "content model", "relationship fields", "ACF JSON", "options page", or "meta query performance". Detects schema drift, weak content modeling, brittle field naming, and performance issues in meta-heavy WordPress builds.

Tổng quan

Nhà phát hànhjorgerosal
Kho mãwordpress-skills
Tên kỹ năngwp-acf-and-content-modeling
Sao
113
Bản fork
13
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jorgerosal công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Wp Acf And Content Modeling trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jorgerosal/wordpress-skills/tree/main/claude-skills/wp-acf-and-content-modeling
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jorgerosal/wordpress-skills.git /tmp/wordpress-skills
mkdir -p .claude/skills
cp -r /tmp/wordpress-skills/claude-skills/wp-acf-and-content-modeling .claude/skills/wp-acf-and-content-modeling
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Wp Acf And Content Modeling trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Wp Acf And Content Modeling ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Wp Acf And Content Modeling với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

WordPress ACF and Content Modeling Skill

Overview

Systematic review skill for WordPress projects that rely on Advanced Custom Fields and custom content architecture. Core principle: a healthy WordPress content model is durable, query-aware, editor-friendly, and predictable to migrate. Review focuses on CPT and taxonomy design, field-group boundaries, naming consistency, storage strategy, ACF JSON synchronization, and the long-term cost of meta-heavy patterns. Report findings grouped by file or subsystem with severity labels (CRITICAL, WARNING, INFO), line references where possible, and concrete remediation guidance.

When to Use

Use when:

  • Auditing a plugin or theme that registers custom post types, taxonomies, or ACF field groups
  • Reviewing acf_add_local_field_group() or field group JSON exports
  • Checking whether repeaters / flexible content are the right fit for the content problem
  • Evaluating options pages, relationship fields, clone fields, or block field groups
  • Investigating slow admin screens or expensive meta_query usage in content-heavy builds
  • Planning a new content model for an editorial site, directory, landing-page builder, or headless setup
  • Reviewing ACF JSON sync, field key drift, or environment-to-environment portability

Don't use for:

  • Generic plugin architecture without meaningful ACF/content-model work (use wp-plugin-development)
  • Pure REST route design (use wp-rest-api-development)
  • Gutenberg block implementation details unrelated to field modeling (use wp-block-development)
  • Performance audits not tied to content schema or metadata access (use wp-performance-review)
  • WooCommerce domain modeling (use wp-woocommerce-dev unless the issue is truly generic ACF modeling)

Review Workflow

Follow this seven-step workflow.

  1. Identify the model boundary

    • What is the real domain: articles, locations, staff, products, events, landing pages, settings, or reusable content fragments?
    • Determine whether the model is single-site, multisite, or headless-facing.
    • Inventory CPTs, taxonomies, options pages, and field groups before evaluating implementation quality.
  2. Check core content entities first

    • Validate each CPT has a clear purpose and does not merely duplicate posts/pages without a reason.
    • Check whether taxonomies model classification and relationships better than extra text/meta fields.
    • Flag overloaded post types used as catch-alls for unrelated content.
  3. Review field-group architecture

    • Inspect location rules, naming conventions, instructions, conditional logic, defaults, and required flags.
    • Check whether field groups are split by editorial task instead of becoming giant monoliths.
    • Verify repeaters and flexible content are used intentionally, not as a substitute for missing entity design.
  4. Scan for CRITICAL patterns

    • Field names or data shapes changed without a migration path.
    • Environment-specific field keys relied on directly in code.
    • Content that should be relational or taxonomic stored as plain text blobs.
    • Massive meta_query dependence for core archive/search behavior with no mitigation.
    • Flexible-content or repeater structures used where separate entities are clearly required.
    • Options-page values treated as request-specific content without cache or invalidation awareness.
  5. Check WARNING patterns

    • Ambiguous field names (title, image, link) with no domain prefix or context.
    • Duplicate field groups or cloned definitions drifting across environments.
    • Relationship/post object fields with no return-format consistency.
    • Fields exposed to editors with weak instructions, no defaults, or unclear conditional logic.
    • ACF JSON enabled inconsistently or committed unreliably.
    • Repeater-heavy landing pages likely to become impossible to query, reuse, or migrate.
  6. Note INFO improvements

    • Taxonomies could improve filtering, SEO, or editorial consistency.
    • An options page could replace duplicated per-page settings.
    • A custom table may be justified for high-volume structured data.
    • Shared components may benefit from clone fields or a reusable block strategy.
    • Field instructions, tabs, and groups could reduce editor error rates.
  7. Report with context-aware severity

    • Enterprise/editorial site: prioritize governance, migration safety, query behavior, and authoring ergonomics.
    • Marketing/landing-page builder: prioritize maintainability and editorial constraints over abstract purity.
    • Headless site: prioritize schema stability, API exposure shape, and relationship modeling.
    • Add cross-skill notes when findings should be followed by wp-rest-api-development, wp-performance-review, or wp-block-development.

Model-Level Checks

Content Type Design (ACF-01)

CRITICAL

  • Multiple unrelated business concepts forced into one CPT with flags like type, layout, or kind doing all the work
  • A CPT exists only to simulate grouped fields that belong on an existing content type
  • Important relational content stored in serialized arrays or long text fields instead of structured entities

WARNING

  • CPT labels, supports, or archive behavior do not match editorial intent
  • Post types rely on custom fields for primary titles or slugs when core title/slug should carry that job
  • Content discoverability depends entirely on custom sorting/meta instead of taxonomy or date semantics

INFO

  • A taxonomy may be better than another boolean/select field
  • A small reusable post type may simplify repeated section content or shared landing-page fragments

Taxonomy Design (ACF-02)

CRITICAL

  • Taxonomy-worthy classification modeled as free-text fields, causing duplicate spellings and broken filters
  • Relationship semantics forced into repeated text/select fields instead of terms or relationship fields

WARNING

  • Taxonomies are too broad, mixing audience, topic, location, and workflow state in one structure
  • A hierarchical taxonomy is used where flat tagging would be simpler, or vice versa
  • Term metadata is added for core entity content that likely deserves its own entity instead

INFO

  • Taxonomies can often replace fragile editor-entered labels and improve queryability

Field Naming and Schema Stability (ACF-03)

CRITICAL

  • Code depends on field keys like field_123abc instead of stable field names when not required
  • Field names renamed with no migration or backward-compatibility handling
  • Two unrelated fields share nearly identical names across contexts, leading to template confusion

WARNING

  • Names are too generic (title, cta, copy, image) and lose meaning outside one template
  • Prefixing is inconsistent across domains (hero_, event_, team_ mixed unpredictably)
  • Return formats vary silently between field groups for the same conceptual field

INFO

  • Prefix related fields by domain or component to improve grepability and future migrations

Repeater and Flexible Content Usage (ACF-04)

CRITICAL

  • Flexible content is used as a full site-builder without governance, creating untestable content permutations
  • Repeaters hold data that needs independent URLs, reuse, ownership, or filtering
  • Huge nested repeaters are queried or transformed as if they were relational tables

WARNING

  • Repeater rows have no min/max limits or editor guidance
  • Flexible content layouts overlap heavily and indicate missing design-system discipline
  • Deep nesting makes migrations, previews, and template maintenance brittle

INFO

  • Consider dedicated entities, synced patterns, or block-based composition for reusable structures

Relationship Fields and Return Formats (ACF-05)

CRITICAL

  • Relationship/post-object fields used without a stable expected return format in code
  • Bidirectional relationships are assumed but never maintained consistently

WARNING

  • Templates call get_field() repeatedly inside loops when values could be normalized once
  • Relationship field queries are not constrained, making editorial selection noisy and error-prone
  • IDs vs objects vs arrays are mixed casually across code paths

INFO

  • Normalize field access through view-model helpers or DTO-like mappers when templates become repetitive

Options Pages and Global Settings (ACF-06)

CRITICAL

  • Frequently changing request-level content is stored globally and expected to vary per page/user/context
  • Critical runtime configuration is edited through ACF options with no validation or deployment discipline

WARNING

  • Sitewide content is duplicated across pages instead of centralized in options/global entities
  • Options pages mix marketing copy, integration secrets, and editorial settings in one screen
  • Code assumes options always exist and never handles empty defaults

INFO

  • Split options pages by responsibility and add defaults/instructions for resilience

ACF JSON and Environment Sync (ACF-07)

CRITICAL

  • Field-group changes exist only in the database with no committed JSON or export path
  • Team workflow routinely overwrites field definitions because sync direction is unclear

WARNING

  • acf-json is committed inconsistently or partially
  • Field groups are edited in production without a promotion path
  • Local JSON path configuration differs between environments without documentation

INFO

  • Keep acf-json under version control and treat DB-only edits as temporary until exported

Meta Query and Storage Performance (ACF-08)

CRITICAL

  • Primary archive/search behavior depends on multiple unindexed meta_query clauses at scale
  • Repeater/flexible content values are mined through LIKE queries for business-critical views
  • Numeric/date filtering uses string comparison semantics or inconsistent storage formats

WARNING

  • Content modeling encourages many joins against postmeta for every request
  • Derived/aggregated values are recalculated from nested ACF data on each page load
  • Query behavior assumes ACF fields are cheap just because the admin UI is convenient

INFO

  • Promote high-volume query keys into taxonomies, dedicated lookup tables, or precomputed indexes when needed

Review Heuristics

Good ACF signs

  • Field groups align with clear editorial tasks or components
  • CPTs and taxonomies reflect real business entities
  • Names are stable, descriptive, and domain-prefixed
  • ACF JSON is committed and environment sync is intentional
  • Relationship fields and return formats are normalized in code
  • Meta usage supports the scale and query patterns of the site

Common anti-patterns

  • “Everything is a page with flexible content forever”
  • “Everything is post meta even when it should be taxonomy or a dedicated entity”
  • “Editors can build anything” without constraints or safe defaults
  • “We query repeater internals directly”
  • “We changed field names and hoped templates would keep working”

Output Format

Use this structure:

text
# ACF / Content Modeling Review

## Summary
- Scope: plugin/theme/app reviewed
- Modeling maturity: strong / mixed / fragile
- Primary risks: 2-5 bullets

## Critical Findings
- [ACF-XX] Title — file:line or subsystem
  Why it matters
  Recommended fix

## Warning Findings
- [ACF-XX] Title — file:line or subsystem
  Why it matters
  Recommended fix

## Info / Improvement Opportunities
- [ACF-XX] Title — file:line or subsystem
  Suggested improvement

## Modeling Notes
- Entity design observations
- Taxonomy vs meta observations
- Query/storage implications

## Cross-Skill Follow-Up
- Run `/wp-perf-review` if query behavior is the main risk
- Run `/wp-rest-review` if schema exposure or API contracts need review
- Run `/wp-block-review` if field groups power custom blocks heavily

Reference Files

Load these only as needed:

  • references/content-modeling-guide.md
  • references/acf-json-and-field-group-guide.md
  • references/meta-query-and-performance.md

Final Reminder

This skill should not reward ACF usage merely because it works in the admin. Prefer models that stay understandable after the site doubles in content, editors, and integrations.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Wp Acf And Content Modeling làm được gì?

WordPress ACF and content modeling review. Use when reviewing Advanced Custom Fields usage, field group architecture, CPT and taxonomy design, options pages, repeaters, flexible content, block-bound field groups, meta storage patterns, or when user mentions "ACF", "field groups", "flexible content", "repeater", "custom post type design", "taxonomy design", "content model", "relationship fields", "ACF JSON", "options page", or "meta query performance". Detects schema drift, weak content modeling, brittle field naming, and performance issues in meta-heavy WordPress builds.

Vì sao nên dùng Wp Acf And Content Modeling trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Wp Acf And Content Modeling là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Wp Acf And Content Modeling trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jorgerosal/wordpress-skills/tree/main/claude-skills/wp-acf-and-content-modeling. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Wp Acf And Content Modeling?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Wp Acf And Content Modeling với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Wp Acf And Content Modeling với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Wp Acf And Content Modeling có miễn phí không?

Có. Kỹ năng này được jorgerosal phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇