feat: add code-tour skill — AI-generated CodeTour walkthroughs#1277
Open
vaddisrinivas wants to merge 3 commits intogithub:stagedfrom
Open
feat: add code-tour skill — AI-generated CodeTour walkthroughs#1277vaddisrinivas wants to merge 3 commits intogithub:stagedfrom
vaddisrinivas wants to merge 3 commits intogithub:stagedfrom
Conversation
Contributor
🔍 Skill Validator Results2 resource(s) checked | ✅ All checks passed Full output |
Author
|
Closing — will resubmit as separate PRs per skill, following contribution guidelines. |
Author
|
Reopened with fixes — SKILL.md trimmed from 633 to 432 lines (under 500 limit). Validator now passes. Previous closing comment was from an earlier version. |
aaronpowell
requested changes
Apr 9, 2026
Contributor
aaronpowell
left a comment
There was a problem hiding this comment.
The README needs to be updated with the change to the skills. Run npm run build to update them.
Reduce persona table to top 10, condense verbose examples and notes, trim redundant anti-patterns, compress step type docs and PR recipe. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Addresses review feedback from @aaronpowell
b692465 to
63b9a49
Compare
aaronpowell
requested changes
Apr 9, 2026
Contributor
aaronpowell
left a comment
There was a problem hiding this comment.
The SKILL.md refers to some files that don't exist in the PR
Comment on lines
+21
to
+29
| Two scripts are bundled in `scripts/`: | ||
|
|
||
| - **`scripts/validate_tour.py`** — run after writing any tour. Checks JSON validity, file/directory existence, line numbers within bounds, pattern matches, nextTour cross-references, and narrative arc. Run it: `python ~/.agents/skills/code-tour/scripts/validate_tour.py .tours/<name>.tour --repo-root .` | ||
| - **`scripts/generate_from_docs.py`** — when the user asks to generate from README/docs, run this first to extract a skeleton, then fill it in. Run it: `python ~/.agents/skills/code-tour/scripts/generate_from_docs.py --persona new-joiner --output .tours/skeleton.tour` | ||
|
|
||
| Two reference files are bundled: | ||
|
|
||
| - **`references/codetour-schema.json`** — the authoritative JSON schema. Read it to verify any field name or type. Every field you use must conform to it. | ||
| - **`references/examples.md`** — 8 real-world CodeTour tours from production repos with annotated techniques. Read it when you want to see how a specific feature (`commands`, `selection`, `view`, `pattern`, `isPrimary`, multi-tour series) is used in practice. |
Contributor
There was a problem hiding this comment.
These files don't exist in the PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the code-tour skill — an AI-powered CodeTour generator that creates persona-targeted, step-by-step
.tourfiles linking to real files and line numbers in any repository.What it does
.tourJSON files for VS Coderef,isPrimary,nextTourfor multi-tour seriesLinks
npx skills add vaddisrinivas/code-tourChecklist
skills/code-tour/SKILL.mdnameanddescriptionstagedstagedbranch