Skip to content

fix(skills): Show only name, description and location in skill listing - #223

Merged
gadenbuie merged 1 commit into
mainfrom
fix/skills-listing
Sep 29, 2026
Merged

gadenbuie merged 1 commit into
mainfrom
fix/skills-listing

Conversation

@gadenbuie

Copy link
Copy Markdown
Collaborator

Follows #222

Summary

PR #222 replaced the verbose XML skill blocks with compact YAML entries, but the entries still carried compatibility and allowed-tools fields beyond the intended name, description, and location. This PR drops those extra fields (they're still validated and stored, just no longer shown in the listing) and renders multi-line descriptions as YAML literal block scalars so each entry stays together:

- skill-name: |
    Line one.
    Line two.
  location: /path/to/skill

Blank lines within descriptions are dropped to keep the listing compact. btw_skill_prompt() docs, man page, tests, and the multiline-description test are updated to match.

Drop compatibility and allowed-tools fields from the compact YAML
skill entries, and render multi-line descriptions as YAML literal
block scalars (dropping blank lines) so each entry stays together.
@gadenbuie
gadenbuie marked this pull request as ready for review September 29, 2026 21:23
@gadenbuie
gadenbuie merged commit a471e6d into main Sep 29, 2026
16 of 17 checks passed
@gadenbuie
gadenbuie deleted the fix/skills-listing branch September 29, 2026 21:31
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