AI Agent Skills

ZUI ships an agent skill for AI coding assistants (Claude Code, Cursor, Copilot, etc.) that gives the model deep knowledge of ZUI's components, design tokens, utility classes, and conventions. With the skill loaded, your AI assistant can generate accurate ZUI markup without hallucinating class names or token values.

Install the skill

npx skills add mrmartineau/zui

This writes the skill file into your project's .skills/ directory and registers it with your AI tooling.

What the skill teaches the model

Once installed, the skill gives the AI assistant:

Usage

After installing, the skill is automatically loaded in supported editors. You can then prompt your AI assistant naturally:

Add a success badge next to the user's name
Create a contact form with name, email, and message fields
Build a card grid with hover effects using ZUI tokens

The model will use correct ZUI classes and tokens rather than generic Tailwind or inline styles.

Manual installation

If your tooling doesn't support npx skills add, copy the skill file directly:

curl -o .skills/using-zui.md \
  https://raw.githubusercontent.com/mrmartineau/zui/main/skills/using-zui/SKILL.md

Or reference the skill content from the repository at skills/using-zui/SKILL.md.

Theme

Copy this CSS to your project's theme.css file: