gkg

Analyze code semantics via AST parsing and KuzuDB graph database.

1|1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill gkg-thanh-apero
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gkg
Source: https://github.com/Thanh-apero/apero-kit-cli/tree/main/templates/skills/gkg
Command: npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill gkg-thanh-apero

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gitlab, kuzu, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines code analysis and navigation by providing semantic insights into a codebase using the GitLab Knowledge Graph, enabling efficient definition lookup, impact analysis, and architecture visualization.

Core Features & Use Cases

  • Semantic Code Analysis: Offers detailed code analysis with the ability to find all usages of a function/class, go-to-definition, and perform impact analysis.
  • Code Navigation: Provides IDE-like code navigation for AI assistants, including architecture visualization.
  • Language Support: Supports Ruby, Java, Kotlin, Python, TypeScript/JavaScript with various levels of feature support.
  • Use Case: Ideal for developers needing to quickly locate function definitions, understand the impact of code changes, or visualize the architecture of a codebase.

Quick Start

To begin using the gkg skill, install it and index your Git repository with gkg index.

Frequently Asked Questions about gkg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform impact analysis to find all usages of a function across a codebase?▼

You can perform impact analysis by indexing your Git repository into a GitLab Knowledge Graph using AST parsing, which maps cross-file references to locate all usages of a function or class.

How does semantic code navigation work for an AI assistant?▼

Semantic code navigation works by parsing codebase ASTs and storing relationships in a KuzuDB graph database, providing an AI assistant with IDE-like capabilities for go-to-definition and architecture visualization.

Can I use codebase visualization and cross-file reference support for Python and TypeScript?▼

Yes, codebase visualization and cross-file reference support are available for Python and TypeScript, alongside Ruby, Java, Kotlin, and JavaScript, with varying degrees of feature support per language.

Do I need GitLab and KuzuDB to enable code navigation for my repository?▼

Yes, GitLab and KuzuDB are required dependencies, as the engine uses GitLab Knowledge Graph semantics and the KuzuDB graph database to map definitions and usages for AI-driven code navigation.

What is the best way to start analyzing codebase semantics for definition lookup?▼

The best way to start analyzing codebase semantics is to install the tool and run the index command on your Git repository, which immediately enables go-to-definition lookup and code analysis.