ck:gkg

Analyze code semantics with GitLab Knowledge Graph for definitions, usages, and impact.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/weihung0831/claudekit --skill ck-gkg-weihung0831
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:gkg
Source: https://github.com/weihung0831/claudekit/tree/main/.opencode/skills/gkg
Command: npx skills add https://github.com/weihung0831/claudekit --skill ck-gkg-weihung0831

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides advanced semantic code analysis capabilities, enabling AI assistants to understand code structure, navigate definitions, and analyze impacts across a codebase.

Core Features & Use Cases

  • Code Navigation: Go-to-definition and find usages for symbols.
  • Impact Analysis: Understand the ripple effects of code changes.
  • Architecture Visualization: Generate diagrams of code structure.
  • Use Case: Before refactoring a critical function, use this Skill to find all its current usages across the entire project, ensuring no unintended consequences.

Quick Start

Use the ck:gkg skill to find all usages of the 'User' class in the current project.

Frequently Asked Questions about ck:gkg

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

FAQPage Schema
How do I find all usages of a symbol before refactoring my code?

To find all usages of a symbol before refactoring, you need semantic code analysis to navigate definitions and analyze ripple effects across your project. This approach uses AST parsing to ensure no unintended consequences occur.

What is semantic code analysis and how does it work?

Semantic code analysis is a technique that understands code structure by leveraging AST parsing and a knowledge graph. It enables go-to-definition, find-usages, and impact analysis by mapping relationships between symbols.

Does this semantic code analysis support Python and TypeScript?

Yes, semantic code analysis supports Python and TypeScript, alongside Ruby, Java, Kotlin, and JavaScript. It parses these languages into an abstract syntax tree to build a navigable code structure.

Do I need a local Git repository to perform impact analysis?

Yes, you need a local Git repository to perform impact analysis. The semantic code engine requires local indexing of your repository to build the graph necessary for tracking symbol definitions and usages.

Can I visualize code architecture using a knowledge graph?

Yes, you can visualize code architecture using a knowledge graph built from AST parsing. This generates diagrams of your code structure, helping you understand relationships and dependencies between modules.