Docs / guides / README · Edit on GitHub

rgctl Guides

Practical, step-by-step guides for every major rgctl feature. Each guide uses the CoolStore application (example/coolstore) as a running example so you can follow along on a real Java EE codebase.

Guides

GuideFeatureDescription
Discovering and Indexing a CodebasediscoverBuild the knowledge graph from source code
Graph Query LanguagegqlQuery the code graph with Cypher-like syntax
Blast Radius Analysisblast-radiusMeasure upstream impact before changing a function
Semantic SearchsemanticNatural-language search over function symbols
Graph MetricsmetricsPageRank, betweenness, and community detection analytics
Community DetectioncommunitiesIdentify and label functional clusters in your codebase
Program SlicingsliceExtract the minimal set of statements affecting a variable
Hybrid CPGcpgCombined call-graph + per-function CFG/PDG analysis
Inspecting CFG, PDG, and DominanceinspectExamine low-level control flow, data dependence, and dominator trees
Exporting GraphsexportSerialize graph data to JSON, GraphML, Graphviz, Mermaid, or Obsidian
Markdown Context Graphdiscover -l markdown · exportIndex docs, Obsidian/OKF export, fixture feature tour (k8s-website scale example)
CI Policy CheckscheckEnforce architectural rules in your CI pipeline
HTTP Server and DashboardserveRun an HTTP API and browser-based dashboard
Migration Planningdiscover --export-migration-hintsGenerate a dependency-aware migration roadmap
Agent Skillinstall --skillTeach AI agents to use rgctl for refactoring, migration, porting, and testing

Prerequisites

All guides assume you have rgctl installed. See the Installation guide to get started.

To follow the examples, clone the repository and navigate to the example project:

git clone https://github.com/konveyor-ecosystem/coolstore.git
cd coolstore

Related Resources