Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Symfony LiveComponent Guide

A skill that guides Claude in building reactive, server-rendered Symfony UX LiveComponents that re-render over AJAX with zero JavaScript.

Dev & CodingIntermediate★ 176⑂ 14AI score 9/10Last updated: Jun 14, 2026

What it does

Gives Claude a working playbook for Symfony UX LiveComponent: #[AsLiveComponent], #[LiveProp] (writable, URL binding, custom hydration), #[LiveAction] with #[LiveArg], data-model binding modifiers (debounce, on(blur), norender, minlength), data-loading feedback, Symfony Form integration via ComponentWithFormTrait, cross-component messaging with emit() and #[LiveListener], polling, defer/lazy rendering, and DOM preservation. It also states when to use TwigComponent or Stimulus instead, plus performance rules and the mandatory {{ attributes }} root attribute.

Who it's for

  • PHP developers building apps on Symfony + Twig
  • Teams that want live search, filtering, and inline validation without an SPA
  • Developers new to LiveComponent who want correct patterns and known pitfalls fast

Example uses

  1. "Build a product search that filters as I type" → produces a component with debounce(300)|query and URL-bound state
  2. "Convert my registration form to a LiveComponent with real-time validation on blur" → ComponentWithFormTrait implementation
  3. "Refresh the parent list when the child saves an item" → emit() plus #[LiveListener] wiring

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/smnandre/symfony-ux-skills/HEAD/skills/live-component/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/live-component folder from the GitHub repo smnandre/symfony-ux-skills into my ~/.claude/skills/live-component/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/smnandre/symfony-ux-skills.git && mkdir -p ~/.claude/skills && cp -r symfony-ux-skills/skills/live-component ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/smnandre/symfony-ux-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r symfony-ux-skills/skills/live-component ~/.claude/skills/
  5. Confirm the references/ folder (api.md, patterns.md, gotchas.md) came along with SKILL.md.
  6. Restart Claude Code and test with a prompt like "build a live search with LiveComponent".
  7. In your Symfony project, install the package: composer require symfony/ux-live-component.