Skip to content

docs(skill): a short skill with the wcat line, writing rules in a reference - #31

Merged
leemour merged 2 commits into
mainfrom
docs/skills-help-guidance
Dec 2, 2026
Merged

leemour merged 2 commits into
mainfrom
docs/skills-help-guidance

Conversation

@leemour

@leemour leemour commented Dec 2, 2026

Copy link
Copy Markdown
Member

Task

Bring the agent skill and --help within the new WireCat skills-and-help standard (cli-base docs/standards/guidance.md, pending).

What

  • skills/wordpress-cli/SKILL.md: 5,655 B / 1,390 tokens → 3,489 B / ~870 tokens, in the required order with the wcat line (wcat search all first, wordpress posts search as the fallback when command -v wcat prints nothing), typical flow, boundaries, common mistakes and "More".
  • Drafts, publishing, scheduling and every write refusal (content.conflict, content.lossy-body, content.schedule-past, …) moved to references/writing.md (1,783 B, wordpress skill show writing). Every rule that stops a real mistake (publish only on the owner's word, --allow-delete, --replace-body) stays in the core's boundaries.
  • wordpress --help gets seven "What you can do" lines (firstScreen.can).

Sources of the "Common mistakes" bullets:

Checker (lead's cli-base build, warning phase)

  • help-first-screen-size: 2,804 B / 36 lines; cli-core's "Works with" block is ~1.7 KB of it.
  • help-command-size: api 16,652 B / 156 lines (flat generated group).
  • Generated references (not hand-edited): references/api.md 2,828 B; references/api/ 32 files.

Testing

pnpm typecheck, pnpm lint, pnpm test (405 passed), pnpm lint:commands, pnpm contracts:check (help snapshot updated), pnpm docs:check, pnpm test:matrix:check, pnpm smoke.

🤖 Generated with Claude Code

leemour and others added 2 commits December 2, 2026 09:07
…erence

The skill is now 3,489 B (was 5,655 B) in the order the WireCat skills-and-help
standard asks for: what the tool is, the wcat line (search with `wcat search all`
first; wordpress's own search is the fallback), the profile rule, the typical flow,
boundaries, common mistakes and a "More" index. Drafts, publishing and every write
refusal moved to references/writing.md (`wordpress skill show writing`). It no
longer points at `wordpress commands --json` or `wordpress help <command>`.

`wordpress --help` gets seven "What you can do" lines.

Rules: WC-DOC-22 (skill size), WC-CMD-22, WC-CMD-23 (help text). The WC-GUIDE rules
are pending in cli-base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 534bbd5 into main Dec 2, 2026
16 checks passed
@leemour
leemour deleted the docs/skills-help-guidance branch December 2, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant