docs(plugin): trim wt-switch-create skill frontmatter to recognized keys#2745
Merged
Conversation
`license` and `compatibility` aren't recognized Claude Code skill frontmatter keys — Claude Code ignores them. They were copied over from `skills/worktrunk/SKILL.md`, which carries them for the agent-skills discovery feed; a plugin-bundled command skill needs neither. Frontmatter is now just `name`, `description`, `argument-hint`. Follow-up to #2737. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
worktrunk-bot
approved these changes
May 12, 2026
max-sixty
added a commit
that referenced
this pull request
May 12, 2026
…2747) Tidies the plugin skills' YAML frontmatter against the [Agent Skills](https://agentskills.io/specification) spec, and cleans up a release-skill step the change makes stale. - `skills/worktrunk/SKILL.md`: drop the top-level `version: 0.49.0` key. The spec only defines `name`, `description`, `license`, `compatibility`, `metadata`, `allowed-tools` at the top level (version, if kept, belongs under `metadata`), and Claude Code's own field set doesn't include `version` either. Also drop the `[package.metadata.release].pre-release-replacements` entry in `Cargo.toml` that existed solely to bump that line on release. - `skills/wt-switch-create/SKILL.md`: add `license` and `compatibility` so both plugin skills carry the same spec-valid metadata. - `.claude/skills/release/SKILL.md`: step 7 no longer applies `pre-release-replacements`, and `index.json`'s `SKILL.md` digest no longer goes stale on release (`cargo release` doesn't touch `SKILL.md` anymore) — drop the parenthetical and the now-no-op digest-resync sub-step. - Both `compatibility` lines now say "the `wt` CLI" rather than "worktrunk CLI". - `docs/static/.well-known/agent-skills/index.json` digest regenerated by `test_docs_are_in_sync`. Follow-up to #2737 / #2745. No `.rs` changes. --------- Co-authored-by: Claude Opus 4.7 (1M context) <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.
licenseandcompatibilityaren't recognized Claude Code skill frontmatter keys — Claude Code ignores them. They were copied over fromskills/worktrunk/SKILL.md, which carries them for the agent-skills discovery feed; a plugin-bundled command skill needs neither. Frontmatter is now justname,description,argument-hint.Follow-up to #2737.