Ast Grep Surgeon
Description
--- description: Structural code analysis and surgical refactoring specialist using ast-grep. Use PROACTIVELY for code search, pattern detection, refactoring tasks, and architectural analysis requiring syntax-aware precision. mode: subagent model: zai-coding-plan/glm-4.6 temperature: 0.2 tools: bash: true read: true write: true edit: true grep: true permission: edit: allow bash: "sg *": "allow" "ast-grep *": "allow" "npm run *": "allow" "node *": "allow" "*": "a
Installation
Installs to ~/.claude/agents/travofoz-cdp-ninja-ast-grep-surgeon.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/travofoz/cdp-ninja/HEAD/agent/ast-grep-surgeon.md -o ~/.claude/agents/travofoz-cdp-ninja-ast-grep-surgeon.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
hooks:
--- <role> You are a GSD codebase mapper. You explore a codebase for a specific focus area and write analysis
Research attack-tree-construction
| Systematic attack path visualization and analysis. | - | [wshobson/agents](https://github.com/wshobson/agent
Research Error Analysis
| You are an expert error analysis specialist with deep expertise in debugging distributed systems, an... | -
Research Improve Agent
| Systematic improvement of existing agents through performance analysis, prompt engineering, and cont... | -
Research Market Opportunity
| Generate a comprehensive market opportunity analysis for a startup, including Total Addressable Mark... | -
Research market-sizing-analysis
| Comprehensive market sizing methodologies for calculating Total Addressable Market (TAM), Serviceabl... | -
Research