
from symfony-ux-skills141
Guides using Stimulus JS with Symfony UX: wiring controllers via data-attributes, values, targets, actions, lazy loading, outlets, and integration patterns for
This skill documents how to use the Stimulus JS framework within Symfony UX to attach client-side behavior to server-rendered HTML via data-* attributes. It covers controller skeletons, targets, values, actions, class management, outlets for cross-controller comms, lazy loading, and Symfony/Twig integration patterns.
Use this skill when implementing interactive UI elements in Symfony applications: click handlers, modals, dropdowns, form handling, keyboard shortcuts, lazy-loaded charts/editors, and wrapping JS libraries with controllers. Avoid for pure server-side partial updates (use Turbo or LiveComponent instead).
references/api.md, references/patterns.md, references/gotchas.md for deeper guidanceUseful for code-assistant agents that can edit frontend assets and templates (Copilot/Codex/Gemini).
A well-structured reference skill for using Stimulus JS with Symfony UX. Covers controllers, targets, values, actions, outlets, lazy loading, and Twig integration with clear code examples. No scripts included — purely a documentation/reference skill. No security concerns whatsoever; the skill is entirely instructional with no executable code.
Clean, well-organized skill with good progressive disclosure (quick reference → detailed examples → key principles → references). Triggers are specific and well-defined. The skill is documentation-only with no bundled scripts. Usefulness limited by niche audience (Symfony+Stimulus developers specifically).