gkg

Analyze code semantics via GitLab Knowledge Graph and KuzuDB for navigation.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/IoT-VN/tuya-energy-dashboard --skill gkg-iot-vn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gkg
Source: https://github.com/IoT-VN/tuya-energy-dashboard/tree/main/.opencode/skills/gkg
Command: npx skills add https://github.com/IoT-VN/tuya-energy-dashboard --skill gkg-iot-vn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides IDE-like code navigation and analysis capabilities for AI assistants, enabling deeper understanding and manipulation of codebases.

Core Features & Use Cases

  • Semantic Code Analysis: Understand code structure, dependencies, and relationships.
  • Code Navigation: Go-to-definition and find usages across multiple files and languages.
  • Impact Analysis: Assess the effect of code changes before refactoring.
  • Architecture Visualization: Generate diagrams to understand codebase structure.
  • Use Case: Before refactoring a critical function, use this Skill to find all its usages across the entire project to ensure no unintended consequences.

Quick Start

Use the gkg skill to index the current Git repository.

Frequently Asked Questions about gkg

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

FAQPage Schema
How do I find all usages of a function across a large codebase for impact analysis?

Go-to-definition and find-usages across multiple languages require a semantic code graph. This Skill indexes a Git repository into a local graph database to enable IDE-like code navigation and dependency mapping.

Does semantic code navigation work with both Ruby and Java repositories?

Semantic code analysis supports Ruby, Java, Kotlin, Python, TypeScript, and JavaScript. It indexes these languages within a local graph database to provide cross-file code navigation and relationship mapping.

How do I index a Git repository for architecture visualization and code analysis?

To index a Git repository for architecture visualization, use this Skill to parse the codebase and store relationships in a local KuzuDB graph database. This enables structural analysis and diagram generation.

What is a knowledge graph in the context of code analysis and refactoring?

A code knowledge graph maps semantic relationships and dependencies within a repository to support refactoring. It links definitions and usages across files to enable deep code navigation and impact analysis.

Do I need a local database to perform AI-powered code navigation?

Yes, this Skill requires a local KuzuDB graph database to store indexed code relationships. It uses this database to perform semantic code analysis and enable go-to-definition queries.

Can I assess the impact of code changes before refactoring a critical function?

Impact analysis assesses the downstream effects of code changes before refactoring by querying a semantic code graph. This Skill finds all usages of a function across the project to prevent unintended consequences.