code-tour

Generate CodeTour artifacts with orientation, map, and core path steps.

1|1|Updated May 3, 2026
One-click install
npx skills add https://github.com/matt-riley/agent-skills --skill code-tour-matt-riley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-tour
Source: https://github.com/matt-riley/agent-skills/tree/main/skills/code-tour
Command: npx skills add https://github.com/matt-riley/agent-skills --skill code-tour-matt-riley

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams design and deliver self-contained CodeTour artifacts that guide readers through a codebase with an orientation, high-level map, core path steps, and a closing summary.

Core Features & Use Cases

  • Create an orientation step that points to the codebase root and folders to orient new contributors.
  • Build a multi-step tour that anchors to specific files, lines, or patterns, linking to real files and resources.
  • Use for onboarding, PR reviews, RCA investigations, or architecture walkthroughs to share a coherent narrative.

Quick Start

Create a CodeTour JSON file that orients readers to the codebase, maps core modules, and anchors to concrete file references.

Frequently Asked Questions about code-tour

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

FAQPage Schema
How do I generate a code walkthrough for onboarding new developers to a codebase?

Generate code walkthrough artifacts by creating a CodeTour JSON file that orients readers to the codebase root, maps core modules, and anchors steps to specific files and line numbers. This provides a self-contained narrative arc for new-joiner ramp-up.

What is the best way to document codebase architecture with precise file and line anchors?

Document codebase architecture by building a multi-step CodeTour that anchors to specific files, lines, or patterns, linking to real files and resources. The tour enforces a narrative arc of orientation, a high-level map, core path steps, and closing content.

Can I use a code walkthrough tour for PR reviews and RCA investigations?

Yes, you can use generated CodeTour artifacts for PR reviews and RCA investigations. The tour provides a coherent narrative linking to concrete file references, enabling reviewers to follow the logical path through the codebase changes.

Does generating a CodeTour work for codebases of varying sizes?

Generating a CodeTour is applicable to codebases of varying sizes. It builds an orientation step pointing to the codebase root and folders, followed by core path steps that map core modules, scaling the narrative to fit the project scope.

How do I validate relative paths and frontmatter in a CodeTour JSON file?

Validate relative paths and frontmatter by enforcing the CodeTour narrative structure during generation. The process checks frontmatter, relative paths, and optional components like scripts, references, and assets to ensure links point to real files.

What is a CodeTour and when do I need it for my repository?

A CodeTour is a self-contained artifact that guides readers through a codebase using an orientation, high-level map, core path steps, and a closing summary. You need it when sharing a coherent narrative for onboarding, architecture walkthroughs, or code reviews.