ast-grep Outline

ast-grep/agent-skill

Map file and directory structure, imports, exports and direct members with ast-grep outline.

Latest update at:

View on GitHub
npx skills add ast-grep/agent-skill
900Stars37ForksRepository last pushed

About this Skill

Inspect a file's declarations or a directory's exported surface before opening full source. Filter by symbol, type or imports and use line numbers to navigate to relevant code.

Why we picked it

A local syntax-only overview with line numbers; it does not resolve references or infer types.

What it helps with

  • Explore an unfamiliar directory or inspect a class before editing its implementation.

Before you use it

  • An ast-grep CLI version supporting the outline command and a supported source project. Outlines are syntax-only and do not provide a call graph or resolve types.

Sources & references

Original sources are linked below. Practical starting points are editorial suggestions from SkillHey.