Repository navigation
docs(skill): a short skill with the wcat line, writing rules in a reference - #31
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Bring the agent skill and
--helpwithin the new WireCat skills-and-help standard (cli-basedocs/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 allfirst,wordpress posts searchas the fallback whencommand -v wcatprints nothing), typical flow, boundaries, common mistakes and "More".content.conflict,content.lossy-body,content.schedule-past, …) moved toreferences/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 --helpgets seven "What you can do" lines (firstScreen.can).Sources of the "Common mistakes" bullets:
wpvswordpress: the previous skill's warning (WP-CLI shares the name space).commands/api --helpwhole and invented flags: chore(release): 0.1.1 #3 and chore(release): 0.1.2 #5 (186 wcat sessions).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:api16,652 B / 156 lines (flat generated group).references/api.md2,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