crud-resource-scaffolder

Generate models, schemas, controllers, routes, and barrel exports for Express.js and MongoDB CRUD resources.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/spuneiartur/claude-agent-specs --skill crud-resource-scaffolder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crud-resource-scaffolder
Source: https://github.com/spuneiartur/claude-agent-specs/tree/main/express-js/skills/skills/crud-resource-scaffolder
Command: npx skills add https://github.com/spuneiartur/claude-agent-specs --skill crud-resource-scaffolder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a complete CRUD admin resource for an Express.js + MongoDB API, automating the generation of models, schemas, controllers, routes, and barrel exports to accelerate API resource creation.

Core Features & Use Cases

  • Generates all required files for a new resource: model, validation schema, filters, controllers (create/read-many/read-one/update/delete), routes, and barrel exports.
  • Updates multiple barrel index files and the main router to wire the new resource into the API.
  • Ideal for quickly adding new entities or collections when expanding the API, such as creating endpoints for products, reviews, or FAQs.

Quick Start

Scaffold a new CRUD resource for your chosen entity, and let it generate the full resource skeleton for the API.

Frequently Asked Questions about crud-resource-scaffolder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a full CRUD resource for an Express MongoDB API?

To scaffold a full CRUD resource for an Express MongoDB API, this tool automatically generates models, schemas, controllers, routes, and barrel exports. It wires the new resource into your main router and updates barrel index files instantly.

What files are generated when scaffolding an Express API resource?

Scaffolding an Express API resource generates models, validation schemas, filters, controllers for create, read, update, and delete operations, routes, and barrel exports. It updates all necessary barrel index files to integrate the new resource.

Can I generate controllers for relational resources in Express and MongoDB?

Yes, you can generate controllers for relational resources in Express and MongoDB. The scaffolder supports both simple and relational resources, creating the full endpoint skeleton and wiring them into your API automatically.

Do I need to install new dependencies to scaffold Express MongoDB routes?

You do not need to install new dependencies to scaffold Express MongoDB routes. The scaffolder requires no new packages beyond your project's existing tooling and strictly follows your current coding standards.

What is the best way to add a new entity to an Express MongoDB API?

The best way to add a new entity to an Express MongoDB API is automated CRUD scaffolding. It accelerates API resource creation by generating the complete file skeleton for entities like products, reviews, or FAQs without manual routing updates.

Why are my barrel exports not updating when adding Express API resources?

Barrel exports fail to update when adding Express API resources if done manually. This scaffolder automatically updates multiple barrel index files and the main router to wire the new resource into the API correctly.