Agent skill
github
Fetch GitHub URLs, repos, issues, pull requests, code search
Install this agent skill to your Project
npx add-skill https://github.com/rakibdev/dotfiles/tree/main/home/.config/ai/skills/github
SKILL.md
Browse
URL contains blob (file), tree (dir), issues/... or pull/....
bun scripts/fetch.ts <github_url>
Code Search
bun scripts/grep.ts <query> [--page N]
bun scripts/grep.ts 'useQuery filename:\*.tsx' # global
bun scripts/grep.ts 'useQuery repo:opencode-ai/opencode' # single repo
- Use combination of import name, and
lang:tsxandpath:if unique (e.g. config files). - Always use substrings to match wide results (e.g.
components/ui,tiptapmatches two lib imports)
Search Repos
bun scripts/search-repos.ts <query> [--page N] [--stars N] [--sort updated|best-match]
bun scripts/search-repos.ts 'topic:neovim' --stars 1000 --sort best-match
- Default is
stars:100(minimum) and sorted byupdatedto find underrated repos.
Guide: Finding Projects
-
Build keyword combo: Use 2-3 distinct substrings that would appear in the code e.g. to find opencode plugins that edit files, search for
opencode+edit+file. Don't use overly specific terms likeopencode-pluginsince authors may not use that exact phrase. Use lang filter e.g.lang:tsx. -
Search and paginate at least 5 pages:
bun scripts/grep.ts 'opencode edit file lang:ts' --page 1
- Spot clean, relevant results and read full file to understand implementation.
Pull Request Operations
bun scripts/pr.ts <owner> <repo> <pr_number> <method> [...args]
bun scripts/pr.ts facebook react 35404 comment src/index.ts 10 15 'This block could be refactored'
- When reviewing a PR, first use
diffto identify specific code blocks - Make separate comments on specific lines instead of a single top-level review
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
valibot
Valibot schema validation for backend and frontend forms.
vue
Vue coding style and best practices.
tailwind
Tailwind CSS styling conventions.
websearch
Search Google
figma
Tool for fetching Figma design data and downloading images.
shadcn
shadcn/ui component library conventions.
Didn't find tool you were looking for?