goravel-crud-controller

Generates Goravel CRUD controllers with permission checks and Swagger annotations.

16|11|Updated Jun 12, 2025
One-click install
npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-crud-controller
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goravel-crud-controller
Source: https://github.com/liwoo/goravel-inertia-tw-starter/tree/main/.claude/skills/goravel-crud-controller
Command: npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-crud-controller

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate and scaffold Goravel API controllers with built-in permission checks and Swagger annotations to speed up backend development.

Core Features & Use Cases

  • Auto-generates a RESTful CRUD controller for a Goravel entity.
  • Enforces permission checks and ensures naming consistency with service constants.
  • Includes Swagger annotations and a reference pattern for custom endpoints.

Quick Start

Run the generator with your entity name to create a ready-to-use Goravel CRUD controller and bind it to your routes.

Frequently Asked Questions about goravel-crud-controller

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

FAQPage Schema
How do I generate a CRUD controller in Goravel with built-in permission checks?

You can generate a Goravel CRUD controller with permission checks by running this scaffolding tool with your entity name. It auto-produces a fully wired RESTful controller ensuring naming consistency with service constants and applying RBAC authorization patterns.

Can I automatically add Swagger annotations to my Goravel API controllers?

Yes, you can automatically add Swagger annotations to your Goravel API controllers. This scaffolding generator includes Swagger metadata within the produced CRUD controllers and provides a reference pattern for annotating custom endpoints.

What is the best way to scaffold a backend admin portal API in Goravel?

The best way to scaffold a backend admin portal API in Goravel is using this CRUD generator. It creates ready-to-use controllers with structured CRUD operations, RBAC permission checks, and Swagger documentation to accelerate backend development.

Does the Goravel CRUD generator support custom endpoints beyond standard operations?

Yes, the Goravel CRUD generator supports custom endpoints beyond standard operations by providing a reference pattern within the generated code. You can extend the auto-generated RESTful controller structure to add custom API endpoints.

How do I bind a generated Goravel controller to my routes?

To bind a generated Goravel controller to your routes, run the generator with your entity name to create the ready-to-use controller. The scaffolding process produces a fully wired controller that you can register directly within your application routing.