Skip to content
Back to skills

Module Scaffolder

ASecurity

Scaffolds new feature modules in DevPrep AI following the 6-folder architecture with proper TypeScript interfaces, path aliases, and quality standards. Use when creating new domains like 'analytics', 'notifications', or any new feature module.

  • 470 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
developmenttypescriptbashapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill module-scaffolder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Module Scaffolder?

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

Security grade badge for Module Scaffolder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-module-scaffolder/badge)](https://www.skillsdirectory.com/skills/aiskillstore-module-scaffolder)

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: module-scaffolder
description: Scaffolds new feature modules in DevPrep AI following the 6-folder architecture with proper TypeScript interfaces, path aliases, and quality standards. Use when creating new domains like 'analytics', 'notifications', or any new feature module.
allowed-tools: [Read, Write, Bash, Glob]
---

# Module Scaffolder

Automate creation of feature modules with proper structure, boilerplate files, and enforced quality standards.

---

## Auto-Triggers

Auto-triggered by keywords:
- "new module", "create module", "scaffold module"
- "new feature module", "add module"

---

## Quick Commands

```bash
# Create new module
./.claude/skills/module-scaffolder/scripts/create-module.sh <module-name>

# Add component to module
./.claude/skills/module-scaffolder/scripts/add-component.sh <module-name> <ComponentName>

# Validate module
./.claude/skills/module-scaffolder/scripts/validate-module.sh <module-name>
```

---

## Generated Structure

```
modules/<module-name>/
├── components/
│   ├── ExampleCard.tsx  # Starter component (rename/delete)
│   └── index.ts         # Barrel exports
├── hooks/
│   └── index.ts
├── utils/
│   └── index.ts
└── types.ts             # Module-specific types
```

**All generated files automatically follow DevPrep AI quality standards.**

---

## Usage Workflow

### 1. Creating a New Module

**Example:** Create analytics module

```bash
# 1. Scaffold
./scripts/create-module.sh analytics

# 2. Add components as needed
./scripts/add-component.sh analytics AnalyticsChart
./scripts/add-component.sh analytics AnalyticsSummary

# 3. Validate
./scripts/validate-module.sh analytics
```

**What happens:**
- Module directory created with proper structure
- Boilerplate files generated from templates
- TypeScript interfaces with I prefix
- Path aliases configured
- Quality standards enforced

### 2. Adding Components

```bash
./scripts/add-component.sh <module-name> <ComponentName>
```

**Result:**
- Component file generated with proper TypeScript patterns
- Barrel export (`index.ts`) automatically updated
- I prefix interface included
- Ready to implement logic

### 3. Validating Modules

```bash
./scripts/validate-module.sh <module-name>
```

**Checks:**
- Directory structure (6-folder architecture)
- File size limits (≤180 lines)
- Interface naming (I prefix)
- No `any` types
- Import patterns

---

## Integration

**Before scaffolding:** Use `brainstorming` skill to plan module design

**After scaffolding:**
- Use `trpc-scaffolder` to create API endpoints
- Use `quality-reviewer` to review code quality

---

## Documentation

Detailed references available in `references/`:

- `6-folder-architecture.md` - Where modules fit, structure rules
- `naming-conventions.md` - I prefix, PascalCase, camelCase rules
- `path-aliases.md` - Import patterns, @shared, @lib usage
- `quality-checklist.md` - Complete quality standards

**Examples:** See `examples/complete-module/` for fully structured reference module

---

## Troubleshooting

**Module name:** Use lowercase-with-hyphens (`analytics`, `user-profile`)

**Component name:** Use PascalCase (`AnalyticsChart`, `UserCard`)

**Path errors:** Ensure running from project root or use absolute paths

---

## Templates

All templates in `templates/` directory are automatically used by scripts. Modify templates to customize generated code patterns.

Files in this skill

  • SKILL.md3.4 KB
  • examples/complete-module/README.md1.4 KB
  • examples/complete-module/components/ExampleCard.tsx1.4 KB
  • examples/complete-module/components/index.ts64 B
  • examples/complete-module/hooks/index.ts58 B
  • examples/complete-module/hooks/useExample.ts1.6 KB
  • examples/complete-module/types.ts564 B
  • examples/complete-module/utils/helpers.ts902 B
  • examples/complete-module/utils/index.ts55 B
  • references/6-folder-architecture.md6.2 KB
  • references/naming-conventions.md7 KB
  • references/path-aliases.md6.9 KB
  • references/quality-checklist.md8.7 KB
  • scripts/add-component.sh2.5 KB
  • scripts/create-module.sh3.4 KB
  • scripts/validate-module.sh4.2 KB
  • skill-report.json12.3 KB
  • templates/component.tsx.template669 B
  • templates/hook.ts.template500 B
  • templates/index.ts.template134 B

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.

Comments

Loading comments…

Newsletter

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