AstAnalysis
Installation
SKILL.md
AstAnalysis
Query JavaScript/TypeScript code using AST parsing. Dynamically generates and runs custom parser code for any pattern you describe.
Workflow Routing
| Workflow | Trigger | File |
|---|---|---|
| Analyze | "find", "get", "list", "extract" code patterns | Workflows/Analyze.md |
How It Works
- Clarify (skippable): AI asks clarifying questions to understand exactly what you need
- Generate: AI creates custom TypeScript AST traversal code for your specific query
- Execute: Runs the generated code against your files/directories
- Report: Returns findings with
file:line - codeformat
The AI generates fresh AST parsing code for each request, so you can query for any pattern - not limited to predefined queries.