github-search
Installation
SKILL.md
GitHub Search
Quick Commands
| Goal | Command |
|---|---|
| Search repos | gh search repos "<query>" --limit 30 |
| Search code | gh search code "<query>" --limit 30 |
| Search issues | gh search issues "<query>" --limit 30 |
| Search PRs | gh search prs "<query>" --limit 30 |
Keyword Strategy: Variants & Long → Short
GitHub matches your query tokens against repo name + description + README (for code search, the file contents). There is no semantic matching — a repo is invisible if its text doesn't contain words close to yours. Two ways a search misses:
- Wrong word — the author used a synonym you didn't try.
- Too long — your compound phrase is more specific than any repo's name/description, so nothing matches.
Fix: generate keyword variants, and cascade from longer to shorter.