Transform an existing codebase into a guided tutorial for learning and clean-room reimplementation from first principles. Use when the user wants to study a repository deeply, turn a codebase into lessons, create a reimplementation tutorial, or generate tutorial files from an existing project, especially when the lessons should be stored in Obsidian via the obsidian-cli workflow.
Use this skill when the user wants to learn a real codebase by rebuilding it from the ground up.
Explore the target codebase before proposing lesson structure.
If the DeepWiki MCP server is available and the codebase is in a GitHub repository, use it early to learn the project structure, architecture, and major subsystems. Treat DeepWiki as a supplement to direct code reading, not a replacement.
Read the local codebase directly. Identify:
Ask the user how to map the generated lessons into their Obsidian workflow. Default to storing the lessons in an Obsidian vault via the skill. If the user does not want Obsidian, fall back to under the target codebase root.
obsidian-clitutorials/After the user confirms lesson count and storage location, create an outline that matches that lesson count exactly. The outline should move from fundamentals to architecture to implementation details, ending with integration and reimplementation guidance.
Present the outline for confirmation or adjustment before writing all lesson files.
Write the tutorial files step by step. Each lesson should be self-contained but build on the previous ones.
Add YAML front matter to every generated Markdown file. Include the aigc tag in front matter for all files. Use tags: [aigc] unless the target workflow requires another equivalent YAML list form.
Each lesson should help the learner both understand and rebuild the system. For each lesson, include:
Prefer practical explanations over exhaustive paraphrase. The learner should come away knowing what to build next and why.
Unless the user requests a different format, generate Markdown files with YAML front matter that includes tags: [aigc].
Default storage mode:
obsidian-cli skill and create the curriculum inside the user's Obsidian vaultUnless the user requests a different format, generate:
00-overview.md with the full curriculum01-intro.md, 02-runtime.md