Skip to content

docs(plugin): trim wt-switch-create skill frontmatter to recognized keys#2745

Merged
max-sixty merged 1 commit into
mainfrom
wt-switch-create-frontmatter
May 12, 2026
Merged

docs(plugin): trim wt-switch-create skill frontmatter to recognized keys#2745
max-sixty merged 1 commit into
mainfrom
wt-switch-create-frontmatter

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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.

`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>
@max-sixty max-sixty merged commit 6b78daa into main May 12, 2026
34 checks passed
@max-sixty max-sixty deleted the wt-switch-create-frontmatter branch May 12, 2026 16:10
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>
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.

2 participants