Support skills organized in nested subfolders#6
Conversation
…SKILL.md) Agent-Logs-Url: https://github.com/bmsuisse/skillup/sessions/12d0083a-ed45-4789-aedf-f3a86e217cc7 Co-authored-by: dominikpeter <7950597+dominikpeter@users.noreply.github.com>
|
@copilot: no. recursively scan the zip for SKILL.md, the skill name is just the parent folder without any slash |
…eparators) Agent-Logs-Url: https://github.com/bmsuisse/skillup/sessions/f55ac330-939c-42b4-9b28-49712e6deae5 Co-authored-by: aersam <5270024+aersam@users.noreply.github.com>
Done in d88aace. Both |
ok, but please not only look in /skills but in whole zip |
Agent-Logs-Url: https://github.com/bmsuisse/skillup/sessions/58703975-9237-4064-989e-4240b58fd33a Co-authored-by: aersam <5270024+aersam@users.noreply.github.com>
Done in de69ca7. Both |
Repositories like
mattpocock/skillsorganize skills into category subfolders (skills/engineering/diagnose/SKILL.md) rather than the flat layout (skills/diagnose/SKILL.md) that skillup previously assumed.Changes
get_skills_in_zip: recursively scans the entire zip forSKILL.mdat any depth and any location (not restricted to askills/subfolder); the skill name is always the immediate parent folder ofSKILL.md(no path separators)skills/engineering/diagnose/SKILL.md→"diagnose"skills/pdf/SKILL.md→"pdf"(unchanged)mything/SKILL.md(at zip root) →"mything"install_skill: locates the skill folder by findingSKILL.mdin a folder namedskill_nameanywhere in the zip, then installs all contents to<target>/<skill-name>/tests/test_install.py(new): unit tests forget_skills_in_zipandinstall_skillcovering flat, nested, mixed, zip-root-level, missing-SKILL.md, and case-insensitive scenarios