scaffold

Generate new project files matching existing codebase conventions and wiring.

820|78|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/SethGammon/Citadel --skill scaffold-sethgammon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold
Source: https://github.com/SethGammon/Citadel/tree/main/skills/scaffold
Command: npx skills add https://github.com/SethGammon/Citadel --skill scaffold-sethgammon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables generation of new project files that conform to the existing codebase conventions, eliminating guesswork and drift.

Core Features & Use Cases

  • Project-aware file generation: read naming, structure, imports/exports, and test patterns, then generate files that match exact project conventions.
  • Automatic wiring: attach new files to registration points (exports, routes, registrations) on first write.
  • Safe scaffolding: avoids overwriting existing files and preserves consistency across the codebase.

Quick Start

Ask me to scaffold a new component, module, or route by providing its type and name, and I will generate and wire it into your project.

Frequently Asked Questions about scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate new project files that match existing codebase conventions?

To generate project-aligned files, provide the file type and name. The Skill reads your current codebase to infer naming, imports/exports, and test patterns, then outputs files with appropriate wiring and registration.

Can I automatically wire new components and routes into existing registration points?

Yes, automatic wiring attaches new files to existing registration points like exports, routes, and module registrations on first write, ensuring immediate integration and consistency across the codebase.

What is the safest way to scaffold new modules without overwriting existing files?

Safe scaffolding avoids overwriting existing files by reading the current codebase structure first and generating new project files that conform to existing conventions, eliminating guesswork and drift.

Does project-aware code generation work for utilities and services, or just components?

Project-aware code generation applies to creating components, modules, services, routes, and utilities within an existing codebase, ensuring wiring and consistency across all generated file types.