ui-skills
Opinionated constraints for building better interfaces with agents.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/correctroadh/ui-skillsWhat This Skill Does
The ui-skills package provides a rigorous set of opinionated constraints and best practices for building consistent, performant, and accessible user interfaces within the OpenClaw agent ecosystem. It serves as a style guide-as-code, forcing developers and AI agents to adhere to a specific technical architecture. By standardizing the usage of Tailwind CSS, motion/react for animations, and accessible primitives like Radix or Base UI, this skill ensures that all generated interfaces are not only visually cohesive but also technically robust and keyboard-accessible.
Installation
To integrate these UI constraints into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/correctroadh/ui-skills
Once installed, the agent will begin applying these rules to all UI-related tasks, including layout generation, component selection, and animation implementation.
Use Cases
- Standardizing Enterprise Dashboards: Ensuring that multiple AI-generated modules share the same shadow scale, spacing, and accessibility standards.
- Rapid Interface Prototyping: Accelerating development by enforcing pre-approved defaults, allowing agents to focus on logic rather than reinventing UI patterns.
- Performance Optimization: Enforcing strict rules against layout animations (
width,height) and blocking expensive operations like large-scalebackdrop-filterusage, ensuring the interface remains fluid on lower-end devices. - Accessibility Compliance: Automatically ensuring keyboard focus,
aria-labelrequirements, and reduced-motion preferences are handled without manual oversight.
Example Prompts
- "Design a settings panel for the user dashboard using
ui-skillsstandards, ensuring all inputs are accessible and conform to the atomic design requirements." - "Create a loading skeleton for the data table that respects the
h-dvhconstraint and uses the approved Tailwind spacing scale." - "Refactor the existing delete button to use an
AlertDialogfor confirmation, ensuring the animation uses standard compositor properties and avoids layout thrashing."
Tips & Limitations
- Limitations: This skill is strictly opinionated. It prohibits certain design flourishes like custom gradients or arbitrary
z-indexvalues to ensure maintainability. If your project specifically requires high-end, complex visuals, these constraints may feel restrictive. - Tips: Always rely on the
cnutility for class merging to avoid collisions. When building interactive elements, prioritizeBase UIorRadixprimitives over building custom logic; the agent is trained to reject manual re-implementation of focus traps. Remember that animations must be strictly for interaction feedback and limited toopacityandtransformto maintain 60fps performance.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-correctroadh-ui-skills": {
"enabled": true,
"auto_update": true
}
}
}