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
Structured graph queriesfind / callers / relations / …Agent-facing graph exploration verbs
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 Checkscheck, pr-checkPR temporal gates and local policy checks
Pull Request Reviewreview paths, review checkStructural before/after call-path inspection and PR gates
HTTP Server and DashboardserveRun an HTTP API and browser-based dashboard
Watch mode and incremental updateupdate, serve --watchKeep the graph fresh without full rediscover
Migration Planningdiscover --export-migration-hintsGenerate a dependency-aware migration roadmap
Clone DetectionclonesDetect exact (Type-1), bloom, and sub-function fragment clones
Vulnerability and OSV Supply-Chain Analysisvuln, deps, taint, securityEnd-to-end OSV advisory triage, manifest scanning, call-path reachability, and OpenVEX generation
Agent packCoolStore install walkthroughUse cases; NL → rgctl skill → CLI

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