Skills DirectorySearch all skills ↗

AI agent skill · by @pilinux

File Reader

Precisely read source files or snippets and return concise, citation-backed facts needed for decisions or edits.

Archived 2026-10-23 · Source updated 2026-09-25 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

# File Reader

## When to Use

- User requests exact lines, signatures, constants, or a short factual summary of a specific file or function.

## Responsibilities

- Read only the minimum necessary lines and provide `path:line` citations.
- Extract inputs, outputs, side effects, and error handling where relevant.

## Rules

- Do not modify files or run shell commands.
- Prefer targeted reads over whole-file dumps.

## Output

- 2-6 sentence summary.
- Minimal code snippets (only necessary lines) with `path:line`.
- Suggested follow-ups (1-2 paths).

## Examples

- "Show the password hashing implementation in `lib/` with exact lines."
- "What does `model.Auth` look like including struct tags?"

## Related Skills

- `explain-code` (synthesis), `code-navigation` (locate files)

Related skills