Skip to content

Conversation

@quuu
Copy link
Collaborator

@quuu quuu commented Jan 20, 2026

Summary

Enable add-skill to checkout and discover skills within git submodules. This allows organizations to maintain a central hub repository that references team-owned skill repositories as submodules, enabling distributed skill ownership while maintaining centralized discovery.

Changes

  • Add --recurse-submodules and --shallow-submodules flags to git clone operations
  • Add documentation explaining submodule support
  • Existing skill discovery automatically finds skills in submodule directories

Testing

Built project successfully with npm run build. Git clone flags are valid and tested with real repositories.

Enable add-skill to checkout and discover skills within git submodules. This allows organizations to maintain a central hub repository while keeping skill ownership distributed across team-owned submodule repositories.

- Add --recurse-submodules and --shallow-submodules flags to git clone
- Update README with submodule support documentation
- Existing skill discovery automatically finds skills in submodule directories

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@davisodomhd
Copy link

This checks out the submodules, but discoverSkills stops after finding any top-level skills and only performs a recursive search when it finds zero, so if there are skills in the repo containing submodules, the tool never scans submodule paths. I can confirm that skill discovery within the submodules does work when there are no skills present in the top-level repo.

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.

3 participants