ck:gkg

Analyze code relationships via GitLab Knowledge Graph for definitions and usages.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Code navigation and impact analysis across large Git repositories can be slow and error-prone. This skill provides an IDE-like semantic graph to locate definitions, usages, and architecture insights efficiently.

Core Features & Use Cases

  • Go-to-definition across files and repos
  • Find all usages and dependencies for a symbol
  • Generate architecture diagrams and insights for refactoring plans
  • Use Case: plan safe changes by analyzing downstream impacts before edits

Quick Start

Index your repository to build the knowledge graph and begin querying with MCP for go-to-definition and usages.

Frequently Asked Questions about ck:gkg

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

FAQPage Schema
How do I analyze code dependencies across multiple large Git repositories?

You can analyze cross-repo dependencies by building a code knowledge graph via AST parsing. This provides an IDE-like semantic graph to trace definitions and usages efficiently across multi-file and cross-repo contexts.

Does GitLab code navigation work with Python and Java projects?

GitLab code navigation supports Python and Java projects, along with Ruby, Kotlin, and TypeScript/JavaScript. It leverages the GitLab Knowledge Graph to map architecture and dependencies for these languages.

How do I find all usages of a symbol before planning a refactoring?

To find all usages before refactoring, query the knowledge graph to locate downstream impacts and dependencies. This allows you to generate architecture insights and plan safe changes by analyzing impacts before edits.

How to generate architecture diagrams from existing source code?

Generate architecture diagrams by indexing your repository to build a knowledge graph. Querying this graph maps dependencies and relationships, allowing you to visualize architecture insights for refactoring plans.

Can I use MCP to query go-to-definition across different repositories?

Yes, you can query go-to-definition across repositories using MCP. The skill integrates MCP/API access with a graph database to navigate definitions and usages across multi-file and cross-repo contexts.

What is the best way to map downstream impacts when changing a shared function?

The best way to map downstream impacts is using a graph database to find all usages of the shared function. This semantic navigation analyzes dependencies across files and repos to ensure safe changes before edits.