ck:gkg

Analyze GitLab-hosted repository code semantics using the GitLab Knowledge Graph.

1|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/TNHoang2708/Gym_Ver2 --skill ck-gkg-tnhoang2708
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:gkg
Source: https://github.com/TNHoang2708/Gym_Ver2/tree/main/.claude/skills/gkg
Command: npx skills add https://github.com/TNHoang2708/Gym_Ver2 --skill ck-gkg-tnhoang2708

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gitlab-knowledge-graph, ast-parsing-tools, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The Skill unit addresses the complexity of semantic code analysis by providing a unified interface for code navigation, impact analysis, and visualization.

Core Features & Use Cases

  • Code Navigation: Find definitions, usages, and impacts of code symbols.
  • Impact Analysis: Assess changes before refactoring.
  • Visualization: Generate architecture diagrams.
  • Use Case: Refactor a complex codebase with confidence by visualizing the code architecture and analyzing the impact of proposed changes.

Quick Start

To analyze the codebase in your current directory, run gkg index and then use the command gkg server start to begin exploring the knowledge graph.

Frequently Asked Questions about ck:gkg

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

FAQPage Schema
How do I perform semantic code analysis on a GitLab repository?

Semantic code analysis on a GitLab repository is performed using the GitLab Knowledge Graph to index the codebase, enabling symbol navigation, impact assessment, and architecture visualization.

What's the best way to visualize code architecture before refactoring?

To visualize code architecture before refactoring, index your directory and start the knowledge graph server to generate architecture diagrams, assess structural impacts, and navigate definitions safely.

Do I need a specific server environment to use GitLab Knowledge Graph for code navigation?

Yes, GitLab Knowledge Graph code navigation requires the Knowledge Graph server and appropriate language parsing tools installed on your local system to function correctly.

Can I use this approach for impact analysis across multiple programming languages?

Yes, impact analysis and IDE-like navigation support a variety of programming languages, provided the matching ast-parsing-tools are installed on your system to parse the codebase.

How does knowledge graph code analysis compare to standard IDE refactoring features?

Knowledge graph code analysis provides a unified interface for code navigation, impact analysis, and visualization, offering broader architectural insights than standard IDE refactoring features.

Why does semantic code navigation fail to find symbol definitions in my current directory?

Semantic code navigation fails when the directory is not yet indexed; you must execute the indexing command before querying the knowledge graph server for symbol definitions and usages.