1. Getting Started
  2. Agent Skills

Getting Started

Preline UI Agent Skills

Learn how Preline UI Agent Skills extend IDEs and CLIs with automation workflows to speed up setup, customization, and iteration while keeping your UI consistent with the Preline design system.

What are Agent Skills?

Agent Skills are a way to extend agentic coding tools such as IDEs and CLIs. They package reusable tooling that helps automate and standardise common steps in the development workflow.

Agent Skills are folder based bundles of instructions, scripts, and supporting resources that agents can discover and run, so they can complete tasks more accurately and efficiently.

Learn more about Agent Skills.

Preline UI Agent Skills

At the moment, Preline UI includes Agent Skills that enable automated theme generation in agentic coding tools (e.g. IDEs, CLIs), helping teams accelerate setup and iteration. Learn more at Themes page about Preline Theme Skills.

How to set up Agent Skills

There are two ways to set up Agent Skills: using the terminal or manual installation.

Option 1: Install via CLI using skills.sh (recommended)

Run the following command:

Terminal
                  
                    npx skills add htmlstreamofficial/preline
                  
                

When installing, we recommend choosing the Symlink option to simplify long term maintenance and reuse across multiple agentic tools.

Option 2: Manually

Simply copy the skills folder from ./node_modules/preline/skills/ to your project root folder inside a skills/ directory. Most agentic tools will automatically detect the skills folder and make it available to the agent but adding into the tool's skills directory is a more reliable solution.

To make the skills available globally for a specific agentic tool, copy them into that tool's skills directory. Below are examples of common agentic tools and their project level and global skills directories.

Agent Project path Global path
Claude Code .claude/skills/ ~/.claude/skills/
Cursor .cursor/skills/ ~/.cursor/skills/
Codex .codex/skills/ ~/.codex/skills/
Gemini CLI, Antigravity .gemini/skills/ ~/.gemini/skills/
Kiro .kiro/skills/ ~/.kiro/skills/
OpenCode .opencode/skill/ ~/.config/opencode/skill/
Trae .trae/skills/ ~/.trae/skills/
Windsurf .windsurf/skills/ ~/.windsurf/skills/

Example project structure:

This is an example project structure. Actual setups may vary depending on the project and agentic tools in use.

my-project/
├─ skills/
│ └─ preline-theme-generator/
│ ├─ SKILL.md
│ └─ ...
├─ .cursor/
│ └─ skills/preline-theme-generator/
├─ .claude/
│ └─ skills/preline-theme-generator/
├─ ...
├─ node_modules/
├─ package.json
└─ package-lock.json