acquire-codebase-knowl…
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like…
Use this skill to create CodeTour .tour files — persona-targeted, step-by-step walkthroughs that link to real files and line numbers. Trigger for: "create a tour", "make a code tour", "generate a tour", "onboarding tour", "tour for this PR", "tour for this bug", "RCA tour",
Claude Code
$ npx -y skills add github/awesome-copilot --skill code-tour --agent claude-code
Codex
$ npx skills add github/awesome-copilot --skill code-tour -a codex -y
Cursor
$ npx skills add github/awesome-copilot --skill code-tour -a cursor -y
Gemini CLI
$ npx skills add github/awesome-copilot --skill code-tour -a gemini-cli -y
GitHub Copilot
$ npx skills add github/awesome-copilot --skill code-tour -a github-copilot -y
OpenCode
$ npx skills add github/awesome-copilot --skill code-tour -a opencode -y
Windsurf
$ npx skills add github/awesome-copilot --skill code-tour -a windsurf -y
name: code-tour description: > Use this skill to create CodeTour .tour files — persona-targeted, step-by-step walkthroughs that link to real files and line numbers. Trigger for: "create a tour", "make a code tour", "generate a tour", "onboarding tour", "tour for this PR", "tour for this bug", "RCA tour", "architecture tour", "explain how X works", "vibe check", "PR review tour", "contributor guide", "help someone ramp up", or any request for a structured walkthrough through code. Supports 20 developer personas (new joiner, bug fixer, architect, PR reviewer, vibecoder, security reviewer, and more), all CodeTour step types (file/line, selection, pattern, uri, commands, view), and tour-level fields (ref, isPrimary, nextTour). Works with any repository in any language.
You are creating a **CodeTour** — a persona-targeted, step-by-step walkthrough of a codebase that links directly to files and line numbers. CodeTour files live in `.tours/` and work with the [VS Code CodeTour extension](https://github.com/microsoft/codetour).
Two scripts are bundled in `scripts/`:
Two reference files are bundled:
These are confirmed production `.tour` files. Fetch one when you need a working example of a specific step type, tour-level field, or narrative structure — don't write from memory when the real thing is one fetch away.
Find more with the GitHub code search: https://github.com/search?q=path%3A**%2F*.tour+&type=code
| What to study | File URL | |---|---| | `directory` + `file+line` (contributor onboarding) | https://github.com/coder/code-server/blob/main/.tours/contributing.tour | | `selection` + `file+line` + intro content step (accessibility project) | https://github.com/a11yproject/a11yproject.com/blob/main/.tours/code-tour.tour | | Minimal tutorial — tight `file+line` narration for interactive learning | https://github.com/lostintangent/rock-paper-scissors/blob/master/main.tour | | Multi-tour repo with `nextTour` chaining (cloud native OCI walkthroughs) | https://github.com/lucasjellema/cloudnative-on-oci-2021/blob/main/.tours/introduction.tour | | `isPrimary: true` (marks the onboarding entry point) | https://github.com/nickvdyck/webbundlr/blob/main/.tours/getting-started.tour | | `pattern` instead of `line` (regex-anchored steps) | https://github.com/nickvdyck/webbundlr/blob/main/.tours/architecture.tour |
**Raw content tip:** Prefix `raw.githubusercontent.com` and drop `/blob/` for raw JSON access.
A great tour is not just annotated files. It is a **narrative** — a story told to a specific person about what matters, why it matters, and what to do next. Your goal is to write the tour that the right person would wish existed when they first opened this repo.
**CRITICAL: Only create `.tour` JSON files. Never create, modify, or scaffold any other files.**
---
Before asking the user anything, explore the codebase:
(package.json, pyproject.toml, go.mod, Cargo.toml, composer.json, etc.)
If the repo is sparse or empty, say so and work with what exists.
**If the user says "generate from README" or "use the docs":** run the skeleton generator first, then fill in every `[TODO: ...]` by reading the actual files:
python skills/code-tour/scripts/generate_from_docs.py \ --persona new-joiner \ --output .tours/skeleton.tour
Don't read everything — start here, then follow imports.
| Stack | Entry points to read first | |-------|---------------------------| | **Node.js / TS** | `index.js/ts`, `server.js`, `app.js`, `src/main.ts`, `package.json` (scripts) | | **Python** | `main.py`, `app.py`, `__main__.py`, `manage.py` (Django), `app/__init__.py` (Flask/FastAPI) | | **Go** | `main.go`, `cmd/<name>/main.go`, `internal/` | | **Rust** | `src/main.rs`, `src/lib.rs`, `Cargo.toml` | | **Java / Kotlin** | `*Application.java`, `src/main/java/.../Main.java`, `build.gradle` | | **Ruby** | `config/application.rb`, `config/routes.rb`, `app/controllers/application_controller.rb` | | **PHP** | `index.php`, `public/index.php`, `bootstrap/app.php` (Laravel) |
The same persona asks for different things depending on what kind of repo this is:
| Repo type | What to emphasize | Typical anchor files | |-----------|-------------------|----------------------| | **Service / API** | Request lifecycle, auth, error contracts | router, middleware, handler, schema | | **Library / SDK** | Public API surface, extension points, versioning | index/exports, types, changel
A community-created collection of custom agents, instructions, skills, hooks, workflows, and plugins to supercharge your GitHub Copilot experience.
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like…
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps…
Generate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default,…
Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks,…
Use this skill when the user shares ad campaign performance data and asks what to cut, scale, or test. Trigger for prompts like…
Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…