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.
Best use case
module-scaffolder is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using module-scaffolder should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/module-scaffolder/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How module-scaffolder Compares
| Feature / Agent | module-scaffolder | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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.
Related Skills
terraform-module-creator
Terraform Module Creator - Auto-activating skill for DevOps Advanced. Triggers on: terraform module creator, terraform module creator Part of the DevOps Advanced skill category.
building-terraform-modules
This skill empowers Claude to build reusable Terraform modules based on user specifications. It leverages the terraform-module-builder plugin to generate production-ready, well-documented Terraform module code, incorporating best practices for security, scalability, and multi-platform support. Use this skill when the user requests to create a new Terraform module, generate Terraform configuration, or needs help structuring infrastructure as code using Terraform. The trigger terms include "create Terraform module," "generate Terraform configuration," "Terraform module code," and "infrastructure as code."
nestjs-module-generator
Nestjs Module Generator - Auto-activating skill for Backend Development. Triggers on: nestjs module generator, nestjs module generator Part of the Backend Development skill category.
css-module-generator
Css Module Generator - Auto-activating skill for Frontend Development. Triggers on: css module generator, css module generator Part of the Frontend Development skill category.
refactor-module
Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.
azure-verified-modules
Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.
update-avm-modules-in-bicep
Update Azure Verified Modules (AVM) to latest versions in Bicep files.
saas-scaffolder
Generates complete, production-ready SaaS project boilerplate including authentication, database schemas, billing integration, API routes, and a working dashboard using Next.js 14+ App Router, TypeScript, Tailwind CSS, shadcn/ui, Drizzle ORM, and Stripe. Use when the user wants to create a new SaaS app, start a subscription-based web project, scaffold a Next.js application, or mentions terms like starter template, boilerplate, new project, or wiring up auth and payments.
git-submodule
Manage Git submodules for including external repositories within a main repository. Use when working with external libraries, shared modules, or managing dependencies as separate Git repositories.
terraform-module-library
Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.
terraform-aws-modules
Terraform module creation for AWS — reusable modules, state management, and HCL best practices. Use when building or reviewing Terraform AWS infrastructure.
module-health
Modular architecture health assessor for Logseq Template Graph. Analyzes module balance, cohesion, size distribution, and dependencies. Calculates health scores and suggests reorganization. Use when checking module structure, assessing architecture quality, or planning refactoring.