module-scaffold

Scaffold new modules and entities with CRUD APIs in the Open Mercato framework.

1.6k|354|Updated Sep 10, 2025
One-click install
npx skills add https://github.com/open-mercato/open-mercato --skill module-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: module-scaffold
Source: https://github.com/open-mercato/open-mercato/tree/main/packages/create-app/agentic/shared/ai/skills/module-scaffold
Command: npx skills add https://github.com/open-mercato/open-mercato --skill module-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of new modules and entities within the Open Mercato framework, significantly reducing boilerplate code and ensuring adherence to project conventions.

Core Features & Use Cases

  • Module Generation: Creates the full directory structure for a new module, including entity definitions, API routes, backend pages, validators, and more.
  • Entity Scaffolding: Generates boilerplate code for entities, CRUD API endpoints, and backend UI components (list, create, edit pages).
  • Use Case: When starting a new feature like "product catalog" or "user reviews," this Skill will set up all the necessary files and configurations, allowing you to focus on the unique business logic.

Quick Start

Use the module-scaffold skill to create a new module named 'products' with a primary entity 'product'.

Frequently Asked Questions about module-scaffold

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

FAQPage Schema
How do I generate boilerplate code for new modules and entities?

To generate boilerplate code for new modules and entities, use this scaffolding tool to automatically create directory structures, CRUD API endpoints, backend UI pages, validators, and ACL configurations within the Open Mercato framework.

What is the best way to bootstrap a new feature in the Open Mercato framework?

The best way to bootstrap a new feature in the Open Mercato framework is using module generation, which sets up the necessary files and configurations for data models so you can focus on unique business logic instead of boilerplate code.

Can I scaffold CRUD API endpoints and backend UI pages together?

Yes, you can scaffold CRUD API endpoints and backend UI pages together. Entity scaffolding generates boilerplate code for entities, API routes, and backend UI components including list, create, and edit pages simultaneously.

Does module scaffolding include dependency injection registration and event declarations?

Yes, module scaffolding includes dependency injection registration and event declarations. It generates all required files and conventions for module structures, ensuring adherence to project conventions during the bootstrapping process.

When do I need to use a code generation tool for entity creation?

You need to use a code generation tool for entity creation when starting a new feature like a product catalog or user reviews, where setting up all necessary files, validators, and configurations manually would require excessive boilerplate code.