Skip to content
affaan-m avatar

Code Tour

Create CodeTour .tour walkthroughs that anchor persona-specific steps to real files and line ranges.

CCM score
77 of 100
skills.sh installs
10.7K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers onboarding, architecture, PR, RCA, security, and feature-explanation tours, each mapped to a reader persona and depth
  • Includes JSON step types for directories, file and line anchors, selections, patterns, and URIs, saved under .tours/
  • Enforces anchor validation so every referenced path and line exists, and checks that ref points at a revision containing the files
  • Designed for maintainers and reviewers who need a guided reading path through a codebase rather than a flat summary

Install

$ npx -y skills add affaan-m/ecc --skill code-tour -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Code Tour

Create CodeTour .tour files for codebase walkthroughs that open directly to real files and line ranges. Tours live in .tours/ and are meant for the CodeTour format, not ad hoc Markdown notes.

A good tour is a narrative for a specific reader:

  • what they are looking at
  • why it matters
  • what path they should follow next

Only create .tour JSON files. Do not modify source code as part of this skill.

When to Use

Use this skill when:

  • the user asks for a code tour, onboarding tour, architecture walkthrough, or PR tour
  • the user says "explain how X works" and wants a reusable guided artifact
  • the user wants a ramp-up path for a new engineer or reviewer
  • the task is better served by a guided sequence than a flat summary

Examples:

  • onboarding a new maintainer
  • architecture tour for one service or package
  • PR-review walk-through anchored to changed files
  • RCA tour showing the failure path
  • security review tour of trust boundaries and key checks

When NOT to Use

Details

Repository
github.com/affaan-m/ecc
Categories
Technical Documentation, Code Review & Quality
First seen
Jul 14, 2026

Questions

What does the code-tour skill do?

The code-tour skill creates CodeTour .tour files, which are step-by-step walkthroughs of a codebase that open directly to real files and line ranges. Tours are written for a specific reader, such as a new joiner, reviewer or architect, and are stored in the .tours/ folder.

When should I use code-tour instead of a plain explanation?

Use it when you want a reusable guided artifact, such as an onboarding tour, architecture walkthrough, PR tour or root-cause tour. The skill does not modify source code; it only creates .tour JSON files.

How do I install code-tour?

Run npx -y skills add affaan-m/ecc --skill code-tour -y in your project. After that, the agent can create .tour files for onboarding, architecture, PR and RCA walkthroughs. Category: Technical Documentation, where it ranks in the top 50.

Why does a code tour's step fail to open in a PR review?

The ref field sets the git branch the tour reads from. If ref points at the base branch, steps on files added by the PR will not open, so set ref to the PR branch.

More from affaan-m/ecc

All 257

Similar to Code Tour

More Technical Documentation