ワンクリックで
ci-schema-invariant-gate
Ensures correct execution order of migrations, seeders, and tests in CI
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Ensures correct execution order of migrations, seeders, and tests in CI
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Defines structural rules for Laravel architecture, layering, and code organization
Defines DTO structure, lifecycle, and transformation rules across the application
Defines application service structure and business orchestration boundaries
Governs safe, incremental, repository-wide development workflow with continuous validation gates
Defines the schema-to-factory-to-seeder contract chain — NOT NULL alignment, factory/seeder ownership boundaries, and schema drift rules
Defines GitHub Actions configuration for running PHP/Laravel CI pipeline
| name | ci-schema-invariant-gate |
| description | Ensures correct execution order of migrations, seeders, and tests in CI |
Enforces correct execution order of database setup and test execution in CI.
CI MUST run in this order:
php artisan migrate:fresh --seed
php artisan test
No deviations allowed.
This skill ONLY controls:
It does NOT validate:
These are handled by other skills.
If CI fails:
CI does NOT interpret or classify failures.
Test execution MUST always run on a fresh database state created by:
migrate:fresh --seed
No cached or partial state is allowed.
CI defines execution order only.
It does not define correctness of the system.