بنقرة واحدة
safe-refactoring-rules
Ensures all refactoring is deterministic, behavior-preserving, and non-breaking
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Ensures all refactoring is deterministic, behavior-preserving, and non-breaking
التثبيت باستخدام 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
Ensures correct execution order of migrations, seeders, and tests in CI
Defines the schema-to-factory-to-seeder contract chain — NOT NULL alignment, factory/seeder ownership boundaries, and schema drift rules
| name | safe-refactoring-rules |
| description | Ensures all refactoring is deterministic, behavior-preserving, and non-breaking |
Ensure all refactoring is deterministic, non-breaking, and behavior-preserving.
This skill enforces how changes are made, not how the system is structured.
app(), resolve()).If any of the following is unclear:
Then:
This skill only enforces reuse during refactoring operations.
Global abstraction policy is defined in application-architecture-standard.
Before introducing:
Search for an existing implementation.
Reuse existing abstractions whenever practical.
Duplicate abstractions are architectural defects.
This skill does NOT define:
It ONLY defines safe transformation rules.
If this skill conflicts with others: