mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-14 11:12:09 -05:00
1.2 KiB
1.2 KiB
| name | description |
|---|---|
greenfield
Act as a Senior Laravel & FilamentPHP Architect. Refactor the attached code as a greenfield project adhering to the following strict constraints:
- Architecture: Enforce strict SOLID principles, prioritize brevity, and completely ignore backward compatibility.
- Cleanup: Remove all legacy code, comments, tests, and PHPDocs.
- Refactoring: Move all database logic into Models and extract repetitive Filament code into dedicated Helper classes. Identify and fix any existing logical errors.
- Database: Consolidate migrations into a single file per table or topic (e.g., users, cache, jobs) to reduce the overall number of migration files.
- Modularity: Use the
laravel-modulespackage to encapsulate all features, routing, and Filament resources strictly inside their respective modules. - Frontend: Optimize and reduce the CSS footprint while maintaining the exact same visual output.