agentsclimarketplace

Setup

Skill phucbm/skills/skills/wordpress/wp-acf-blocks/skills/setup

Claude Plugin - Personal knowledge base for Claude Code — patterns and integrations across projects

Install
npx -y skills add phucbm/skills --skill setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Set up a new WordPress theme with the wp-acf-blocks block development workflow

SKILL.md

4.1 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

Read @/knowledge/acf-blocks/conventions.md before proceeding.

Step 1 — Collect project info

Ask for all answers before proceeding:

  • Theme name — human-readable, e.g. My Client Site
  • Theme slug / Text Domain — kebab-case, e.g. my-client-site
  • Author — developer or agency name
  • WordPress path — absolute path to the WordPress installation root (needed to copy mu-plugins)

Step 2 — Confirm optional features

Default yes for all:

  • Tailwind v4 — CSS build pipeline with per-developer CSS support
  • TypeScript + tsup — JS bundler for entry files and block scripts

Step 3 — Check for existing files

If a file already exists, ask whether to overwrite or skip. Never silently overwrite.

Step 4 — Copy and configure boilerplate

Copy the entire boilerplate/theme/ directory to themes/{slug}/:

cp -r "$(claude plugin path wp-acf-blocks)/boilerplate/theme" themes/{slug}

Then replace all placeholders throughout the copied files:

PlaceholderReplace with
{THEME_NAME}Human-readable theme name
{TEXT_DOMAIN}Theme slug (kebab-case)
{AUTHOR}Author name

Files containing placeholders: style.css, functions.php, package.json.

The scaffolded structure:

themes/{slug}/
├── style.css
├── index.php
├── functions.php           THEME_NAME constant, DEV_CSS_MAP stub, requires
├── blocks.json             { "blocks": [] }
├── inc/
│   ├── enqueue-assets.php
│   └── auto-include-components.php
├── helpers/
│   └── ui/
│       └── get-block-wrapper-attributes.php
├── blocks/
├── scripts/
│   └── tailwind.js
├── assets/
│   ├── js/
│   │   └── index.entry.ts
│   └── css/
│       └── index.css
├── acf-json/               empty dir tracked via .gitkeep; populated by ACF when saving field groups
├── tsup.config.ts
├── tsconfig.json
├── .gitignore
└── package.json

Step 5 — Install mu-plugins

Copy all three mu-plugins to the WordPress mu-plugins directory:

cp "$(claude plugin path wp-acf-blocks)/boilerplate/mu-plugins/wp-blocks-loader.php" {WP_PATH}/wp-content/mu-plugins/
cp "$(claude plugin path wp-acf-blocks)/boilerplate/mu-plugins/acf-local-json-router.php" {WP_PATH}/wp-content/mu-plugins/
cp "$(claude plugin path wp-acf-blocks)/boilerplate/mu-plugins/tailwind-theme-loader.php" {WP_PATH}/wp-content/mu-plugins/

What each does:

  • wp-blocks-loader.php — reads blocks.json, registers each block via register_block_type(), adds a project block category in the Gutenberg inserter (label from THEME_NAME constant), fixes WP 6.3+ defer strategy so viewScript files load in footer
  • acf-local-json-router.php — routes ACF field group saves to blocks/{slug}/fields.json (per-block) or acf-json/ (all other groups); required for the per-block fields.json workflow
  • tailwind-theme-loader.php — enqueues Tailwind-built CSS on frontend and inside Gutenberg editor iframe; supports per-developer CSS files via DEV_CSS_MAP

Step 6 — If Tailwind selected

The boilerplate .gitignore already excludes .env.local and generated CSS files. For per-developer CSS, instruct each developer to create .env.local in the theme root:

TAILWIND_USER=theirlogin

Then map WP user IDs in functions.php:

define('DEV_CSS_MAP', [
    1 => 'alice',
    2 => 'bob',
]);

Step 7 — Install dependencies and build

cd themes/{slug}
pnpm install
pnpm build

Step 8 — Confirm completion

Print a summary of what was created and what was skipped. Next steps:

  • Activate the theme in WordPress admin
  • Confirm ACF plugin is active (required for block field groups)
  • Use /wp-acf-blocks:plan-block to plan a block and create a GitHub issue
  • Use /wp-acf-blocks:add-block to scaffold the first block

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most project setup skills give in ~1.0k tokens

Counted across 999 of the 1,637 authors here whose files we hold, read 2026-08-07

  • Ask one question at a timein 29 of 999, across 28 files
  • Detect the package manager from lockfilesin 28 of 999, across 9 files
  • Present findings to the userin 26 of 999, across 5 files
  • Explore current repo statein 24 of 999, across 3 files
  • Update the agent skills block in place if it existsin 24 of 999, across 3 files
  • Install husky lint-staged and prettierin 23 of 999, across 4 files
  • Create the lintstagedrc filein 22 of 999, across 3 files
  • Commit all changed filesin 22 of 999, across 3 files
  • Run lint-staged to verify it worksin 22 of 999, across 3 files
  • Create the husky pre-commit filein 21 of 999, across 2 files
  • Create a prettierrc file if missingin 21 of 999, across 2 files
  • Initialize huskyin 21 of 999, across 2 files

Said here and by no other author read

  • confirm optional features before proceeding
  • copy the boilerplate theme directory
  • copy all three mu-plugins
  • map developer WP user IDs if Tailwind is selected

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.