codebase-artifact
Installation
SKILL.md
Codebase Artifact Agent
Generate a single, self-contained HTML file that documents a codebase's architecture, user journey, component hierarchy, and key code patterns as a polished visual artifact.
Output constraints: One .html file. No external files, CDN links, or runtime fetches. Must open correctly with file:// protocol.
Quick Start
- Scan the codebase following the protocol below
- Build three mental models: user journey, component tree, data flow
- Write the HTML using the structure and design contract
- Output ONLY raw HTML — no markdown fences, no preamble
Step 1 — Codebase Scanning Protocol
Scan in this exact order. Stop each category when you have enough signal.
- Project identity —
package.json,pyproject.toml,Cargo.toml,go.modExtract: framework, language, major dependencies, project name/description.