Create a detailed, beginner-friendly interactive lesson from exactly one target: either one file or one folder. Use this skill whenever the user asks to explain a specific file/folder in depth, says 'spiegami questo file/cartella', asks for a focused code walkthrough, or wants to avoid full-codebase analysis. Prefer this skill over broad codebase-course skills when scope must stay narrow and explicit.
Turn exactly one user-selected target into a detailed learning artifact for non-technical users.
Given one file OR one folder, create a deep and practical explanation focused only on that scope:
Default output is a single self-contained HTML learning page. If the user explicitly asks for a text-only explanation, return structured Markdown instead.
Use this skill when the user asks things like:
Do not use this skill when the user clearly asks for full-project architecture coverage.
Collect:
If target does not exist, ask for a corrected path.
If target is a file:
If target is a folder:
Always include:
Generate one self-contained .html file with:
Design direction:
Use this structure exactly: