ck:gkg

Indexes source code into a knowledge graph for semantic analysis and navigation.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/lengo0951/pms --skill ck-gkg-lengo0951
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:gkg
Source: https://github.com/lengo0951/pms/tree/main/.claude/skills/gkg
Command: npx skills add https://github.com/lengo0951/pms --skill ck-gkg-lengo0951

SYSTEM DOCUMENTATION & REQUIREMENTS

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

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.

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 and find usages across a large codebase?

Semantic code analysis through a knowledge graph representation enables IDE-like code navigation, allowing you to execute go-to-definition and find usages of specific symbols across your entire project by indexing the source code.

Can I use GitLab Knowledge Graph for impact analysis before refactoring a Ruby on Rails application?

Yes, GitLab Knowledge Graph supports impact analysis for Ruby on Rails applications by indexing the codebase, allowing you to find all method usages and evaluate refactoring risks before making structural changes.

What programming languages are supported for code navigation and architecture visualization?

Code navigation and architecture visualization primarily support Ruby, Java, Kotlin, Python, and TypeScript/JavaScript, utilizing AST parsing and a graph database to map the code structure, with support for other languages currently in progress.

How do I index my source code to start querying code structure semantics?

To begin querying code structure semantics, you first index your source code repository by running the `gkg index` command with your project path, then start the querying service by executing `gkg server start`.

Does AST parsing and knowledge graph indexing work for analyzing software architecture in Python?

AST parsing and knowledge graph indexing support software architecture analysis in Python by creating a comprehensive graph representation of the code structure, enabling architecture visualization and semantic navigation.