aeroxy

aeroxy / ast-outline

Public

Fast, AST-based structural outline for source files. Built for LLM coding agents and humans.

19
3
100% credibility
Found Apr 26, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

A tool that creates concise structural outlines of code files in languages like Rust, Python, TypeScript, Java, and others, listing classes, methods, and declarations with line numbers but omitting implementations, ideal for quick navigation by developers and AI agents.

How It Works

1
๐Ÿ“– Discover the tool

While browsing for ways to quickly grasp the structure of code files, you stumble upon ast-outline, a helper that shows just the outlines without all the details.

2
๐Ÿ’ป Add it to your computer

You grab it with a simple download or install command, and it's ready to use in moments, like installing any handy app.

3
๐Ÿ—‚๏ธ Point it at your project

You run it on a single code file or your entire folder, and it scans everything super fast.

4
๐ŸŒŸ View the clean outline

A beautiful summary appears: classes, methods, fields with exact line numbers โ€“ perfect shape of your code, no clutter!

5
๐Ÿ” Dive into specifics

Ask it to pull just one method's code or list everything that implements a certain type across files.

6
๐Ÿค– Boost your AI assistant

Copy a simple instruction snippet into your AI coding helper's guide so it starts using this tool automatically.

๐ŸŽ‰ Navigate code effortlessly

You and your AI now explore any codebase lightning-fast, understanding structures instantly and saving tons of time.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ast-outline?

ast-outline is a fast, AST-based structural outline tool for source files, extracting classes, methods, signatures, and line ranges without bodies. Built in Rust with tree-sitter bindings, it parses Rust, C#, Python, TypeScript/JavaScript, Java, Kotlin, Scala, Go, and Markdown files in parallel for blazing speed. Developers and LLM coding agents get a clean hierarchy to grasp file/module shape instantly, slashing full-file reads.

Why is it gaining traction?

It delivers 5-10x token savings for agents by replacing full file reads with precise outlines, plus commands like `digest` for module maps, `show` for method bodies, and `implements` for inheritance chainsโ€”no grep noise or embeddings needed. Zero setup: live parsing, no indexes, LLM-friendly output with docs and colors. The `prompt` snippet integrates seamlessly into agent configs for Claude, Cursor, or Aider.

Who should use this?

LLM coding agents exploring unfamiliar repos, like teams using Claude Code or Aider on polyglot codebases. Humans onboarding to large projects, needing quick public APIs or navigation in Rust/Python/TS stacks. Ideal for fast GitHub runners in CI or local workflows auditing structures.

Verdict

Grab it via Cargo for agent boostsโ€”beta with solid docs and Homebrew support, but only 19 stars and 1.0% credibility signal early days; test on your langs first. Strong for LLM-heavy coding, skip if you need production polish.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.