ast-grep-outline
Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full…
Skill by thimslugga
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/thimslugga-ast-grep-outline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ast-grep-outline
What's inside
- Skill name
ast-grep-outline- Description
- Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source.
- License
- MIT
- Instructions
- 78 lines in SKILL.md · view on GitHub
Files (5)
- ATTRIBUTION.md
- README.md
- SKILL.md
- harness-notes.md · agents/
- openai.yaml · agents/
SKILL.md (first lines)
# Use ast-grep outline `ast-grep outline` prints a compact structural map of source code with line numbers: top-level **items** (imports, functions, classes, structs, interfaces, modules, enums) and their direct **members** (fields, methods, constructors, enum variants). It is a local, syntax-only view — cheap enough to run before any full file read. Read code in stages: find candidate files with search or file names, outline them, then open only the source range the outline points to. Defaults adapt to input: a file shows its local structure with member digests; a directory shows only its exported surface as grouped names. ## When To Use It **Understand a file before editing.** Get a table of contents, dependencies, and public entry points before reading implementation details: ```shell ast-grep outline <file> ast-grep outline <file> --items imports ast-grep outline <file> --items exports ``` **Map an unfamiliar directory.** Scan the public surface of a subtree, then narrow by symbol type when you know what you are looking for: ```shell ast-grep outline <dir> --items exports ast-grep outline <dir> --type struct,enum,function ``` **Zoom into a known symbol.** After search finds a likely name, list its members with line numbers instead of reading the whole body: ```shell ast-grep outline <file> --match <symbol> --type class --view expanded ``` **Trace dependency direction.** Find which files import a package or module to decide where a change belongs: ```shell ast-grep outline <dir> --items imports --view signatures ``` **Review changed files after editing.** Git tells you what changed; outline summarizes the resulting structure and public surface: ```shell ast-grep outline $(git diff --name-only HEAD) --items exports ``` ## Argument Guide - `--items <KIND>` selects top-level items: `structure` for local declarations (file default), `exports` for public API (directory default), `imports` for dependencies, `all` when import/export edges matter together. - `--view <VIEW>` controls detail, from least to most: `names` for directory scans, `signatures` for one line per item, `digest` for signatures plus member names, `expanded` for one line per member with its line number. - `--match <REGEX>` filters top-level items by name or signature. Rust regex, case-sensitive; it never matches members. - `--type <TYPE[,TYPE...]>` keeps only some top-level symbol types, such as `--type class,function`. Member types like `method,field` never match top-level items. - `--pub-members` hides private members when the view prints members. - `--json=stream` emits one JSON object per file with precise ranges. Use it only to pipe or post-process entries; prefer text for navigation. ## Limits `outline` shows local syntax structure. It does not resolve references, infer types, follow re-export chains, or build a call graph. Use `ast-grep run`, `rg`, or compiler-backed tools for those questions, then outline the candidate files they surface.
From thimslugga/agent-plugins, MIT.
More from thimslugga/agent-plugins
- 0.570score
adr
thimslugga
Create and maintain Architecture Decision Records (ADRs).
SkillAFreshness: AClaude Code +9 - 0.567score
golang-pro
thimslugga
Write, edit, update, or review Go code to a consistent professional standard: gofumpt-formatted, go vet clean, golangci-lint clean under a curated config.
SkillAFreshness: AClaude Code +9 - 0.565score
gauntlet-loop
thimslugga
Turns any goal into one short, paste-ready "gauntlet loop" prompt - a prompt that makes an agent set a concrete quality bar, split the work into small…
SkillAFreshness: AClaude Code +9 - 0.540score
impeccable
thimslugga
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or…
SkillAFreshness: AClaude Code +9 - 0.529score
redshift-api
thimslugga
Run SQL against Amazon Redshift — submit statements, poll status, page through results, and browse databases/schemas/tables.
SkillBFreshness: BClaude Code +9 - 0.529score
ai-firstify
thimslugga
Analyze, re-engineer, or bootstrap projects to align with AI-first design principles.
SkillBFreshness: BClaude Code +9 - 0.529score
migrate-agent-plugin
thimslugga
Migrate an existing Claude Code, Codex, Cursor, Kiro, Copilot, VS Code, or other client-specific agent plugin to the portable Agent Plugins v1 structure while…
SkillBFreshness: BClaude Code +9 - 0.524score
economist-style
thimslugga
Apply The Economist style guide to written content.
SkillBFreshness: BClaude Code +9 - 0.524score
autoresearch
thimslugga
'Autonomous iterative experimentation loop for any programming task.
SkillBFreshness: BClaude Code +9 - 0.524score
grill-me
thimslugga
Structured questioning to reach shared understanding before action.
SkillBFreshness: BClaude Code +9 - 0.524score
handoff
thimslugga
Compacts the current conversation into a handoff document so a fresh agent can continue the work in a new session.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/thimslugga/agent-plugins
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from thimslugga
- 0.570score
adr
thimslugga
Create and maintain Architecture Decision Records (ADRs).
SkillAFreshness: AClaude Code +9 - 0.567score
golang-pro
thimslugga
Write, edit, update, or review Go code to a consistent professional standard: gofumpt-formatted, go vet clean, golangci-lint clean under a curated config.
SkillAFreshness: AClaude Code +9 - 0.565score
gauntlet-loop
thimslugga
Turns any goal into one short, paste-ready "gauntlet loop" prompt - a prompt that makes an agent set a concrete quality bar, split the work into small…
SkillAFreshness: AClaude Code +9 - 0.540score
impeccable
thimslugga
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or…
SkillAFreshness: AClaude Code +9 - 0.529score
redshift-api
thimslugga
Run SQL against Amazon Redshift — submit statements, poll status, page through results, and browse databases/schemas/tables.
SkillBFreshness: BClaude Code +9 - 0.529score
aws-iam
thimslugga
Verified corrections for IAM behaviors that AI agents frequently get wrong — policy evaluation edge cases, trust policy gotchas, STS session limits…
SkillBFreshness: BClaude Code +9
Cite this page
ast-grep-outline skill. Agent Mart. https://agentmart.dev/skills/thimslugga-ast-grep-outline (last updated 2026-10-24)