code-search

Search codebases for patterns, usages, and references with grep, ripgrep, and PowerShell.

33|5|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/power-ranger-toolkit --skill code-search-sir-chawakorn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-search
Source: https://github.com/Sir-chawakorn/power-ranger-toolkit/tree/main/src/skills/code-search
Command: npx skills add https://github.com/Sir-chawakorn/power-ranger-toolkit --skill code-search-sir-chawakorn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers quickly locate specific code patterns, function usages, and references within a codebase, streamlining debugging and refactoring efforts.

Core Features & Use Cases

  • Pattern Matching: Search for various code patterns using tools like grep, ripgrep, and PowerShell.
  • Usage Finding: Identify where functions, components, or variables are used throughout the project.
  • Quick Start: Use the code-search skill to find all usages of the getUserById function within the ./src directory.

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 usages of a specific function in my codebase?

You can search across your codebase to identify function usages using command-line pattern matching tools like grep or ripgrep. This approach helps locate specific calls and references for debugging.

What is the best way to search for TODO comments and hardcoded values across a project?

Searching for TODO comments and hardcoded values is done by running pattern matching commands across your project files. Tools like ripgrep and PowerShell identify these specific patterns to streamline refactoring.

Can I use ripgrep and PowerShell to identify component usage in my source directory?

Yes, you can use ripgrep and PowerShell to identify component usage within a source directory. The code search integrates with these command-line tools to perform file analysis and pattern matching.

Does code search work for finding specific code patterns during debugging?

Code search works for finding specific patterns during debugging by scanning the codebase using command-line tools. It locates exact text matches and variable references to streamline error resolution.

How do I search codebase references to prepare for code refactoring?

To search codebase references for refactoring, use command-line pattern matching tools like grep. They scan the codebase to identify all dependencies and usages of the components you plan to modify.