What problem does it solve?
This Skill turns informal design intent into a complete five-piece documentation set (SPEC / API / CONTEXT / RULES / CHANGELOG) and optionally scaffolds minimal source directories and starter files, eliminating manual doc drafting and inconsistent project onboarding.
Core Features & Use Cases
- Template-driven doc generation: Populate root- or module-level SPEC, API, CONTEXT, RULES, and CHANGELOG from configurable templates.
- Controlled scaffolding: Optionally create declared directories and minimal starter files only when explicitly requested by the user, with dry-run previews and overwrite safety checks.
- Scope and cascade management: Determine and persist documentation scope (single, cascade-down, full-cascade) into AGENTS.md and update parent module CONTEXT/CHANGELOG when appropriate.
- Use Case: Prepare a new microservice repository by providing architecture, tech stack, and module boundaries, then generate consistent docs and a minimal src layout for the team.
Quick Start
Use context-init to generate the five-piece document set for a new project by providing the project name, one-line description, tech stack, target directory, and whether to include directories or starter files.