ast-analyzer
CommunityDeep code insights, precise refactoring, zero breakage.
Software Engineering#code quality#refactoring#impact analysis#pattern detection#code structure#dependency mapping#AST analysis
Authorbejranonda
Version1.0.0
Installs0
System Documentation
What problem does it solve? This Skill provides a structural understanding of code beyond simple text analysis, enabling precise refactoring, accurate dependency tracking, and reliable impact analysis across multiple programming languages. This prevents unintended side effects during code changes and reduces debugging time.
Core Features & Use Cases:
- Multi-Language AST Parsing: Parses code into Abstract Syntax Trees for Python, JavaScript, and TypeScript to understand its true structure and semantics.
- Hierarchy & Call Graph Analysis: Extracts function/class hierarchies and builds call graphs to visualize dependencies and control flow.
- Pattern & Anti-Pattern Detection: Identifies common design patterns (e.g., Singleton) and code smells (e.g., God Class, Long Function) at a structural level.
- Impact & Coupling Analysis: Calculates the downstream impact of changes and measures coupling between modules to identify high-risk areas for modification.
- Use Case: Before refactoring a critical function, use this skill to analyze its call graph and calculate the potential impact of changes, ensuring no unintended side effects are introduced and the refactoring is safe.
Quick Start: Analyze the provided Python code snippet to detect any "God Class" anti-patterns and "Long Function" code smells.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ast-analyzer Download link: https://github.com/bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude/archive/main.zip#ast-analyzer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.