docs: clarify that When to Use section is required for skills#11
Open
raphaelsamy-quantumlends wants to merge 1 commit intoobra:mainfrom
Open
docs: clarify that When to Use section is required for skills#11raphaelsamy-quantumlends wants to merge 1 commit intoobra:mainfrom
raphaelsamy-quantumlends wants to merge 1 commit intoobra:mainfrom
Conversation
The skill template in plugin-structure.md showed the ## When to Use section but didn't explain why it matters. Without explicit guidance, skill authors may include the description frontmatter but skip the body section, degrading skill discovery and activation. Added explanation of the two-layer discovery mechanism (description for filtering, When to Use for confirmation) and marked both as required. Co-Authored-By: Claude Opus 4.6 (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.
Summary
plugin-structure.mdshowed the## When to Usesection but didn't explain why it matters or that it's requireddescriptionfrontmatter but skip the body section, which degrades skill discovery and activationdescriptionfor filtering,When to Usefor confirmationContext
Ran into this firsthand — created a skill using this plugin's guidance, included a good
descriptionfrontmatter, but omitted the## When to Usebody section because nothing indicated it was required. The skill loaded but didn't activate reliably until the body section was added.Test plan
plugin-structure.mdis clear🤖 Generated with Claude Code