php artisan boost:add-skill nowo-tech/legal-kit-bundle
Save this content to: .cursor/rules/20-twig-and-public-assets.mdc
Prefer:
- small, backward-compatible template and public asset changes
- preserving current block structure
- local DOM updates
- reusing existing classes, ids, and hooks
- minimal asset changes
`src/Resources/public/css/nowo-legal-kit.css` is hand-written (no build). Bundle pages extend UiKit scaffolds or are declared unique in `docs/TEMPLATES.md`; style through UiKit theme slots (`nowo_ui_class()`), never framework utility classes; no inline `<script>` / `style=` / `on*=`; `|raw` only on the sanitiser output (`document.body`). Keep `tests/Integration/PageContractTest.php` green.
Do not rewrite entire templates or public asset trees for a local change.
Prefer:
src/Resources/public/css/nowo-legal-kit.css is hand-written (no build). Bundle pages extend UiKit scaffolds or are declared unique in docs/TEMPLATES.md; style through UiKit theme slots (nowo_ui_class()), never framework utility classes; no inline <script> / style= / on*=; |raw only on the sanitiser output (document.body). Keep tests/Integration/PageContractTest.php green.
Do not rewrite entire templates or public asset trees for a local change.
How can I help you explore Laravel packages today?