Skip to content

Add support for new Skill features introduced#1

Open
jeanduplessis wants to merge 1 commit intotripleyak:mainfrom
jeanduplessis:skill_enhancements
Open

Add support for new Skill features introduced#1
jeanduplessis wants to merge 1 commit intotripleyak:mainfrom
jeanduplessis:skill_enhancements

Conversation

@jeanduplessis
Copy link

Updates SkillForge to v4.1.0 with full support for new skill frontmatter properties and validation improvements. Refer to https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#210

Frontmatter enhancements:

  • Add model, context, agent, hooks, user-invocable to allowed properties
  • Expand frontmatter requirements table with new fields
  • Update skill template with latest Anthropic best practice guidance
  • Add hooks integration documentation and examples

Script improvements:

  • Create scripts/_constants.py for shared validation constants
  • Fix discover_skills.py version extraction from metadata.version
  • Add case-insensitive glob pattern for SKILL.md files
  • Refactor package_skill.py to use PackageResult dataclass
  • Enhance quick_validate.py with new property validation
  • Improve frontmatter parsing with folded scalar support
  • Add hooks and agent validation to validate-skill.py

Documentation additions:

  • Add Hooks Integration section to SKILL.md and script-integration-framework.md
  • Add Forked Context documentation to synthesis-protocol.md
  • Document hook types, configuration, and use cases
  • Add examples for PreToolUse, PostToolUse, and Stop hooks

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f6c5a7edba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Add support for extended skill frontmatter fields: model, context, agent,
hooks, and user-invocable. Update validation scripts to handle these
properties including hooks structure and forked context agents.

Changes:
- SKILL.md: Updated to v4.1.0 with expanded frontmatter table (10 properties)
- scripts/_constants.py: NEW - shared validation constants
- scripts/quick_validate.py: Extended property validation
- scripts/validate-skill.py: Hooks and agent validation
- scripts/discover_skills.py: Fixed version extraction from metadata.version
- references/script-integration-framework.md: Added Hooks Integration section
- references/synthesis-protocol.md: Added Forked Context documentation
- assets/templates/skill-md-template.md: Updated with modern best practices
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