scaffold

Generates project-aware scaffolding that matches existing codebase conventions and wires new files into exports.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/special-place-administrator/citadel_codex --skill scaffold-special-place-administrator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold
Source: https://github.com/special-place-administrator/citadel_codex/tree/main/skills/scaffold
Command: npx skills add https://github.com/special-place-administrator/citadel_codex --skill scaffold-special-place-administrator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Project-aware scaffolding that reads the existing codebase conventions (naming, structure, imports, exports, test patterns) and generates new files that precisely match them, eliminating guesswork and drift.

Core Features & Use Cases

  • Reads current project conventions and replicates exact patterns for new files.
  • Wires generated files into the project's registration points and exports (barrels) to ensure seamless integration.
  • Supports generating components, modules, services, routes, hooks, or utilities with correct wiring and registration.

Quick Start

Scaffold a new component that matches the project's conventions and wires it into exports and registrations.

Frequently Asked Questions about scaffold

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

FAQPage Schema
How do I scaffold new code files to match existing codebase conventions?

Scaffold new code files by reading the existing project conventions for naming, structure, and test patterns, then generating new files that precisely match them to eliminate guesswork and drift. This ensures new components and services integrate seamlessly.

What is project-aware codegen and how does it handle file wiring?

Project-aware codegen generates new files based on existing repository patterns and handles file wiring by automatically updating registration points and barrel exports to ensure the new modules are correctly integrated into the project.

Can I generate routes and hooks while enforcing exact naming patterns?

Yes, you can generate routes and hooks while enforcing exact naming patterns. The scaffolding process reads current conventions and replicates exact patterns for new files, ensuring correct wiring and registration updates across the codebase.

Does automated scaffolding work with established projects to update barrel exports?

Automated scaffolding works with established projects by wiring generated files into the project's registration points and barrel exports. It reads the current export structure and updates it automatically to maintain repository consistency.

What is the best way to automate component registration and avoid codebase drift?

The best way to avoid codebase drift is to use project-aware scaffolding that reads existing conventions and automatically wires generated files into registration points. This enforces exact naming and export patterns to maintain consistency.

When should I not use automated codegen for generating new project modules?

You should not use automated codegen when your project lacks established conventions or consistent patterns. The scaffolding relies on reading existing repository structures to replicate exact patterns for new files and wiring.