querying-codebase

Locate code implementations, call sites, tests, and configurations in a repository.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/Sailfishc/guanfu --skill querying-codebase
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: querying-codebase
Source: https://github.com/Sailfishc/guanfu/tree/main/skills/querying-codebase
Command: npx skills add https://github.com/Sailfishc/guanfu --skill querying-codebase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discovers the smallest reliable context to answer repository questions, helping users pinpoint implementations, related files, tests, configs, and schemas within a codebase.

Core Features & Use Cases

  • Context-first repository queries: locate where features are implemented, find related files, tests, and configurations.
  • Traceability: follow call sites and data flow across modules to explain behavior.
  • Documentation-ready results: present precise references with evidence ready for review.

Quick Start

Ask it to locate where a feature is implemented or trace its call sites within the repository.

Frequently Asked Questions about querying-codebase

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

FAQPage Schema
How do I find where a feature is implemented in a repository?▼

To locate feature implementations in a repository, you can query the codebase to identify exact file locations and trace relationships. It explores file trees and searches symbols to pinpoint where specific behaviors are coded.

How do I trace call sites across modules in a codebase?▼

Tracing call sites across modules involves following data flow through the repository to explain behavior. It reads files and searches symbols to present precise contextual evidence of function invocations.

Can I locate tests and configurations without modifying the source code?▼

Yes, you can locate tests and configurations without modifying code. It relies on read-only RepoPrompt tools to explore the file tree and find schemas, strictly avoiding edits to the repository.

What is the best way to query a codebase for precise file relationships?▼

The best way to query for precise file relationships is using context-first repository queries. It discovers the smallest reliable context needed to present documentation-ready references with evidence.

Does codebase search provide exact references for documentation?▼

Codebase search provides exact references for documentation by presenting precise contextual evidence. It identifies exact code locations and file relationships ready for review without making edits.