Module scaffolder
Skill aiskillstore/marketplace/skills/ariegoldkin/module-scaffolder
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.From its SKILL.md
npx -y skills add aiskillstore/marketplace --skill module-scaffolderAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
3.4 KB, 714 tokens by cl100k_base, as published. Nobody here has run it
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
# 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
# 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
./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
./scripts/validate-module.sh <module-name>
Checks:
- Directory structure (6-folder architecture)
- File size limits (≤180 lines)
- Interface naming (I prefix)
- No
anytypes - Import patterns
Integration
Before scaffolding: Use brainstorming skill to plan module design
After scaffolding:
- Use
trpc-scaffolderto create API endpoints - Use
quality-reviewerto review code quality
Documentation
Detailed references available in references/:
6-folder-architecture.md- Where modules fit, structure rulesnaming-conventions.md- I prefix, PascalCase, camelCase rulespath-aliases.md- Import patterns, @shared, @lib usagequality-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.
What ships with it: 21 files
124.8 KB alongside SKILL.md, 9 of them executable
examples/
- complete-module/components/ExampleCard.tsx1.4 KB
- complete-module/components/index.tsruns64 B
- complete-module/hooks/index.tsruns58 B
- complete-module/hooks/useExample.tsruns1.6 KB
- complete-module/README.md1.4 KB
- complete-module/types.tsruns564 B
- complete-module/utils/helpers.tsruns902 B
- complete-module/utils/index.tsruns55 B
references/
- 6-folder-architecture.md6.2 KB
- naming-conventions.md7.0 KB
- path-aliases.md6.9 KB
- quality-checklist.md8.7 KB
scripts/
- add-component.shruns2.5 KB
- create-module.shruns3.4 KB
- validate-module.shruns4.2 KB
templates/
- component.tsx.template669 B
- hook.ts.template500 B
- index.ts.template134 B
- types.ts.template360 B
- util.ts.template291 B
- skill-report.json78.2 KB