What problem does it solve?
Draft projects often lack a shared context map, causing AI guidance to drift and misalign with existing architecture. This skill bootstraps a consistent project context by generating initial context documents and architecture diagrams for brownfield repositories.
Core Features & Use Cases
- Brownfield context generation: Scans existing codebases to produce architecture diagrams and context files (draft/architecture.md, draft/tech-stack.md, etc.).
- One-time initialization with optional refresh: Creates initial context only once per project, with support for subsequent refresh via
/draft:init refresh (as described in the operation).
- Mermaid-driven visualizations: Generates mermaid diagrams to visualize system structure and dependencies for onboarding and planning.
Quick Start
Run /draft:init to bootstrap the initial Draft context files in your repository. You can then review and adjust the generated docs as needed, and use /draft:init refresh to update context when your codebase changes.