What problem does it solve?
Scaffold eliminates the repetitive, error-prone work of creating new source files that do not follow a project's established naming, import/export, testing, and wiring conventions by inferring and replicating those patterns automatically.
Core Features & Use Cases
- Exemplar-driven generation: Finds 2+ existing exemplars of the requested type and derives file naming, imports, exports, and internal structure from them.
- End-to-end wiring: Creates the main file and any required auxiliary files (types, tests, barrels) and wires them into existing registration points like index barrels or route registries.
- Validation and safety: Verifies syntax/importability and runs typecheck or manual verification steps, and prompts before overwriting existing files.
Quick Start
Use the scaffold skill to generate a new component named SettingsPanel that matches existing conventions and is wired into the project's barrels and routes.