modular-architecture

Generate Laravel module directory structures with controllers, actions, models, and routes.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/thomiOmi/laravel-starterkit-api --skill modular-architecture-thomiomi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modular-architecture
Source: https://github.com/thomiOmi/laravel-starterkit-api/tree/main/.agents/skills/modular-architecture
Command: npx skills add https://github.com/thomiOmi/laravel-starterkit-api --skill modular-architecture-thomiomi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and extension of Laravel modules, streamlining the development process and ensuring adherence to best practices.

Core Features & Use Cases

  • Module Scaffold: Automatically generates the directory structure for new Laravel modules.
  • Feature Addition: Adds new features like models, controllers, actions, and routes to existing modules.
  • Use Case: When starting a new Laravel project or adding a new feature to an existing one, this Skill can save time by automating repetitive tasks.

Quick Start

Use the modular-architecture skill to create a new module named 'users'.

Frequently Asked Questions about modular-architecture

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

FAQPage Schema
How do I automate Laravel module creation and enforce DDD architecture?

Laravel module creation is automated by generating necessary directory structures including controllers, actions, models, and routes. This ensures adherence to DDD-style architecture and modular conventions during project setup.

What is the best way to add new features to existing Laravel modules?

The best way to add features to Laravel modules is by automatically scaffolding new models, controllers, actions, and routes into the existing module directory. This maintains DDD conventions without manual file creation.

Do I need PHP 8.4 to use automated Laravel module scaffolding?

Yes, PHP 8.4 is required to use this automated Laravel module scaffolding. The process specifically targets Laravel 13 projects and relies on PHP 8.4 to generate the correct DDD-style directory structures.

Can I generate Laravel controllers and actions without manual directory setup?

Yes, generating Laravel controllers and actions without manual directory setup is possible through automated scaffolding. The system automatically creates the required directory structure and files while ensuring all components follow DDD conventions.

What components are included when scaffolding a new Laravel module?

Scaffolding a Laravel module includes generating controllers, actions, models, and routes within a structured directory. This provides the foundational file structure needed to start developing features immediately.

When should I avoid automated Laravel module generation?

Automated Laravel module generation should be avoided if your project does not use Laravel 13 or PHP 8.4. Additionally, projects not following DDD-style architecture or modular conventions may not benefit from this specific directory structure.