ck:gkg

Builds a symbol graph from AST parsing to query definitions, usages, and relationships in Git repositories.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/MinhHoangDono/antigravity-kit --skill ck-gkg-minhhoangdono
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:gkg
Source: https://github.com/MinhHoangDono/antigravity-kit/tree/main/.agent/skills/gkg
Command: npx skills add https://github.com/MinhHoangDono/antigravity-kit --skill ck-gkg-minhhoangdono

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Codebases are hard to navigate: finding usages, tracing impacts of changes, and understanding architecture across many files and dependencies can be slow and error-prone.

Core Features & Use Cases

  • Semantic code navigation: Find go-to-definition and usages of functions/classes using AST parsing and a graph database.
  • Impact analysis for refactoring: Identify call sites and related symbols before making breaking changes.
  • Architecture visualization and RAG-ready understanding: Generate repo maps and support structured, graph-informed context for AI assistants.
  • Language coverage: Full cross-file references for Ruby, Java, and Kotlin; partial support for Python and TypeScript/JavaScript with current gaps.

Quick Start

Install the GitLab Knowledge Graph CLI, then run the instruction "gkg index" to index your current repository and enable semantic queries.

Frequently Asked Questions about ck:gkg

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

FAQPage Schema
How do I perform impact analysis for refactoring across multiple files?

Impact analysis for refactoring identifies call sites and related symbols by querying a symbol graph built from AST parsing, helping you trace breaking changes across files before committing.

How does AST parsing build a code knowledge graph for semantic navigation?

AST parsing builds a code knowledge graph by extracting definitions, usages, and relationships into a graph database, enabling semantic go-to-definition and find-usages queries across repositories.

Can I use graph-based code navigation for Python and TypeScript projects?

Graph-based code navigation supports Python and TypeScript/JavaScript projects partially, with current gaps in cross-file reference tracking compared to full coverage for Ruby, Java, and Kotlin.

Do I need a GitLab Knowledge Graph server to enable cross-file code analysis?

Yes, cross-file code analysis requires GitLab Knowledge Graph indexing and server or API integration via MCP to satisfy graph query workflows and semantic navigation.

What is the best way to visualize code architecture using a symbol graph?

The best way to visualize code architecture is by generating repo maps from the queried symbol graph, which maps code relationships across repos and provides structured context for AI assistants.

How to index a current Git repository for semantic code queries?

To index a Git repository for semantic code queries, install the GitLab Knowledge Graph CLI and run the "gkg index" instruction to build the symbol graph for navigation and analysis.