claude/plugins/gh/skills/code-search/SKILL.md
This skill should be used when the user asks to "search GitHub for code", "search code on GitHub", "find code across repos", "search for usage examples on GitHub", "find implementations in other repos", "find how other repos use", "look for code examples on GitHub", "gh search code", or when local grep is insufficient because the code lives in other repositories. Covers gh search code patterns, structured output, filtering by language/filename/extension, and cross-repository code discovery.
npx skillsauth add raphi011/skills code-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search code across GitHub repositories using gh search code.
# Search within an org
gh search code "<search-term>" --owner my-org
# Specific repo
gh search code "<search-term>" --repo owner/repo-name
# Filter by language
gh search code "<search-term>" --owner my-org --language kotlin
# Filter by filename
gh search code "<search-term>" --owner my-org --filename build.gradle.kts
# Filter by extension
gh search code "<search-term>" --owner my-org --extension yaml
# JSON output for structured processing
gh search code "<search-term>" --owner my-org --json path,repository,textMatches
--owner or --repo to scope the search — ask the user if not specified--limit 20 for broad searches to avoid excessive outputUse --json for parseable results, then format as a table for the user:
gh search code "<search-term>" --json path,repository,textMatches --limit 20
JSON fields: path, repository (has fullName), sha, textMatches (has fragment), url.
Extract and format with jq:
gh search code "<search-term>" --owner my-org --json path,repository,textMatches --limit 20 \
| jq -r '.[] | [.repository.fullName, .path, (.textMatches[0].fragment // "")] | @tsv'
Present results as:
| Repository | File | Match |
|------------|------|-------|
| owner/repo | src/main/Foo.kt | ...matching line... |
"error handling"--owner + --language or --filename to reduce noisedevelopment
Create polished, professional reveal.js presentations. Use when the user asks to create slides, a presentation, a deck, or a slideshow. Supports themes, multi-column layouts, code highlighting, animations, speaker notes, and custom styling. Generates HTML + CSS with no build step required.
tools
Use when writing Tailwind CSS v4 code, configuring Tailwind v4 with @theme or @variant directives, migrating from Tailwind v3 to v4, setting up CSS-native config (no tailwind.config.js), defining semantic color tokens, implementing dark mode with class-based @variant, creating design system tokens, or styling components with utility classes. Covers @import "tailwindcss", @theme blocks, @variant, @layer, CSS custom properties for colors, and common layout/component patterns.
development
Use whenever working with SurrealDB — writing queries, defining schemas, configuring indexes, debugging errors, handling record IDs, using the Go SDK, or discussing SurrealDB architecture. Activate on any mention of SurrealDB, SurrealQL, HNSW indexes, or surreal-related Go SDK code.
development
Use when visually verifying terminal UI rendering, testing TUI interactions, debugging Bubbletea display issues, or when asked to "test the TUI", "screenshot the terminal", "check what the TUI looks like", or "visually verify". Requires Kitty terminal with allow_remote_control and macOS for screencapture.