gh-code-search

Search GitHub repositories for code implementations using language and path filters.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/884js/agent-skills --skill gh-code-search-884js
Or copy as Structured Prompt for Agent▌
Please help me install this Agent Skill.
Skill: gh-code-search
Source: https://github.com/884js/agent-skills/tree/main/skills/gh-code-search
Command: npx skills add https://github.com/884js/agent-skills --skill gh-code-search-884js

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, base64, and includes scripts (resource) components.

What problem does it solve?

GitHub リポゞトリからコヌドを怜玢し、関連するコヌドの実装コンテキストを取埗するスキル。フロント゚ンドずバック゚ンド間の䟝存関係を暪断しお、゚ンドポむントや実装の䜍眮を迅速に特定したす。

Core Features & Use Cases

  • フロント゚ンド↔バック゚ンドの䞡方向怜玢に察応し、関連コヌドの実装箇所を特定する。
  • 蚀語やパスでフィルタしお、目的のファむルや関数を絞り蟌み、コヌド断片を玠早く取埗する。
  • ファむルパスず䞀臎箇所を䞀芧衚瀺し、必芁に応じおファむル内容を取埗しお文脈を理解する。

Quick Start

察象リポゞトリ内の関連実装を玠早く探すため、適切なク゚リを甚いお怜玢を開始したす。

Frequently Asked Questions about gh-code-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search code across multiple GitHub repositories to find API endpoint implementations?▌

GitHub code search lets you locate API endpoint implementations across repositories by applying language and path filters to narrow results, then fetching file contents on demand to understand the surrounding implementation context.

What's the best way to discover frontend-to-backend API dependencies in GitHub repositories?▌

Cross-team API discovery across GitHub repositories involves searching code in both directions to map frontend calls to backend endpoints, returning file paths and matched code snippets for precise implementation location identification.

Can I filter GitHub code search results by programming language and file path?▌

GitHub code search supports filtering by programming language and file path to constrain queries, helping you isolate specific files and functions while retrieving matched code snippets for contextual analysis.

Do I need the gh CLI installed to search code in GitHub repositories?▌

Yes, GitHub code search requires the gh CLI along with jq and base64 as dependencies, executing search commands via gh search to retrieve and process code matches from remote repositories.

How to retrieve and view file contents from GitHub search matches?▌

After locating files through GitHub code search, you can fetch full file contents on demand to gather implementation context, with results returning file paths and code matches for precise discovery.

Does GitHub code search work for finding tests and endpoint definitions across different languages?▌

GitHub code search applies to cross-team investigations across various programming languages, locating tests and endpoint definitions by filtering repositories with language and path constraints to return relevant implementation references.