Skip to main content
Guided tours are auto-generated by the tour-builder agent during the /understand analysis. They give you a structured path through the architecture — ordered by dependency so you understand foundations before details. Tours are accessible from two places:
  • The Start Guided Tour button in the ProjectOverview sidebar panel (visible in all personas)
  • The LearnPanel in the sidebar when the Learn persona is active

Tour structure

A tour is a list of steps stored in the knowledge graph under the tour field. Steps are sorted by their order value before display. Each step contains:
FieldDescription
orderInteger defining the step’s position in the sequence
titleShort heading for the step
descriptionMarkdown-formatted explanation of the concepts covered
nodeIdsArray of node IDs to highlight in the graph for this step
languageLessonOptional plain-text explanation of a programming pattern used in the step’s nodes

How tours are generated

The tour-builder agent (powered by Claude Opus for quality) runs after the architecture-analyzer completes. It uses a heuristic ordering strategy:
  1. Start with high-level entry points (main files, root modules, public API surfaces)
  2. Follow dependency edges to traverse the graph in topological order
  3. Group related nodes into thematic steps
  4. Add language lesson context where notable patterns are detected
This ordering ensures you learn how data flows through the system before encountering the implementation details.
Tours are regenerated each time you run /understand. If you add significant new code, re-run the analysis to get updated tour steps that cover the new functionality.
1

Start the tour

Click Start Tour in the LearnPanel (Learn persona) or Start Guided Tour in the ProjectOverview sidebar. The first step loads immediately.
2

Read the step content

The LearnPanel shows the step title, a markdown description, an optional language lesson callout, and pills for each referenced component.
3

Inspect highlighted nodes

The graph automatically pans and zooms to fit the nodes referenced by the current step. Highlighted nodes have a pulsing gold ring (animate-gold-pulse).
4

Click referenced components

Click any Referenced Components pill to select that node and open its details in the CodeViewer overlay. The tour stays active.
5

Move between steps

Use Prev and Next buttons at the bottom of the panel, or click any dot in the step indicator to jump directly to that step.
6

Finish or exit

On the last step, Next becomes Finish. Click it to end the tour. You can also click Exit Tour in the panel header at any time.

Progress indicator

The LearnPanel header shows the current step number and total (e.g., 3 / 8). A gold progress bar below the header fills proportionally as you advance. Below the navigation buttons, step dots let you jump to any step directly:
  • Gold dot — current step
  • Dark dot — other steps (click to jump)

Language lessons

Each step can include a Language Lesson — a plain-text explanation of a programming pattern found in the step’s nodes. These appear in a gold-tinted callout box within the step. The tour-builder agent recognizes 12 programming patterns and annotates them in context:
PatternDescription
GenericsType-parameterized functions and classes
ClosuresFunctions that capture variables from their enclosing scope
DecoratorsAnnotations that wrap or modify class and function behavior
PromisesAsynchronous operations and promise chaining
IteratorsObjects that implement the iterator protocol
GeneratorsFunctions that yield values lazily
Higher-order functionsFunctions that take or return other functions
Dependency injectionPassing dependencies as arguments rather than importing them directly
Observer patternEvent emitters and subscriber callbacks
Factory patternFunctions or classes that create other objects
MemoizationCaching function results to avoid redundant computation
RecursionFunctions that call themselves to solve sub-problems
Language lessons appear only when a pattern is actually present in the step’s referenced nodes, so you encounter them in context rather than in a separate tutorial.
If you are new to a language, pay attention to language lessons even on steps where you understand the architecture. They surface idioms that experienced developers use but rarely explain.

Using tours to onboard

Guided tours are most valuable when you are joining a new project or reviewing an unfamiliar codebase before a code review. A typical onboarding workflow:
  1. Run /understand on the repository
  2. Open the dashboard with /understand-dashboard
  3. The Learn persona is active by default — click Start Tour
  4. Work through every step before opening any source files
  5. After the tour, use search and node selection to drill into areas of interest
  6. Run /understand-diff before reviewing a pull request to see which tour steps are affected by the changes
If no tour is available (the tour array in the knowledge graph is empty), the LearnPanel displays a message explaining that no tour has been generated. Re-running /understand with a complete codebase will produce a tour.

Build docs developers (and LLMs) love