code-search

Locates files, content, and semantic context across a repository using Glob, Grep, Read, and semantic search.

2|Updated Oct 1, 2024
One-click install
npx skills add https://github.com/ZeiZel/dotfiles --skill code-search-zeizel
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-search
Source: https://github.com/ZeiZel/dotfiles/tree/main/.claude/skills/code-search
Command: npx skills add https://github.com/ZeiZel/dotfiles --skill code-search-zeizel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers explore large codebases quickly by combining simple pattern matching with semantic analysis, reducing manual searching.

Core Features & Use Cases

  • Layered search ladder: Glob for file discovery, Grep for content search, Read for deep context, and semantic search for meaning-driven queries.
  • Use cases include locating classes, functions, modules, dependencies, and usage patterns, tracing data flow, and architecture navigation across languages and projects.
  • Cross-reference analysis: identify who uses a function, find related modules, and map API surfaces.

Quick Start

Search a repository for a given pattern using the layered search approach to progressively refine results.

Frequently Asked Questions about code-search

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

FAQPage Schema
How do I search a large codebase to find specific modules and usage patterns?▼

Searching a large codebase for usage patterns involves a layered approach: using Glob for file discovery, Grep for content matching, and Read for deep context to locate modules and trace data flow.

What is semantic code search and when do I need it for repository exploration?▼

Semantic code search is a meaning-driven query method for repository exploration used when simple pattern matching fails, helping locate functions and dependencies by analyzing context rather than exact strings.

How do I trace data flow and map API surfaces across different programming languages?▼

Tracing data flow and mapping API surfaces across languages requires combining content search with cross-reference analysis to identify function usage and find related modules.

Can I use layered code search for cross-reference analysis in scalable repositories?▼

Layered code search supports scalable repositories by combining file discovery, content search, and semantic analysis to perform cross-reference analysis and map related modules.

Does this code search approach work across varying codebase sizes and architectures?▼

This code search approach applies to codebases of varying sizes, languages, and architectures, enabling rapid exploration and understanding through multi-level search across the repository.