project-laravel

Enforce Laravel project conventions and scaffold modular modules with UUID models.

20|5|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/nasrulhazim/agent-skills --skill project-laravel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-laravel
Source: https://github.com/nasrulhazim/agent-skills/tree/main/skills/project-laravel
Command: npx skills add https://github.com/nasrulhazim/agent-skills --skill project-laravel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel project conventions are enforced and code is scaffolded to ensure consistency across modules, teams, and deployments.

Core Features & Use Cases

  • Enforce Kickoff-based Laravel conventions including UUID models extending Base
  • Generate enums with Contract and InteractsWithEnum, action classes with Builder pattern, and modular routes
  • Provide architecture tests, helper functions, and Docker-based local development scaffolding
  • Use this to scaffold new modules, generate models, create enums, add routes, write helpers, or audit code against conventions

Quick Start

Make a Kickoff-Laravel project conforming to the conventions and scaffold a new module example by supplying the module name and fields.

Frequently Asked Questions about project-laravel

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

FAQPage Schema
How do I enforce Laravel project conventions across multiple modules?

You can enforce Laravel conventions by scaffolding production-ready modules with UUID primary keys, string-backed enums, and modular routes. This ensures consistency across teams by applying architecture checks and config-driven access control automatically.

What is the best way to scaffold Laravel models with UUID primary keys?

Scaffolding Laravel models with UUID primary keys is done by generating Base-extending models. This approach enforces Kickoff-based conventions and includes action classes with a Builder pattern to maintain structural consistency.

Can I generate string-backed enums with contracts in Laravel?

Yes, you can generate string-backed enums utilizing Contract and InteractsWithEnum traits. This scaffolding ensures your enums adhere to strict project conventions and integrate smoothly with modular routes and helpers.

How do I set up modular routes loaded via require_all_in in Laravel?

Modular routes are set up by generating route files loaded via require_all_in. This scaffolding organizes your application into production-ready modules and enforces architectural consistency throughout the project.

Does this Laravel scaffolding include architecture tests and helpers?

Yes, the scaffolding includes architecture tests and guarded helper functions. These tools audit your code against established conventions and provide Docker-based local development scaffolding for consistent deployment.

When do I need config-driven access control in Laravel modules?

Config-driven access control is needed when bootstrapping Kickoff-based Laravel projects to ensure consistent permissions across modules. It enforces conventions by centralizing authorization rules within the generated modular architecture.