SkillsReviewed · smnandre

UX Icons skill for Symfony

UX Icons is an AI assistant skill for Symfony developers adding SVG icons to Twig templates, with local icon preparation needed for production. It covers the symfony/ux-icons package, Iconify sets, custom SVGs, aliases, styling and troubleshooting. Supported package versions and assistant compatibility are not specified.

Researched 16 Nov 2026

In short.

UX Icons is an AI assistant skill for Symfony developers adding icons to Twig templates, with production reliability depending on preparing the required icons locally. Its instructions and three references cover rendering, configuration, accessibility, styling and deployment. Network-free rendering depends on local asset availability, and coverage of dynamically constructed icon names by the lock command is unknown. No installation, rendering or assistant execution results are available.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied skills/ux-icons folder: SKILL.md and its API, gotchas and patterns references, together with the root LICENSE notice, at commit f6c2e93a28265e980431f84d7291b245b6bcb8da. Other repository skills, runtime package implementations, external documentation and downloaded icon assets are outside this scope. Installation, assistant loading, rendering, network behavior, dynamic-name discovery and deployment were not executed or tested.

The overview

Identity

The ux-icons skill belongs to Simon Andre's symfony-ux-skills repository. Its deliverable is a SKILL.md instruction file accompanied by API, patterns and troubleshooting references. It guides an assistant working with the separate symfony/ux-icons runtime package.

The original resource folder is [https://github.com/smnandre/symfony-ux-skills/tree/main/skills/ux-icons]. Skill metadata identifies Simon Andre as the author and declares version 1.2.0.

Assessment

The skill offers specific guidance for adding and maintaining icons in Symfony applications. Its useful detail includes exact Twig syntax, configuration precedence, naming rules, accessible buttons and production asset preparation.

The main qualification is that production behavior depends on application setup. The introductory promise of no runtime HTTP requests needs to be read alongside the troubleshooting guidance: on-demand loading makes network requests, while locally available icons can be rendered without fetching them. Correctness across package versions and effectiveness with particular assistants are not assessed.

Users

The intended users are developers working with Symfony and Twig through an AI coding assistant. Beginners get installation commands, naming examples and common error explanations. Experienced developers get configuration details, reusable aliases and deployment guidance.

The task descriptions cover displaying icons, importing or locking assets, creating aliases and debugging missing icons. The skill's stated scope excludes general Twig component work and interactive map development.

Capabilities

The guidance covers rendering local SVG files and Iconify icons through ux_icon() or the optional Twig component syntax. It describes custom icon directories, aliases, global attributes, per-set attributes and per-icon overrides.

Examples include CSS sizing and color, conditional icons, navigation loops, icon buttons, form labels and LiveComponent templates. Accessibility examples hide decorative icons from screen readers and label meaningful icons or their enclosing buttons. These are documented examples; their execution results are unknown.

Using it

Requirements

The documented application setup uses Symfony, Twig, Composer and the symfony/ux-icons package. The <twig:ux:icon /> syntax additionally requires symfony/ux-twig-component; the ux_icon() function does not require that additional component package.

On-demand Iconify loading requires HTTP access to api.iconify.design. Downloading icons through the import command also requires access to its remote source; it cannot by itself solve an entirely disconnected environment. Once the required SVG files are local, rendering can avoid remote retrieval.

Minimum PHP, Symfony and package versions are unspecified. The files also provide no assistant-specific installation location, supported-host list or model requirements.

Mechanism

The skill supplies task descriptions, examples and reference material that an assistant can use when generating or explaining Symfony code. Actual icon rendering is performed by the application's UX Icons package.

The API reference describes resolution through aliases, local files, configured icon sets and finally Iconify on-demand retrieval when enabled. Local filenames become icon names, with colons representing subdirectories. Rendered SVG markup is embedded directly into HTML.

Attributes merge from global defaults to icon-set attributes to per-icon attributes, with later values taking priority. Setting an attribute to false removes it. On-demand icons are described as cached locally; the lock command is described as scanning templates and downloading matching icons.

Setup

Keep SKILL.md together with references/api.md, references/patterns.md and references/gotchas.md so its relative references remain usable. How to register that folder with a particular assistant is not established by these files.

For the Symfony application, the documented installation command is composer require symfony/ux-icons. Add composer require symfony/ux-twig-component if using component syntax. Local icons default to assets/icons, and configuration examples use config/packages/ux_icons.yaml.

Before production deployment, the documentation calls for php bin/console ux:icons:lock to obtain the required icons locally. It also shows disabling on-demand retrieval in production. Disabling retrieval does not download missing assets.

Example

For a Save button, an assistant could follow the supplied pattern: <button type="button"><span>{{ ux_icon('lucide:save', {'aria-hidden': true}) }}</span> Save</button>. The visible text names the action, while the decorative icon is hidden from screen readers. This is an illustrative adaptation, not an executed example.

For a shared design system, the patterns reference maps action:save to lucide:save in configuration, then renders it with {{ ux_icon('action:save') }}. This lets developers change the chosen icon centrally while retaining the template's semantic name.

Assessment & evidence

Limitations

The patterns construct some icon names from variables, while the API reference describes template scanning by the lock command. Whether that command discovers every computed name is unknown. Applications using dynamic names need an explicit check that all required production assets are available.

The troubleshooting reference warns that a global fill: currentColor can break stroke-based sets such as Lucide and Tabler. It also identifies case-sensitive local paths and colon-separated names as common failure points.

Setting ignore_not_found to true renders nothing for missing icons. This can avoid an exception while leaving an unnoticed visual omission. No package compatibility, rendering, accessibility or production behavior was tested.

Reasoning

The documented approach trades convenient remote discovery during development for explicit local asset preparation before deployment. Inline SVG supports styling through ordinary attributes and CSS, while aliases centralize icon choices across templates.

Those mechanisms explain the practical value of the guidance. They do not establish measured performance gains or guarantee consistent output from an AI assistant. The styling warnings also show why defaults need to match each icon set.

Alternatives

Within the documented approach, developers can choose the ux_icon() function or the optional Twig component syntax. They can also supply project-owned SVG files, import selected Iconify icons, or use on-demand retrieval during development.

The same examples can serve as a manual reference for developers. The supplied evidence contains no comparison with other assistant skills, icon libraries or frontend frameworks, so relative advantages beyond these documented choices are not assessed.

Evidence

The source material comprises SKILL.md, references/api.md, references/gotchas.md and references/patterns.md, plus the repository's LICENSE notice. These establish the documented interface, examples, caveats and redistribution terms.

The version-pinned entry file is [https://raw.githubusercontent.com/smnandre/symfony-ux-skills/f6c2e93a28265e980431f84d7291b245b6bcb8da/skills/ux-icons/SKILL.md]. No runtime implementation, dependency manifest, execution receipts, benchmarks or assistant evaluations are included. Documented behavior therefore remains unverified by execution.

Access & freshness

Costs

The supplied MIT licence grants its permissions free of charge. The evidence supplies no pricing for an assistant or model used with the skill, Iconify services, or application infrastructure, so total operating cost is unknown.

No token-use, download-volume, latency or resource-consumption measurements are available.

Rights

The repository notice uses the MIT License, and the skill metadata also declares MIT. The notice permits use, copying, modification and redistribution, provided its copyright and permission notice accompany copies or substantial portions. It provides no warranty.

The notice is available at [https://raw.githubusercontent.com/smnandre/symfony-ux-skills/f6c2e93a28265e980431f84d7291b245b6bcb8da/LICENSE]. It establishes permission for the supplied skill documentation; it does not establish the licence terms of separately downloaded icon assets or runtime dependencies. Those terms remain unknown from this evidence.

Freshness

The supplied snapshot identifies commit f6c2e93a28265e980431f84d7291b245b6bcb8da and a capture time of 2026-11-16T18:24:50.270Z. The skill declares version 1.2.0; that is skill metadata, not an established version requirement for symfony/ux-icons.

The capture time does not establish a release date. Subsequent upstream changes, current Iconify catalogue counts and compatibility with current Symfony packages are unknown.

Actions

Confirm compatibility with your Symfony packages and how your assistant loads skill folders. Keep the three reference files with SKILL.md. Start with one named icon, then check sizing, color and the accessible name of its surrounding control.

Before deployment, obtain the required icons locally and check every dynamically generated name. Verify rendering with on-demand retrieval disabled, review any use of ignore_not_found, and confirm the licences of the icon sets you use. These are suggested adoption checks; no results are available.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/ux-icons/SKILL.mdselected · checked 2026-11-16
skills/ux-icons/references/api.mdselected · checked 2026-11-16
skills/ux-icons/references/gotchas.mdselected · checked 2026-11-16
skills/ux-icons/references/patterns.mdselected · checked 2026-11-16