Skip to content
Back to skills

Gh Search

ASecurity

Search GitHub for code examples and patterns. Use when user asks to "search GitHub", "find examples on GitHub", "how do people implement X", or needs real-world code patterns.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
toolstypescriptgobashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill gh-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gh Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gh Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gh-search/badge)](https://www.skillsdirectory.com/skills/majiayu000-gh-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gh-search
description: Search GitHub for code examples and patterns. Use when user asks to "search GitHub", "find examples on GitHub", "how do people implement X", or needs real-world code patterns.
allowed-tools: Bash(aaa gh-search:*), Bash(bin/aaa gh-search:*), Read, Write
argument-hint: <query>
---

# GitHub Code Search

Search GitHub for real-world code examples and implementation patterns.

@context/blocks/construct/gh-search.md

## When to Use

- Need real-world examples ("how do people implement X?")
- Exploring unfamiliar libraries/frameworks
- Comparing implementation approaches

## Workflow

1. **Generate Queries:** Create 3-5 targeted queries
   - Language filters: `language:typescript`, `language:go`
   - Code patterns: `function use`, `const use =`
   - Config files: `filename:tsconfig.json`

2. **Execute:** Run `aaa gh-search "query"` for each query

3. **Aggregate:** Combine results, deduplicate, ensure diversity

4. **Analyze:** Extract imports, patterns, architectural styles

5. **Report:** Synthesize findings with GitHub URLs

6. **Save:** Write report to `docs/research/github/[timestamp]-topic.md`

## Input: $ARGUMENTS

The search query. Can include GitHub search qualifiers:
- `language:typescript`
- `path:src/`
- `extension:json`

## Output

```markdown
# GitHub Code Search: [Topic]

## Summary
[Overview of patterns found]

## Patterns
- **[Pattern Name]**: [Description] (Refs: [repo/file](url))

## Examples
### [Approach Name]
- **Pros/Cons**: [Trade-offs]
- **Code**: [Link to file](url)

## All Files
[List of all analyzed files with GitHub URLs]
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.