php artisan boost:add-skill nowo-tech/milkdown-editor-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
Do not hand-edit anything under `src/Resources/public/` (`milkdown-editor.js`, `milkdown-editor.css`, `chunks/`, `katex/`): it is generated by `make assets` from `src/Resources/assets/src/`.
Never write raw `<form>`, `<input>`, `<textarea>` or `<select>` in Twig (REQ-TWIG-005); no inline `<script>` / `style` attributes (strict CSP).
Do not rewrite entire templates or public asset trees for a local change.
Prefer:
Do not hand-edit anything under src/Resources/public/ (milkdown-editor.js, milkdown-editor.css, chunks/, katex/): it is generated by make assets from src/Resources/assets/src/.
Never write raw <form>, <input>, <textarea> or <select> in Twig (REQ-TWIG-005); no inline <script> / style attributes (strict CSP).
Do not rewrite entire templates or public asset trees for a local change.
How can I help you explore Laravel packages today?