wordpress-scaffold

wordpress-scaffold is a skill for Claude Code from pluginslab/wp-agentic-kit. It costs 109 tokens per session (1,104 once invoked), scanned A, original, MIT.

A guided process for creating a new WordPress plugin from scratch. WordPress is software for building websites, and a plugin adds custom features to it.

In plain words
What is it for?
Starting a brand-new plugin with an optional settings page, web API, editor blocks, or editor extensions.
Why use it?
It gathers the plugin’s identity and technical rules before generating files, helping avoid inconsistent names, unsafe code choices, and starting with the wrong workflow for an existing plugin.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Starting a brand-new plugin with an optional settings page, web API, editor blocks, or editor extensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pluginslab/wp-agentic-kit/wordpress-scaffold
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pluginslab/wp-agentic-kit --skill wordpress-scaffold
Clone the repo
git clone --depth 1 https://github.com/pluginslab/wp-agentic-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wordpress-scaffold

README.md
[![agentmods](https://agentmods.dev/badge/skills/pluginslab/wp-agentic-kit/wordpress-scaffold/github.svg)](https://agentmods.dev/skills/pluginslab/wp-agentic-kit/wordpress-scaffold)
Your own site
<a href="https://agentmods.dev/skills/pluginslab/wp-agentic-kit/wordpress-scaffold"><img src="https://agentmods.dev/badge/skills/pluginslab/wp-agentic-kit/wordpress-scaffold/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wordpress-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/skills/pluginslab/wp-agentic-kit/wordpress-scaffold"><img src="https://agentmods.dev/badge/skills/pluginslab/wp-agentic-kit/wordpress-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.01104
Opus 5.5 $0.00044 $0.00442
Sonnet 5.5 $0.00022 $0.00221
Haiku 4.5 $0.00011 $0.00110

Measured 2mo ago against content hash 6088aaed5ec2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wordpress-scaffold scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/wordpress-scaffold/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WordPress Scaffold

Scaffolds a brand-new WordPress plugin through a short interview. Greenfield only — if a *.php file with a Plugin Name: header already exists in the working directory, stop and use the wordpress-feature skill.

Phases

  1. Identity. Ask one question at a time, don't continue without a clear answer:

    • Plugin name (e.g. "Order Tracker")
    • One-sentence description
    • Vendor prefix (optional, e.g. acme)
    • Slug — derive acme-order-tracker or order-tracker; confirm
    • PHP namespace — PascalCase from slug, e.g. AcmeOrderTracker; confirm

    Show the full identifier set before generating: slug, text domain (= slug), namespace, constant prefix, function prefix, options key.

  2. Constitution. Write .claude/plans/constitution.md from the template in @.claude/references/PLANNING.md. The file has two binding levels:

    • Default sections (loose) — @wordpress/* packages, Composer deps, deploy lane, quality gates. Accept the template defaults unless the user wants different.
    • Allowed sections (strict, security-relevant) — sanitize functions, escape functions, capability constants, forbidden constructs. Match @.claude/references/SECURITY.md exactly.

    Confirm both before writing. The distinction is the point: treat everything as strict and the agent asks permission for trivia; treat nothing as strict and the plugin is one missing escape from disclosure.

  3. Feature selection. Ask one at a time: Settings page? REST API? Gutenberg blocks (@.claude/references/BLOCKS.md)? Editor extensions?

  4. Spec + plan. Create .claude/plans/features/000-initial-scaffold/ and write spec.md + plan.md describing the initial scaffold. This becomes the project's first plan artifact.

  5. Generate. Standard plugin layout: {slug}.php (bootstrap with header, *_VERSION/*_PATH/*_URL/*_FILE constants, single get_instance() class, top-level activation/deactivation hooks), includes/class-utils.php, includes/class-settings.php (if selected), includes/api/class-rest.php + class-rest-example.php (if selected), src/blocks/test-block/ (if selected), src/extensions/ (if selected), languages/, package.json (if blocks/extensions), composer.json, phpcs.xml.dist, readme.txt, uninstall.php, .gitignore. Every PHP file MUST start with the ABSPATH guard.

Read the full file on GitHub · 55 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed 6088aaed5ec2
  2. 3mo ago First seen · 55 lines · 109 tokens per session scan A 891ce982305d

Subscribe to this mod's changes

wordpress-scaffold is a skill published in the GitHub repository pluginslab/wp-agentic-kit (20 stars, last pushed 2mo ago), licensed MIT. It adds 109 tokens to every session and 1,104 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wordpress-scaffold compared with skills from other repositories

wordpress-scaffold next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wordpress-scaffoldpluginslab/wp-agentic-kitSkill202mo agoMITA109Claude Code
wordpress-developerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA36Claude Code, Codex
repo-hygieneQwenLM/qwen-codeSkill31ktodayApache-2.0A48Claude Code, Codex
test-failure-explorerQwenLM/qwen-codeSkill31ktodayApache-2.0A32Claude Code, Codex
find-simplificationsQwenLM/qwen-codeSkill31ktodayApache-2.0C103Claude Code, Codex
build-teaql-appteaql/teaql-agent-kitSkill2.8k20d agoMITA112Codex
om-system-extensionopen-mercato/open-mercatoSkill2.0ktodayMITA73Claude Code, Codex