wp-cli-patterns SKILL.md skillA
wp-cli-patterns from yojahny55/claude-wp-builder is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add yojahny55/claude-wp-builder/wp-cli-patterns@git:20261029.e39bf72Pins git:20261029.e39bf72 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- yojahny55/claude-wp-builder
- Path
skills/wp-cli-patterns/SKILL.md- Versions recorded
- 19
- Latest version
- git:20261029.e39bf72, committed Oct 29, 2026
- First version recorded
- Mar 16, 2026
- Size
- 19,495 bytes
- Repository stars
- 6
- License
- MIT
WP-CLI-first rules for seeding and diagnosing a WordPress site — run WP-CLI instead of generating PHP, the $WP wrapper from .wp-create.json, re-runnable seed scripts in inc/seed/ with ownership markers, ACF field seeding, matching records by slug, always setting post_author, guarding a clone against outbound mail, and shipped scripts that find leftover dev-host rows, orphaned ACF post IDs, broken menu links, missing media files, redeclared functions and internal link targets. Use when seeding…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# WP-CLI Patterns — Best Practices for All Agents This skill teaches the **WP-CLI-first principle**: use WP-CLI commands instead of generating PHP code whenever possible. WP-CLI saves tokens, reduces errors, and executes faster than writing throwaway PHP files. ## Reference files - [references/seeding-recipes.md](references/seeding-recipes.md) — the flags worth knowing, ACF and bilingual seeding commands, and the page, menu, media, URL-rewrite, verification and cleanup recipes. Read when writing a seed run. - [references/shipped-scripts.md](references/shipped-scripts.md) — what each shipped script measures, why it is shaped that way and how to read its output. Read before acting on a script's findings or writing a sweep that overlaps one. --- ## Core Rule: WP-CLI Over PHP Generation **Always prefer a single WP-CLI command over generating PHP code.** ``` # BAD (costs tokens): Generate PHP file with update_option() # GOOD (1 line): $WP option update my_option 'value' # BAD: Generate PHP with wp_insert_post() # GOOD: $WP post create --post_type=page --post_title='About' --post_status=publish --post_author=$AUTHOR # BAD: Generate PHP with wp_create_nav_menu() …
Read the whole file at its exact version.
How to install
mdr add yojahny55/claude-wp-builder/wp-cli-patterns@sha256:cfe49379fd558f52The line at the top of this page pins the label git:20261029.e39bf72, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_q2o663dfvi5clvbo)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 19 versions of this file, between Mar 16, 2026 and Oct 29, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261029.e39bf72 latest | 2026-10-29 | e39bf72 | 19,495 B | A | view · diff |
| git:20261013.e18eaab | 2026-10-13 | e18eaab | 18,343 B | A | view · diff |
| git:20261006.3d44a76 | 2026-10-06 | 3d44a76 | 17,584 B | A | view · diff |
| git:20261006.569d078 | 2026-10-06 | 569d078 | 16,942 B | A | view · diff |
| git:20261006.1407f24 | 2026-10-06 | 1407f24 | 17,562 B | A | view · diff |
| git:20261006.ab8c379 | 2026-10-06 | ab8c379 | 16,920 B | A | view · diff |
| git:20261006.2c6b624 | 2026-10-06 | 2c6b624 | 15,873 B | A | view · diff |
| git:20261002.275e880 | 2026-10-02 | 275e880 | 24,187 B | A | view · diff |
| git:20260924.1ff4c37 | 2026-09-24 | 1ff4c37 | 22,963 B | A | view · diff |
| git:20260924.6315299 | 2026-09-24 | 6315299 | 22,799 B | A | view · diff |
| git:20260924.afb874b | 2026-09-24 | afb874b | 21,430 B | A | view · diff |
| git:20260923.2c23909 | 2026-09-23 | 2c23909 | 20,527 B | A | view · diff |
| git:20260923.462fd3e | 2026-09-23 | 462fd3e | 21,168 B | A | view · diff |
| git:20260923.3ed538c | 2026-09-23 | 3ed538c | 19,114 B | A | view · diff |
| git:20260919.bb62bb9 | 2026-09-19 | bb62bb9 | 18,247 B | A | view · diff |
| git:20260918.111c9b0 | 2026-09-18 | 111c9b0 | 14,265 B | A | view · diff |
| git:20260917.7a8dbe1 | 2026-09-17 | 7a8dbe1 | 13,027 B | A | view · diff |
| git:20260902.b69fc03 | 2026-09-02 | b69fc03 | 10,875 B | A | view · diff |
| git:20260316.3290621 | 2026-03-16 | 3290621 | 9,587 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (19495 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
yojahny55/claude-wp-builder · 6 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_q2o663dfvi5clvbo GET https://markdownregistry.com/api/v1/resolve?ref=yojahny55/claude-wp-builder/wp-cli-patterns GET https://markdownregistry.com/api/v1/blob/cfe49379fd558f52b86b8cd55fa8cfb56f54c7830633a9cfbb93186b5a266d14
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.