بنقرة واحدة
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.