ast-grep Outline

ast-grep/agent-skill

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

Материал обновлён:

В коллекцииast-grep Agent Skills ↗
Открыть на GitHub
npx skills add ast-grep/agent-skill
904Звёзды37ФоркиПоследний push репозитория

Об этом 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.

Почему мы его выбрали

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

Для каких задач подходит

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

Перед использованием

  • 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.

Источники и материалы

Ссылки на оригинальные материалы приведены ниже. Практические идеи предложены редакцией SkillHey.