One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill repoprompt-scooter-lacroix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repoprompt
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/research/repoprompt
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill repoprompt-scooter-lacroix

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a token-efficient way to explore codebase structure, search code, and read file content, reducing the amount of data sent to AI models.

Core Features & Use Cases

  • Codebase Exploration: Generate file trees and code maps to understand project structure.
  • Token-Efficient Search: Search for patterns within code with configurable context lines.
  • Selective File Reading: Read specific line ranges of files to minimize token usage.
  • Context Building: Automatically select relevant files for AI tasks using a context builder.
  • Use Case: When tasked with understanding a new feature's implementation, use repoprompt to quickly get the file structure of the relevant directory, search for specific function names, and read only the essential lines of code.

Quick Start

Use the repoprompt skill to search for the string 'UserAuthService' within the 'src/services/' directory, showing 5 lines of context.

Frequently Asked Questions about repoprompt

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

FAQPage Schema
How do I explore a large codebase without exceeding AI token limits?

You can explore a large codebase without exceeding AI token limits by generating file trees, searching code with configurable context lines, and reading specific file slices to reduce data sent to AI models.

How do I search for a function name in a specific directory and show context lines?

To search for a function name in a directory and show context lines, use the token-efficient code search feature, which allows you to find patterns within your codebase and configure the number of context lines displayed.

Can I automatically select relevant files for AI-driven context building?

Yes, you can automatically select relevant files for AI-driven context building using the context builder feature, which manages workspace selections to facilitate AI tasks and complex command chaining operations.

What is the best way to read specific file slices to minimize token usage?

The best way to read specific file slices to minimize token usage is through selective file reading, which allows you to target and extract only the essential line ranges of a file instead of loading the entire document.

Does repoprompt support command chaining for complex codebase operations?

Yes, repoprompt supports command chaining for complex codebase operations, allowing you to link multiple commands together to perform sequential analysis and AI-driven context building tasks efficiently.