github-search — community github-search, dotfiles, community, ide skills

v1.0.0

关于此技能

非常适合需要高效的 GitHub 仓库和代码发现能力的开发代理。 Search GitHub for repos, code, and usage examples using gh CLI. Capabilities: repo discovery, code search, finding library usage patterns, issue/PR search. Actions: search, find, discover repos/code/examples. Keywords: gh, github, search repos, search code, find examples, how to use library, stars, language filter. Use when: finding repositories, searching code patterns, discovering how libraries are used, exploring open source.

samhvw8 samhvw8
[0]
[0]
更新于: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 6/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
6/11
Quality Score
42
Canonical Locale
en
Detected Body Locale
en

非常适合需要高效的 GitHub 仓库和代码发现能力的开发代理。 Search GitHub for repos, code, and usage examples using gh CLI. Capabilities: repo discovery, code search, finding library usage patterns, issue/PR search. Actions: search, find, discover repos/code/examples. Keywords: gh, github, search repos, search code, find examples, how to use library, stars, language filter. Use when: finding repositories, searching code patterns, discovering how libraries are used, exploring open source.

核心价值

赋予代理高效搜索 GitHub 仓库、代码、问题和 PR 的能力,使用命令行或 API,利用 `gh search` 命令和直接 API 搜索复杂查询,实现精确结果以 URL 编码查询。

适用 Agent 类型

非常适合需要高效的 GitHub 仓库和代码发现能力的开发代理。

赋予的主要能力 · github-search

使用特定关键字或主题搜索仓库
通过找到相关代码片段或 PR 来调试问题
自动化 GitHub 数据检索以进行分析或报告

! 使用限制与门槛

  • 需要 GitHub API 访问或命令行安装
  • 默认情况下每个查询最多返回 30 个结果
  • 可能需要对复杂或细致的搜索查询进行额外处理

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

github-search 是什么?

非常适合需要高效的 GitHub 仓库和代码发现能力的开发代理。 Search GitHub for repos, code, and usage examples using gh CLI. Capabilities: repo discovery, code search, finding library usage patterns, issue/PR search. Actions: search, find, discover repos/code/examples. Keywords: gh, github, search repos, search code, find examples, how to use library, stars, language filter. Use when: finding repositories, searching code patterns, discovering how libraries are used, exploring open source.

如何安装 github-search?

运行命令:npx killer-skills add samhvw8/dotfiles。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

github-search 适用于哪些场景?

典型场景包括:使用特定关键字或主题搜索仓库、通过找到相关代码片段或 PR 来调试问题、自动化 GitHub 数据检索以进行分析或报告。

github-search 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

github-search 有哪些限制?

需要 GitHub API 访问或命令行安装;默认情况下每个查询最多返回 30 个结果;可能需要对复杂或细致的搜索查询进行额外处理。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add samhvw8/dotfiles。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    github-search 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

github-search

安装 github-search,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

GitHub Search

Quick Commands

GoalCommand
Search reposgh search repos "<query>" --limit 30
Search codegh search code "<query>" --limit 30
Search issuesgh search issues "<query>" --limit 30
Search PRsgh search prs "<query>" --limit 30

Direct API Search (Web-Exact Results)

For complex queries where gh search repos gives different results than web:

bash
1# Template - URL-encodes query automatically 2gh api "search/repositories?q=$(printf '%s' 'YOUR_QUERY_HERE' | jq -sRr @uri)&sort=updated&per_page=30" --jq '.items[].full_name'

Example - Multi-language with exclusions:

bash
1gh api "search/repositories?q=$(printf '%s' 'stars:>500 language:rust language:go language:TypeScript language:javascript -topic:ethereum -topic:cryptocurrency -topic:blockchain -topic:bitcoin -topic:web3' | jq -sRr @uri)&sort=updated&per_page=10" --jq '.items[].full_name'

Why use this?

  • gh search repos is a convenience wrapper with its own query parsing
  • gh api search/repositories hits the raw API, matching web behavior exactly
  • Required when combining: multiple languages + topic exclusions + star filters

Common jq extractions:

Outputjq filter
Names only--jq '.items[].name'
Full names--jq '.items[].full_name'
With stars--jq '.items[] | "\(.full_name) ⭐\(.stargazers_count)"'
URLs--jq '.items[].html_url'
Full JSON(omit --jq)

Patterns

Finding Repositories

When you see: User wants to find projects/repos by criteria Use: gh search repos

bash
1# Basic search with stars 2gh search repos "stars:>500 language:rust" --sort=stars --limit=50 3 4# Multiple languages (OR logic) 5gh search repos "language:rust language:go language:typescript" 6 7# Exclude topics 8gh search repos "stars:>1000 -topic:cryptocurrency -topic:blockchain" 9 10# By topic 11gh search repos "topic:cli topic:terminal stars:>100" 12 13# Recently updated 14gh search repos "language:python pushed:>2024-01-01"

Output formats:

bash
1--json name,url,description,stargazersCount # JSON output 2--web # Open in browser

Finding Code Examples

When you see: User wants to know how to use a library Use: gh search code

bash
1# Find usage patterns 2gh search code "from zod import" --limit=20 3gh search code "import { z } from 'zod'" --limit=20 4 5# In specific file types 6gh search code "useQuery" extension:tsx --limit=30 7 8# In specific paths 9gh search code "tanstack/query" path:src/ extension:ts 10 11# Exact phrase 12gh search code '"createTRPCRouter"' extension:ts

Pro tip: Combine with repo filter for focused results:

bash
1gh search code "pattern" repo:owner/repo

Finding Issues/Discussions

When you see: User looking for bug reports, feature requests, or discussions Use: gh search issues or gh search prs

bash
1# Open issues with label 2gh search issues "is:open label:bug repo:facebook/react" 3 4# PRs by author 5gh search prs "author:username is:merged" 6 7# Issues mentioning error 8gh search issues '"connection refused" language:go'

Query Qualifiers Reference

QualifierExampleDescription
stars:stars:>1000, stars:100..500Star count
forks:forks:>100Fork count
language:language:rustPrimary language
topic:topic:cliRepository topic
-topic:-topic:blockchainExclude topic
pushed:pushed:>2024-01-01Last push date
created:created:>2023-01-01Creation date
license:license:mitLicense type
archived:archived:falseArchive status
is:is:public, is:privateVisibility
QualifierExampleDescription
extension:extension:tsFile extension
path:path:src/File path
repo:repo:owner/nameSpecific repo
language:language:javascriptCode language
filename:filename:package.jsonFile name

Common Flags

FlagDescription
--limit NNumber of results (max 1000)
--sort XSort by: stars, forks, updated, best-match
--order Xasc or desc
--json FIELDSJSON output with specific fields
--webOpen results in browser

Common Use Cases

bash
1gh search repos "language:X stars:>500" --sort=stars --limit=50

"How do people use library Y"

bash
1gh search code "import Y" extension:ts --limit=30 2gh search code "from Y import" extension:py --limit=30

"Find repos like Z but exclude crypto"

bash
1gh search repos "topic:Z -topic:cryptocurrency -topic:blockchain -topic:web3"

"Find recent active projects"

bash
1gh search repos "language:go pushed:>2024-06-01 stars:>100" --sort=updated

Tips

  1. Quote the query when it contains special chars: gh search repos "stars:>500"
  2. Multiple languages = OR: language:rust language:go matches either
  3. Use --json for scripting: --json name,url,stargazersCount
  4. Date ranges: pushed:2024-01-01..2024-06-01
  5. Numeric ranges: stars:100..500
  6. Use gh api for complex queries: When gh search repos gives unexpected results, use gh api search/repositories?q=... for exact web parity

相关技能

寻找 github-search 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具