code-search

Efficiently search and locate exact byte-level matches in codebases using ripgrep's lightning-fast engine.

Updated May 13, 2026
One-click install
npx skills add https://github.com/Mekann2904/mekann --skill code-search-mekann2904
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-search
Source: https://github.com/Mekann2904/mekann/tree/main/.pi/lib/skills/code-search
Command: npx skills add https://github.com/Mekann2904/mekann --skill code-search-mekann2904

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill quickly finds specific code patterns, function definitions, or dependencies across your entire codebase, saving developers significant time and effort in code navigation and understanding.

Core Features & Use Cases

  • Pattern Matching: Search for any text pattern using regular expressions.
  • File Type Filtering: Narrow searches to specific programming languages or file types.
  • Contextual Results: View lines before, after, or around matches for better understanding.
  • Use Case: Quickly locate all occurrences of a specific function call or variable usage across a large project to understand its impact or refactor it.

Quick Start

Use the code-search skill to find all occurrences of the function 'calculateTotal' within TypeScript files.

Frequently Asked Questions about code-search

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

FAQPage Schema
How do I search for a function definition across an entire codebase?

Code search enables rapid pattern matching across an entire codebase to locate function definitions, variable usages, and import statements using regular expressions for efficient code navigation.

Can I filter code search results to specific programming languages?

Yes, code search supports file type filtering to narrow queries to specific programming languages or file types, ensuring you only retrieve relevant matches for your project's tech stack.

How do I view surrounding context for code matches during a grep search?

Code search provides contextual results by allowing you to view lines before, after, or around matches, which helps in understanding the functional impact of specific code patterns.

What is the best way to find all variable usages for a refactoring task?

Using ripgrep or grep for code search is the best way to quickly locate all occurrences of specific variable usages across large projects, making dependency analysis and refactoring highly efficient.

Do I need ripgrep installed to use this code search skill?

The code search skill facilitates searching using ripgrep or grep, meaning it leverages these underlying tools for pattern matching, so having access to either is necessary for executing queries.