repo-rag

Retrieves codebase chunks via semantic search and symbol indexing.

36|6|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/oimiragieo/LLM-RULES --skill repo-rag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-rag
Source: https://github.com/oimiragieo/LLM-RULES/tree/main/.claude/skills/repo-rag
Command: npx skills add https://github.com/oimiragieo/LLM-RULES --skill repo-rag

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traditional keyword searches often fall short when trying to understand complex codebases, locate specific logic, or verify architectural patterns. This leads to wasted time, incomplete understanding, and potential errors during development or refactoring. This Skill provides advanced, context-aware codebase retrieval.

Core Features & Use Cases

  • Semantic Code Search: Go beyond simple text matching to find code based on its meaning, intent, and conceptual relevance, even if exact keywords aren't present.
  • Symbol Indexing: Accurately locate and understand the usage of classes, functions, types, and variables across your entire repository, providing a clear view of dependencies.
  • Use Case: Before refactoring a critical authentication module, you need to identify all its touchpoints and usages. Ask the AI to "search for authentication middleware logic" or "symbols UserAuthentication" to quickly get a comprehensive overview of relevant files, code snippets, and their contexts, ensuring a safe and complete refactor.

Quick Start

Search the codebase for "how user roles are managed".

Frequently Asked Questions about repo-rag

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

FAQPage Schema
How do I search a codebase semantically instead of by keyword?

Semantic code search finds code based on meaning and intent rather than exact text matching. This Skill uses semantic search to locate relevant code chunks across your repository even when keywords aren't present, helping you understand logic and dependencies faster than traditional keyword searches.

Can I find all usages of a specific class or function across my repository?

Symbol indexing locates and tracks classes, functions, types, and variables throughout your entire codebase. This Skill indexes symbols to give you a complete view of where each component is defined and used, essential for safe refactoring and impact analysis.

How do I verify architectural patterns before refactoring a large module?

Before refactoring, retrieve all touchpoints and usages of a module using semantic and symbol search. This Skill identifies related files, code snippets, and their contexts to ensure you understand the full scope and dependencies before making changes.

What's the difference between semantic search and keyword search for code?

Keyword search matches exact terms; semantic search understands conceptual meaning. Semantic search finds code expressing similar logic or intent even with different vocabulary, reducing missed results and improving code discovery in complex projects.

Can I understand project structure and dependencies quickly?

This Skill retrieves relevant codebase chunks and symbol relationships to surface how components interact. Symbol indexing and semantic search together reveal project structure and dependency patterns without manual exploration.