Skip to content
Back to skills

Scaffold

ASecurity

Scaffold a new module (source + matching test + registration) following the team's conventions. Use on demand when starting a new component, handler, or service. Produces exploratory reasoning about layout, so it runs forked.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsbashapi

Works with

  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add craigforr/cert-anthropic-2026 --skill scaffold --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scaffold?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scaffold
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/craigforr-scaffold-cert-anthropic-2026/badge)](https://www.skillsdirectory.com/skills/craigforr-scaffold-cert-anthropic-2026)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scaffold
description: >-
  Scaffold a new module (source + matching test + registration) following the
  team's conventions. Use on demand when starting a new component, handler, or
  service. Produces exploratory reasoning about layout, so it runs forked.
context: fork
allowed-tools: Read, Write, Glob
argument-hint: "[module name and kind, e.g. users-api handler]"
---

# scaffold

Generate the boilerplate for a new module named in `$ARGUMENTS`, wiring it into
the existing project structure and honoring the path-scoped rules in
`.claude/rules/` (API handlers, tests, etc.).

`context: fork` runs this skill in an isolated sub-agent so its layout
exploration and drafting do NOT pollute the main conversation — only the final
summary of created files returns. `allowed-tools: Read, Write, Glob` restricts it
to reading the tree and writing new files (no `Bash`, no `Edit`), so it cannot
run destructive commands. `argument-hint` prompts the developer for the module
name and kind when they invoke `/scaffold` with no arguments.

## Steps

1. Use `Glob` to find a sibling of the same kind and mirror its layout.
2. Use `Read` to learn the local imports, exports, and naming conventions.
3. Use `Write` to create the source file, a matching test file, and any index /
   registration entry required.

## Output (return only this to the main session)

- **Created files**: paths of every file written.
- **Follow-ups**: anything the developer must fill in (business logic, fixtures).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.