Skip to content

Conversation

@chmod777john
Copy link

Summary

  • Update directory path patterns to match the official Agent Skills specification
  • Replace `reference/` with `references/` (plural, as per spec)
  • Remove `examples/` and `templates/` (not in spec)
  • Add `assets/` (defined in spec)

Background

The Agent Skills specification at https://agentskills.io/specification#optional-directories defines three optional directories:

  • scripts/ - Contains executable code
  • references/ - Contains additional documentation
  • assets/ - Contains static resources (templates, images, data files)

The previous code used non-standard directory names:

  • `reference/` (singular) instead of `references/` (plural)
  • `examples/` and `templates/` (not defined in specification)
  • Missing `assets/` (defined in specification)

This caused path conversion to fail for skills following the official specification.

Test plan

  • All existing tests pass

Update directory path patterns to match the official Agent Skills
specification at https://agentskills.io/specification#optional-directories

Changes:
- Replace `reference/` with `references/` (plural, as per spec)
- Remove `examples/` and `templates/` (not in spec)
- Add `assets/` (defined in spec)

The specification defines these optional directories:
- scripts/ - Executable code
- references/ - Additional documentation
- assets/ - Static resources (templates, images, data files)

This ensures the skill loader correctly processes paths that follow
the official Agent Skills format.
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