What problem does it solve?
This Skill addresses the complexities of code analysis by offering a semantic code analysis engine, providing IDE-like code navigation capabilities specifically tailored for AI assistants.
Core Features & Use Cases
- Semantic Code Analysis: Utilizes AST parsing and a graph database for a comprehensive understanding of the code structure.
- Go-to-Definition and Find Usages: Navigate and find usages of symbols across the codebase.
- Impact Analysis: Perform impact analysis before refactoring to mitigate risks.
- Architecture Visualization: Visualize the code architecture for better understanding.
- Language Support: Supports multiple languages including Ruby, Java, Kotlin, Python, TypeScript/JavaScript with varying levels of functionality.
- Use Case: For instance, in a Ruby on Rails project, this Skill can help you find all usages of a specific method across the application to ensure refactoring is consistent and impact is properly evaluated.
Quick Start
Start by indexing your code repository with gkg index /path/to/project. To begin querying, simply run gkg server start.