Skills for Real Engineers. Straight from my .agents directory.
scaffold
Agent skill fromSethGammon/Citadel
Project-aware file generation. Reads existing codebase conventions (naming, structure, imports, exports, test patterns) then generates new files that match exactly. Wires generated files into the project's registration points.
How to install scaffold
npx skills add SethGammon/Citadel# or add only this skill to Claude Code: copy the folder
skills/scaffold/
# into
~/.claude/skills/scaffold/ (all projects)
.claude/skills/scaffold/ (one project)
1# /scaffold — Project-Aware File Generator23## Orientation45**Use when:** Creating a new component, module, service, route, hook, domain, or utility with existing examples in the project.67**Do NOT use when:** The file has no precedent (use `/marshal` for unconstrained generation), you're modifying existing files (use `/refactor`), or the project has no conventions yet.89**Needs:** target type, name, and optional description.1011## Protocol1213### Step 1: IDENTIFY THE TARGET1415Parse the user's request into:16- **type**: component | module | service | route | hook | domain | utility | custom17- **name**: the name the user gave (e.g., "UserProfile", "auth-service", "settings route")18- **description**: what it does, if provided (otherwise leave blank for now)1920If the type is ambiguous, ask ONE clarifying question. Do not ask more than one.2122### Step 2: FIND EXEMPLARS2324Search the codebase for 2-3 existing files of the same type.2526**Search strategy by type:**2728| Type | Search Pattern | What to Look For |29|---|---|---|30| component | `**/*.tsx` in the same directory or sibling directories | Functional components with similar complexity |31| module | Same directory as where new module will live | Registration pattern, exports, config shape |32| service | `**/services/**`, `**/lib/**` | Class vs function, singleton vs factory, error handling |33| route | Router config files, `**/routes.*`, `**/pages/**` | Route definition format, lazy loading, guards |34…
Excerpt shown under the repository's MIT license.
More skills in Citadel
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
