ワンクリックで
goravel-scaffold
Full end-to-end CRUD scaffolding for a new Goravel entity. Orchestrates all 19 steps from migration to navigation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Full end-to-end CRUD scaffolding for a new Goravel entity. Orchestrates all 19 steps from migration to navigation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create a broadcast notification system that sends notifications and messages to eligible users based on entity-specific criteria. Use when adding a new entity type that needs to notify users when records are created, updated, or published.
Guide for building non-CRUD pages with consistent design. Use when creating portal pages, custom views, detail modals, sidebar widgets, notification drawers, or any page that is not a standard CRUD table. Covers fullscreen modals, minimal text patterns, calendar widgets, doorbell notifications, optimistic updates, and CrudPage read-only integration.
Guide for building dashboards, charts, KPI cards, and data visualizations. Use when creating dashboard pages, adding charts to features, building stat displays, aggregating data for visual presentation, or implementing export (CSV/PNG/fullscreen) for charts. Based on the Books dashboard implementation using Recharts and shadcn/ui chart components.
Deploy the application to staging or production. Validates, builds, pushes Docker image, deploys via Helm, and runs smoke tests.
Run a comprehensive E2E browser test suite for a newly scaffolded Goravel entity. Tests navigation, CRUD operations, search, filters, row actions, form validation, FK dropdowns, and cross-entity integration using Playwright MCP.
Create a Go database seeder for a Goravel entity with 25+ realistic records. Covers all status/enum values, diverse data for sorting/pagination testing, and proper nullable field handling.
| name | goravel-scaffold |
| description | Full end-to-end CRUD scaffolding for a new Goravel entity. Orchestrates all 19 steps from migration to navigation. |
| argument-hint | [EntityName] [table_name] |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob |
Complete end-to-end scaffolding for $ARGUMENTS.
This skill orchestrates the full 19-step scaffolding sequence. Each step references a granular skill for details.
Before starting, gather requirements:
Event, BusinessFormalisationevents, business_formalisations/goravel-enum first)go run . artisan make:migration create_<table>_table
go run . artisan migratego run . artisan make:audit --table=<table>
go run . artisan migratedatabase/kernel.gogo run . artisan make:model --table=<table> <ModelName>
APP_ENV=testing go test -v ./tests/unit -run Test<Model>ModelTestSuite
See /goravel-crud-migration and /goravel-crud-model for details.
go run . artisan make:svc --model=<Model> <entity>
app/auth/permission_constants.gogo run . artisan permissions:setup
See /goravel-crud-service and /goravel-crud-permissions for details.
go run . artisan make:req --model=<entity> <entity>
go run . artisan make:ctrl --model=<entity> <entity>
routes/api.goSee /goravel-crud-request, /goravel-crud-controller, and /goravel-crud-routes for details.
go run . artisan make:crud-test --controller=<Entity>
APP_ENV=testing go test -v ./tests/feature/crud -run Test<Entity>CRUDTestSuite
See /goravel-crud-test for details.
STOP. Do NOT proceed to Phase 5 until all CRUD tests pass.
Run the full test suite and confirm green:
APP_ENV=testing go test -v ./tests/feature/crud -run Test<Entity>CRUDTestSuite
This catches backend bugs (Bind issues, validation key mismatches, GORM column mapping, permission errors) that are much harder to debug through the UI. Skipping this step leads to wasted frontend work on a broken backend.
go run . artisan make:page-ctrl --controller=<Entity>
go run . artisan make:ui --page=<Entity> --request=<Entity>
routes/web.goresources/js/config/navigation.tssearch_controller.go and search_config.tsxSee /goravel-crud-page, /goravel-crud-nav, and /goravel-crud-search for details.
go run . artisan make:swagger-docs/entity-names not /entity_names