Code Tour

Turn an existing codebase into teaching material: audit docstring coverage, write why-focused docstrings that explain the reasoning behind each design decision, and generate a guided reading path (TOUR.md) with a pattern index and graded exercises. Use this whenever someone wants to document a codebase for humans rather than for an API reference — onboarding a new hire, handing a repo to another team, preparing a repo as a training or teaching module, "explain this codebase", "add docstrings", "write documentation for all the code", or after /repo-onboarding when the architecture is mapped but the code itself is undocumented. Distinct from its neighbours: /repo-onboarding generates the toolkit's contract files and /repo-health is a read-only sweep — this one writes documentation into the source, "help someone learn this repo", or when /code-tour, /docstrings, /codetour, or /onboarding-docs is invoked. Also use it when documentation exists but only says WHAT the code does and the user wants the WHY captured be

exerias21 8b4c905 6 files · 78.0 KB Updated

File contents

exerias21/brainstorm-toolkit/tree/main/skills/code-tour commit 8b4c90513a

Frequently asked questions

npx skillmds@latest add exerias21/code-tour