ck:gkg

Analyze code semantics with GitLab Knowledge Graph for navigation and impact.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides semantic code analysis with GitLab Knowledge Graph, solving the challenges of go-to-definition, find-usages, impact analysis, and architecture visualization for various programming languages.

Core Features & Use Cases

  • Go-to-Definition: Navigate directly to the definition of a symbol.
  • Find Usages: Locate all usages of a function or class across the codebase.
  • Impact Analysis: Analyze the impact of code changes before refactoring.
  • Architecture Visualization: Generate architecture diagrams for codebases.
  • Language Support: Supports Ruby, Java, Kotlin, Python, TypeScript/JavaScript with varying levels of support.

Quick Start

Use the gkg skill to index your current repository and start the server for querying.

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 to find usages of a function across my codebase?

Semantic code analysis locates all usages of a function by indexing your repository with the GitLab Knowledge Graph, enabling accurate find-usages queries across supported languages. You can then navigate directly to symbol definitions and trace references.

Can I use this for go-to-definition navigation in Python and TypeScript?

Yes, go-to-definition navigation is supported for Python and TypeScript/JavaScript, alongside Ruby, Java, and Kotlin. The semantic analysis engine parses your Git repository to build the necessary code navigation graph.

What is the best way to analyze the impact of code changes before refactoring?

Impact analysis identifies all affected usages of modified symbols before refactoring by querying the GitLab Knowledge Graph. This semantic approach maps dependencies across the codebase to prevent breaking changes.

Does architecture visualization work with Java and Kotlin codebases?

Architecture visualization is supported for Java and Kotlin codebases, generating diagrams from the semantic analysis of your Git repository. It maps structural dependencies to clarify complex software architecture.

Do I need a Git repository to run semantic code analysis?

Yes, a Git repository is required to run semantic code analysis and build the GitLab Knowledge Graph. The indexing process relies on the repository structure to accurately parse definitions and map usages.