Skip to content

Update skill-development SKILL.md with complete frontmatter reference#37648

Open
topspinj wants to merge 1 commit intoanthropics:mainfrom
topspinj:update-skill-dev-frontmatter-docs
Open

Update skill-development SKILL.md with complete frontmatter reference#37648
topspinj wants to merge 1 commit intoanthropics:mainfrom
topspinj:update-skill-dev-frontmatter-docs

Conversation

@topspinj
Copy link
Copy Markdown

@topspinj topspinj commented Mar 23, 2026

Summary

Update the skill-development SKILL.md to reflect the latest frontmatter args as documented at https://code.claude.com/docs/en/skills.

  • Add complete frontmatter reference table covering all 11 fields (name, description, argument-hint, disable-model-invocation, user-invocable, allowed-tools, model, effort, context, agent, hooks)
  • Fix name and description being incorrectly marked as required (they're optional)
  • Remove version from example frontmatter (not a valid field)
  • Update validation checklist and testing checklist for accuracy

Test plan

  • Verify the frontmatter reference table renders correctly in markdown
  • Confirm all 11 fields match the latest Claude Code skill spec

🤖 Generated with Claude Code

The frontmatter docs were outdated: name and description were marked as
required (they're optional), version was shown in examples (not a real
field), and many fields were missing. Add a complete reference table
covering all 11 frontmatter fields and fix accuracy throughout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@trev-gulls trev-gulls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @topspinj, thanks for working on this update. I have run into similar issues with the skill-dev skill not pulling in an up-to-date metadata schema. I don't think I'm authorized to approve PRs in this repo, otherwise I would. I left one comment about future-proofing this skill against further schema changes.

Comment on lines +46 to +48
All frontmatter fields are optional. Only `description` is recommended so Claude knows when to use the skill.

| Field | Required | Description |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should a link to https://code.claude.com/docs/en/skills#frontmatter-reference be included in case the docs are updated again?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. I'm leaning toward leaving it out - the docs URL could change over time and become stale.

I'm not too opinionated on this though - I'll let the Anthropic team decide.

@dhollman would you be able to review this documentation update?

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