code-tour
Skill47 starsChanged 4 months agoMITView on GitHub
Use when a user asks for a code tour, onboarding walkthrough, architecture tour, or PR tour — creates persona-targeted, step-by-step `.tour` files with real file and line anchors
12 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- github/awesome-copilottheir own version, first seen Sep 23, 2026
- templetongroup/radiantedited, first seen Sep 17, 2026
- zcaceres/skillstheir own version, first seen Aug 19, 2026
- patterson-agents/skillstheir own version, first seen Aug 12, 2026
- SamuelNDCE/claude-super-skill-libraryedited, first seen Aug 1, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- templetongroup/radiant★ 11316% same
- Jamkris/everything-gemini-code★ 8719% same
- woxiangyangzhimao/skills★ 1419% same
- SamuelNDCE/claude-super-skill-library★ 119% same
Wrote their own version · 8
- github/awesome-copilot★ 40ksame name
- Hassaan146/claude-skills★ 18same name
- zcaceres/skills★ 7same name
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
- patterson-agents/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository111 other files it gives its agents.
- AGENTS.mdAGENTS.md
- COPILOT-INSTRUCTIONS.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- ai-visibilitySkill
- content-strategySkill
- seoSkill
- actions-debuggingSkill
- agentic-engineeringSkill
- autopilot-patternsSkill
- background-agentSkill
- context-primeSkill
- copilot-memorySkill
- cross-session-memorySkill
- ecosystem-intakeSkill
- fleet-parallelSkill
- github-code-searchSkill
- github-codespaces-efficiencySkill
- github-issue-triageSkill
- github-pr-workflowSkill
- ide-switchingSkill
- knowledge-curatorSkill
- mcp-builderSkill
- mcp-ecosystemSkill
- multi-model-strategySkill
- plan-mode-masterySkill
- scope-guardSkill
- session-managementSkill
- stack-detectorSkill
- sub-agent-sandboxingSkill
- task-intake-routerSkill
- team-plannerSkill
- token-cost-optimizerSkill
- api-and-interface-designSkill
- code-reviewSkill
- context-engineeringSkill
- cpp-debuggingSkill
- deprecation-and-migrationSkill
- diagnoseSkill
- fix-build-errorsSkill
- fix-github-issueSkill
- implementSkill
- improve-codebase-architectureSkill
- nestjs-prismaSkill
- nextjs-prismaSkill
- performance-optimizationSkill
- pr-multi-perspective-reviewSkill
- prototypeSkill
- react-vitestSkill
- receiving-code-reviewSkill
- refactor-cleanSkill
- reviewSkill
- skill-creatorSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- systematic-debuggingSkill
- tdd-workflowSkill
- zoom-outSkill
- add-to-changelogSkill
- api-documentationSkill
- architecture-decisionsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Create CodeTour .tour files for codebase walkthroughs that open directly to real files and line ranges.
- Distinctive: line 43
Do not start writing steps before understanding the code shape.
- Distinctive: line 58
Every file path and line anchor must be real:
- Distinctive: line 62
Never guess line numbers
- Distinctive: line 99
Every referenced path exists
- Distinctive: line 100
Every line or selection is in range
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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, and what path to follow next.
Only create .tour JSON files. Do not modify source code.
When to Use
- User asks for a code tour, onboarding tour, architecture walkthrough, or PR tour
- User says "explain how X works" and wants a reusable guided artifact
- Onboarding a new maintainer or reviewer
- Documenting an RCA failure path or security trust boundary
When NOT to Use
| Instead of code-tour | Use |
| A one-off chat explanation is enough | answer directly |
User wants prose docs, not a .tour artifact | doc-update skill |
| Task is implementation or refactoring | implement directly |
Workflow
1. Discover
Explore the repo before writing anything:
- README and entry points
- Folder structure and key config files
- Changed files if PR-focused
Do not start writing steps before understanding the code shape.
2. Infer the reader persona
| Request shape | Persona | Steps |
| "onboarding", "new joiner" | new-joiner | 9–13 |
| "quick tour", "vibe check" | vibecoder | 5–8 |
| "architecture" | architect | 14–18 |
| "tour this PR" | pr-reviewer | 7–11 |
| "why did this break" | rca-investigator | 7–11 |
| "security review" | security-reviewer | 7–11 |
3. Verify anchors
Every file path and line anchor must be real:
- Confirm the file exists (
glob/grep) - Confirm line numbers are in range (
viewwithview_range) - Never guess line numbers
4. Write the .tour file
Output path: .tours/<persona>-<focus>.tour
{
"title": "<Tour Title>",
"description": "<One sentence: who this tour is for and what it covers>",
"steps": [
{
"file": "src/auth/middleware.ts",
"line": 42,
"title": "Auth Gate",
"description": "Every protected request passes here first. Notice the early-return on missing tokens."
},
{
"directory": "src/services",
"title": "Service Layer",
"description": "All business logic lives here — handlers delegate immediately to these services."
},
{
"file": "src/core/pipeline.ts",
"selection": {
"start": { "line": 15, "character": 0 },
"end": { "line": 34, "character": 0 }
},
"title": "Request Pipeline",
"description": "The 5-stage pipeline that every request traverses."
}
]
}5. Validate before finishing
- Every referenced path exists
- Every line or selection is in range
- First step is anchored to a real file or directory (not content-only)
- Tour tells a coherent story, not just a file list
Step Types
| Type | Use when |
file + line | Default — anchor to a specific line |
file + selection | A specific block matters more than the whole file |
directory | Orient the reader to a module boundary |
| content-only | Closing "next steps" only — never as first step |
See Also
- doc-update — prose documentation updates
- pr-multi-perspective-review — review a PR from multiple lenses
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

