| name | liferay-ui-fragments |
| description | Expert guidance for building, styling, and configuring Liferay fragments. Focuses on HTML/CSS/JS, styling with CSS tokens, and making content editable. |
Liferay UI Fragments Skill
This skill provides expert procedural knowledge for developing high-quality Liferay fragments with a focus on aesthetics and site-wide consistency.
Core Workflows
- Building Fragments: Follow best practices for HTML structure, CSS scoping, and JavaScript initialization.
- Configuration & Editability: Define robust
configuration.json schemas and make content editable using data-lfr-editable attributes.
- Styling with Tokens: Map fragment CSS variables to Liferay Classic theme CSS tokens for site-wide brand consistency.
STRICT EXECUTION PROTOCOL (MANDATORY READS)
You MUST NOT rely on pre-existing Liferay knowledge. You MUST use the read_file tool to read the following reference documents BEFORE beginning execution or strategy planning:
Component-Specific Documentation