stock-the-library
Installation
SKILL.md
Stock the Library
Clone the repo(s) the user mentions, record where they landed, report the paths, then stop.
Workflow
- Resolve the repo the user means:
- Full git URLs (
https://...,git@..., etc.) are used as-is. - GitHub
owner/reposhorthand becomeshttps://github.com/<owner>/<repo>.git. - Natural mentions are fine when the repo is clear.
- If a name could mean multiple repos, ask for the URL or the owner.
- Full git URLs (
- Save clones under
<project-root>/.library/<owner>/<repo>/. - If a repo is already cloned, ask the user if he wants to refresh it.
- Clone shallow by default:
git clone --depth 1 --single-branch <url> <path>. Honor a branch, tag, or ref if the user names one. - Keep
<library-root>/INDEX.mdwith exactly one bullet per cloned repo:- <owner>/<repo> - <path> - <short description>Do not add usage notes, status logs, or extra sections.