/symfony-ux-skills:symfony-uxfrom symfony-ux-skills
Helps choose and combine Symfony UX packages (Stimulus, Turbo, TwigComponent, LiveComponent) for frontend interactions. Guides on selecting the smallest tool for each task.
Ships in symfony-ux-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Choose the smallest tool that fits the interaction. Start with a Symfony controller, form and Twig template. Add browser-side behavior, a partial page response or a reactive component when the task calls for it.
These skills target Symfony UX 3.x. Before recommending an API in an existing project, check the relevant package version in composer.lock or run composer show --locked symfony/<package>. Use symfony/stimulus-bundle for Stimulus. Check the dedicated skill for the minimum version of the feature.
Use the API supported by the project. If a feature requires a newer package, state the minimum version and offer an approach compatible with the installed version where possible. Check how the project loads assets before suggesting setup commands.
If the current documentation differs from the installed package, use the installed source to verify signatures and defaults. For changes in the 3.8.1 release, see the Symfony UX 3.8.1 release notes.
| Task | Start with |
|---|---|
| Toggle, tabs, clipboard, or a browser library | Stimulus |
| Speed up normal links and forms | Turbo Drive |
| Replace a self-contained region after navigation or form submission | Turbo Frames |
| Update several targets from one response | Turbo Streams |
| Push updates to other clients | Turbo Streams with Mercure |
| Share server-rendered markup with props and slots | TwigComponent |
| Re-render server-owned state as users type or change inputs | LiveComponent |
For a specialized job, load the matching skill and read the reference that addresses the requested integration or failure mode.
For a catalogue with GET filters and pagination links, use a Turbo Frame around the results. Return the same frame ID for the full page and the filtered response. Render each product with a TwigComponent and use Stimulus for local behavior on the card, such as opening a details menu.
If the results must update as users type or the choices depend on live server state, use LiveComponent for the filters and results instead. Keep the card in TwigComponent so the rendering can be reused.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub smnandre/symfony-ux-skills --plugin symfony-ux-skills20 skills in this plugin
/live-componentSymfony UX LiveComponent: live search, live filters, dependent selects and form validation as users type. Use for reactive PHP and Twig components, #[AsLiveComponent], LiveProp, LiveAction, data-model, loading states, emit/listen, lazy rendering and LiveResponse downloads./stimulusSymfony UX Stimulus: JavaScript behavior for dropdowns, tabs, modals, clipboard buttons and third-party widgets. Use for StimulusBundle, data-controller, data-action, targets, values, outlets, lazy controllers and Twig stimulus_* helpers./turboSymfony UX Turbo: Turbo Frames for partial navigation and form submissions, Turbo Streams for multiple updates and Mercure broadcasts, and Turbo Drive for links and forms. Use for turbo-frame, turbo-stream, twig:Turbo, TurboFrame, TurboStreamResponse, turbo_stream_from and #[Broadcast]./twig-componentSymfony UX TwigComponent: reusable Twig buttons, cards, alerts and design system components. Use for twig: tags, #[AsTwigComponent], props, blocks, attributes.defaults(), anonymous components, computed properties, provide()/inject() and html_cva./ux-autocompleteSymfony UX Autocomplete: searchable selects and Ajax suggestions for large Symfony form lists. Use for EntityType, ChoiceType, Tom Select, the autocomplete option, #[AsEntityAutocompleteField], #[AsAutocompleteField], AutocompleterInterface, extra_options and tom_select_options./ux-calendar-linkSymfony UX CalendarLink: "Add to calendar" links built in PHP and rendered in Twig, for Google, Outlook.com, Office 365 and .ics. Use for CalendarEvent, ux_calendar_link(), ux_calendar_links(), recurrence and reminders.Other plugins' skills for the same job