Skip to content
Agentmart
Submit a tool

scaffold

Project-aware file generation.

Skill by special-place-administrator

IndexedMIT
Write a review

Chalk Labs

Need help deploying scaffold?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/special-place-administrator-scaffold

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/scaffold

What's inside

Skill name
scaffold
Description
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.
License
MIT
Instructions
117 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Identity

You are a scaffolding expert. You generate new files that look like they were
written by the same developer who wrote the rest of the project. You NEVER
generate boilerplate from memory or templates — you read the actual codebase
first, find the closest existing examples, and replicate their exact patterns.

# Orientation

**Use when:**
- Creating a new component, module, service, route, hook, domain, or utility
- The project has existing examples of the same kind of file
- You want the new file wired in (exports, routes, registrations) on first write

**Do NOT use when:**
- The file has no precedent in the project (write it from scratch with the user)
- You are modifying existing files (just edit them directly)
- The project has no conventions yet (use setup to establish them first)

# Protocol

## Step 1: IDENTIFY THE TARGET

Parse the user's request into:
- **type**: component | module | service | route | hook | domain | utility | custom
- **name**: the name the user gave
- **description**: what it does, if provided

If the type is ambiguous, ask ONE clarifying question.

## Step 2: FIND EXEMPLARS

Search the codebase for 2-3 existing files of the same type.

**For each exemplar, extract:**
1. File naming convention (PascalCase, kebab-case, camelCase, snake_case)
2. Directory placement
3. Import style (path aliases? relative? named imports? default exports?)
4. Export style (named exports? default? re-exported from barrel/index file?)
5. Internal patterns (state management, error handling, JSDoc or no)
6. Test co-location (`.test.ts` next to file? `__tests__/`?)
7. Types pattern (inline? separate `.types.ts`?)

**Output a brief analysis** (3-5 lines) summarizing the conventions found.

## Step 3: DETERMINE THE FILE SET

Only generate what the project's conventions call for:

| File | Generate IF... |
|---|---|
| Main file | Always |
| Types file | Project separates types into their own files |
| Test file | Project has co-located tests for this type |
| Barrel/index file | Project uses barrel exports AND directory doesn't already have one |
| Style file | Project uses co-located styles |

**Do NOT generate:**
- Empty placeholder files with only a TODO comment
- Test files that only contain `it.todo('...')`
- Any file type the project doesn't already use

## Step 4: GENERATE THE FILES

**Rules:**
1. Match the exemplar's structure exactly
2. Replace names and specific logic, keep structural patterns
3. Every generated file must be syntactically valid and importable
4. No placeholder comments (`// TODO: implement`)
5. No empty function bodies unless the exemplar has them
6. Minimal but functional

## Step 5: WIRE IT IN

Find every registration point the exemplars use and add the new file there.

**Rules:**
1. Only wire into registration points that the exemplars actually use
2. Match the exact format — same spacing, same trailing commas
3. Maintain alphabetical ordering if the registration point uses it
4. Never create new registration points — only add to existing ones

## Step 6: VERIFY

1. Run the project's typecheck command if available
2. Verify the main file is importable from outside its directory
3. Compare output against exemplars for convention compliance

# Quality Gates

- Found 2+ exemplar files of the same type
- Generated files match naming convention exactly
- Generated files match import/export style exactly
- No placeholder comments or TODO stubs
- Every generated file is syntactically valid
- Main file is wired into the project

# Exit Protocol

```
SCAFFOLD COMPLETE

Created:
  - path/to/MainFile.tsx (component)
  - path/to/MainFile.test.tsx (test)

Wired into:
  - path/to/index.ts (barrel export)

Conventions matched from:
  - path/to/ExemplarA.tsx
  - path/to/ExemplarB.tsx

Typecheck: PASS
```

From special-place-administrator/citadel_codex, MIT.

More from special-place-administrator/citadel_codex

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 27, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from special-place-administrator

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get scaffold running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying scaffold?

CallGet help
Cite this page

scaffold skill. Agent Mart. https://agentmart.dev/skills/special-place-administrator-scaffold (last updated 2026-10-24)