code_search

Locate definitions, references, and occurrences of symbols in source code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MichaelYagi/mcp_a2a --skill code-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code_search
Source: https://github.com/MichaelYagi/mcp_a2a/tree/main/servers/code_review/skills/code_search
Command: npx skills add https://github.com/MichaelYagi/mcp_a2a --skill code-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Code Search Skill helps developers quickly locate definitions, references, and occurrences across a codebase, reducing the time spent manual code triage.

Core Features & Use Cases

  • Locate function or class definitions across files
  • Find all references and usages of a symbol
  • Navigate patterns and code relationships in large repositories
  • Use Case: When debugging, fetch all call sites and definitions for a function to trace data flow.

Quick Start

Use the code_search skill to locate the definition of the function "process_user" in the repository.

Frequently Asked Questions about code_search

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

FAQPage Schema
How do I find all references to a function across multiple files in a codebase?

To find all references to a function across multiple files, use code search to locate definitions, call sites, and symbol occurrences across your project. It traces data flow by fetching all usages during debugging tasks.

What is the best way to locate class definitions during a code audit?

The best way to locate class definitions during a code audit is using pattern-based queries to search source code. This approach identifies symbols and definitions across languages without manual triage.

Can I use textual search to navigate code relationships in large repositories?

Yes, you can use textual search to navigate code relationships in large repositories. Pattern-based queries identify symbols, definitions, and usages, allowing you to map code structure across multi-file projects.

Does code search work across different programming languages for debugging?

Code search works across different programming languages for debugging by applying textual search and pattern-based queries to source code. It identifies symbols, definitions, and occurrences regardless of language.

How do I trace data flow when debugging a specific function call?

To trace data flow when debugging a function call, search the codebase to fetch all call sites and definitions for that function. This maps how data moves through the system.