# Scaffold

> Scaffolds new components, modules, services, or features with boilerplate

- Skill: `eliferjunior/scaffold` (Agent Skill)
- Install (CLI): `npx skillmds@latest add eliferjunior/scaffold`
- Raw SKILL.md: https://api.skillmd.com/api/skills/eliferjunior/scaffold/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: eliferjunior (https://skillmd.com/u/eliferjunior)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/eliferjunior/scaffold

---


When scaffolding ($ARGUMENTS):

1. **Determine what to create**:
   - Component, module, service, utility, hook, middleware, etc.
   - Check existing patterns in the project for consistency

2. **Generate files**:
   - Main implementation file in `src/`
   - Test file in `tests/`
   - Types/interfaces if needed
   - Export from index if applicable

3. **Follow project conventions**:
   - File naming: match existing pattern (camelCase, kebab-case, PascalCase)
   - Directory structure: place in correct location
   - TypeScript: strict types, no `any`
   - Exports: named exports preferred

4. **Include in generated code**:
   - Proper TypeScript types
   - Error handling
   - Basic JSDoc for public API
   - Placeholder test cases

5. **Wire up**: Update imports/exports in parent modules if needed

