linear-walkthrough
Installation
SKILL.md
Linear Code Walkthrough
Generate a linear, step-by-step markdown walkthrough that explains how code works. Output is GitHub-flavored markdown that can be rendered as a self-contained HTML page.
Detail Level
If in an interactive session (not piped/scripted), use AskUserQuestion to ask the detail level before writing:
- Brief — The user already knows the domain. Keep explanations short, focus on structure and key decisions. Minimal prose, mostly code snippets with short annotations.
- In-depth — The user wants thorough understanding. Explain design decisions, trade-offs, how pieces connect, and why things are done a certain way.
- Beginner-friendly — The user is new to this topic. Explain concepts as you go, define jargon, add context a newcomer would need. Enough depth to actually teach the topic, not just show the code.
If the user specifies a level in their request (e.g. "give me a quick walkthrough"), skip the question and use that level.
Modes
1. Codebase Walkthrough
When asked to explain a codebase, module, or feature: