Review.Create Code Tour
БесплатноБез исполняемых скриптовНе проверенWrite code_tour.md, a leveled checklist to understand the code, docs, and tests of a dir
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Given a dir, write
code_tour.md: a markdown checklist that guides a human through the code, docs, and tests of that dir - Split it into exactly three levels:
- Level 1: "Understand in 15 mins"
- Level 2: "Understand in 1 hour"
- Level 3: "Understand in full"
- Do not add or rename a level. Each level adds items to the levels before it
- A reader can stop after any level and still know the dir at that depth
- Give the time of every item, so the reader can plan the work
- Include examples and tests to run, so the reader sees how the code behaves
- Include the end-to-end demo in Level 3, from
code_demo.mdof the dir- The skill
.claude/skills/review.create_demo/SKILL.mdwrites this file - The tour does not explain the output: it points to the file
- The skill
- Take files, kinds, reading times, and code order from the
# Review roadmapsection of the dirREADME.md- The skill
.claude/skills/readme_dir.create/SKILL.mdwrites this section - The checklist does not repeat the map or the file table
- The skill
Conventions
- Follow the template
.claude/templates/review_create_code_tour.template.md- It has no
# Map of the Dir: the map is in the README
- It has no
- Write the text following
.claude/skills/text.rules.mdand.claude/skills/markdown.rules.md- Use
- [ ]for every checkbox, never a bare[ ]
- Use
- In Level 3 items, refer to
.claude/skills/coding.rules.md(Python) and.claude/skills/testing.rules.md(tests) - Take how to run the tests from the
## Testingsubsection of the roadmap
Workflow
Get the Input
- Take the dir from the arguments, or the current dir if none is given
- If the dir does not exist, report the error and stop
- Compute the dir path from the repo root:
> git rev-parse --show-toplevel - Write the output as
code_tour.mdin the dir. The name is fixed: it does not follow## Generated File Namingof.claude/skills/skill.rules.md- If the file exists, read it, then overwrite it. Keep the ticked items that are still in the new checklist
- Take the dir
README.md- If it is missing or has no
# Review roadmapsection, report the error and stop. Tell the user to run.claude/skills/readme_dir.create/SKILL.mdon the dir first
- If it is missing or has no
- Take the dir
code_demo.md- If it is missing, report the error and stop. Tell the user to run
.claude/skills/review.create_demo/SKILL.mdon the dir first
- If it is missing, report the error and stop. Tell the user to run
Read the Roadmap
- From the
# Review roadmapsection of<DIR>/README.md, take:- The entry points, in run order
- The layers, bottom first, and the import-graph cycles
- The test command, for the dev env and for Docker
- The reading speeds, in lines per min
- The "Skipped" line and the other notes on the table
- From the table, take each file's kind, lines,
Mins,Changedflag, doc, and test- The
coderows are in bottom-up import order - A raw export has no time, so give it no read item
- A Level 3 item may list the header of a raw export
- The
- Check that the roadmap is current:
> git ls-files --cached --others --exclude-standard <DIR> > wc -l <FILES>- If a file is missing from the table, or a
Linesvalue differs, report it and stop. Tell the user to run.claude/skills/readme_dir.create/SKILL.mdon the dir again
- If a file is missing from the table, or a
- Mark files with uncommitted changes, since the
Changedflag goes stale first:> git status --short <DIR>
Set the Reading Time
- Use the skim speed for
Skimitems, and the speed of the file's kind forReaditems - Compute an item's minutes as
ceil(lines / speed), with 1 as the minimum - Estimate the other items by hand, in whole mins:
- Run
--helpor a dry run: 2 - Run
pyteston one test file: 1 - Run
pyteston the whole dir: 2, or the measured time rounded up - Run a command that needs the internet, an LLM, or a browser: 5 to 30, and say what it needs
- Check a claim of the docs against the code: 5
- Run the coverage: 5
- Check a file against a rules file: 2 per file
- Run
- Show each item's time at its start:
(<N> mins), or(1 min)for one min - Sum each level's item times, and print the sum in the level's
Timeline- For Level 2 and Level 3, also print the sum up to that level
- Use these fixed titles, and never compute a title from the sums:
# Level 1: Understand in 15 Mins# Level 2: Understand in 1 Hour# Level 3: Understand in Full
- The
Timeline holds the real sum, so the reader sees any gap with the title
Understand Enough to Write Items
- For each file, read the docstring or first lines, and its paired doc
- Write each file's purpose in one short line
- Take the purpose of entry points and layers from the roadmap
- If the purpose is unclear, write only the file name and
purpose unknown. Do not guess
- Find the docs with a diagram, e.g., mermaid, PlantUML, C4, Graphviz, or TikZ:
> grep -rlE '```(mermaid|plantuml|dot|graphv
Установить Review.Create Code Tour в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Review.Create Code Tour?
Write code_tour.md, a leveled checklist to understand the code, docs, and tests of a dir
Как установить скилл Review.Create Code Tour?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Review.Create Code Tour запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic