repo-to-gem
Installation
SKILL.md
Repo to Gem
Build the three things a person needs to create a Gemini Gem that is an expert on one repository, so that they can upload and paste without editing anything.
What you deliver
One folder, gem-<slug>/ in the current directory unless the user names another place:
gem-<slug>/
├── knowledge/
│ └── <slug>-knowledge.txt # or <slug>-knowledge.1.txt, .2.txt ... when split
├── gem-instructions.md # paste into the Gem's Instructions box
└── gem-setup.md # name, description, upload list, test prompts, refresh command
The Gem needs a display name and a slug. Take the name from the user; if they gave none, build it from the repo plus the last path segment that says what the content is (yamadashy/repomix at website/client/src/en/guide -> "Repomix Guide"). <slug> is that name in kebab-case (repomix-guide).