cli/internal/skills
Sam Morrow 9a368f45e9
feat(skills): support nested skills/ directories in discovery
Relax skill discovery to recognize skills/ directories at any depth
in the repository tree, not just at the root. This enables repos like
hashicorp/agent-skills that organize skills under prefixes such as
terraform/code-generation/skills/*/SKILL.md.

Changes:
- matchSkillConventions: add checks for <prefix>/skills/<name>/SKILL.md
  and <prefix>/skills/<ns>/<name>/SKILL.md at any depth
- isSkillPath: also match paths containing /skills/ for direct
  path-based install
- DiscoverSkillByPath: fix namespace detection to find the skills
  segment anywhere in the path
- Update error messages and help text to mention nested conventions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-20 21:07:15 +02:00
..
discovery feat(skills): support nested skills/ directories in discovery 2026-04-20 21:07:15 +02:00
frontmatter clean up interface and fix a few bugs 2026-04-15 15:50:53 +02:00
installer fix: enforce size cap on first preview file, surface corrupted skills, fail on path traversal 2026-04-15 16:53:27 +02:00
lockfile address review comments 2026-04-15 16:01:26 +02:00
registry Add support for installation in multiple agent hosts in gh skills install (#13209) 2026-04-18 15:22:09 -06:00
source cleanup frontmatter fields 2026-04-15 15:47:34 +02:00