Agent Skills: Browse

Fetch GitHub URLs, repos, issues, pull requests, code search

UncategorizedID: rakibdev/dotfiles/github

Install this agent skill to your local

pnpm dlx add-skill https://github.com/rakibdev/dotfiles/tree/HEAD/home/.config/opencode/skill/github

Skill Files

Browse the full folder contents for github.

Download Skill

Loading file tree…

home/.config/opencode/skill/github/SKILL.md

Skill Metadata

Name
github
Description
Fetch GitHub URLs, repos, issues, pull requests, code search

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:tsx and path: if unique (e.g. config files).
  • Always use substrings to match wide results (e.g. components/ui, tiptap matches 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
  • Use 1-2 generic terms (framework name) for wide results. Read at least 3 pages.
  • Narrow by language: lang:ts
  • Default is stars:100 (minimum) and sorted by updated to find underrated repos.

Search Issues

bun scripts/search-issues.ts <query>

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'
<method> - `diff` - Raw diff - `files` - Changed files list - `comment <path> <line> <body>` - Add comment on single line - `comment <path> <start_line> <end_line> <body>` - Add comment on line range - `reply <comment_id> <body>` - Reply to existing comment </method>
  • When reviewing a PR, first use diff to identify specific code blocks
  • Make separate comments on specific lines instead of a single top-level review
Browse Skill | Agent Skills