Agent Skills
Install the PeakUI Pro skill so your AI coding agent writes correct PeakUI Pro code.
Two skills ship from this repository. peakui-pro-react teaches a coding agent how PeakUI Pro components are composed and styled; for each component it uses, the agent reads the documentation page from this site. peakui-design-taste teaches it how to design the screen those components make: layout, hierarchy, colour, type, motion, copy, and the patterns that mark a page as generated.
| Skill | What it answers | Example |
|---|---|---|
peakui-pro-react | Which components exist and how each is composed | "Use a Widget around an AreaChart" |
peakui-design-taste | How the screen is designed with them | "Build a settings page" comes out with one accent, tone-stepped surfaces and honest empty states |
llms.txt | The details, live from this site | "What props does PromptInput accept?" |
Install both: the component skill makes a screen compile, the taste skill makes it one you would ship.
Install
npx skills add peakui-dev/peakui-pro --skill peakui-pro-react
npx skills add peakui-dev/peakui-pro --skill peakui-design-tasteEach skill is copied to .agents/skills/<name>/ and linked from .claude/skills/<name>/, the two folders coding agents read skills from.
Point Your Agent at It
Agents do not always load an installed skill on their own. Paste this block into AGENTS.md and CLAUDE.md at the root of your project:
<!-- peakui-pro:start -->
This project uses PeakUI Pro (`@peakui-pro/react`, `@peakui-pro/styles`) on top of PeakUI (`@peakui/react`, `@peakui/styles`).
Before writing or changing UI code, load the `peakui-pro-react` skill and follow it; for core components, also the `peakui-react` skill.
Before building or reviewing a screen or page, also load the `peakui-design-taste` skill.
Without skills: read https://peakui.pro/llms.txt first.
<!-- peakui-pro:end -->Update
npx skills updateWhat the Scripts Access
Each skill ships one script that the agent runs with Node.js 18 or later.
| Script | Reads | Network |
|---|---|---|
peakui-pro-react/scripts/docs.mjs | The documentation index and the pages the agent asks for; with --source, a component's source file | GET requests to this site and, for --source, to raw.githubusercontent.com |
peakui-design-taste/scripts/lint.mjs | The source files it is pointed at, for the design tells it can catch mechanically | None |
Neither writes a file or sends anything about your project.
Mirrors and Previews
Set PEAKUI_PRO_DOCS_URL to read the documentation from another origin:
PEAKUI_PRO_DOCS_URL=https://docs.internal.example node .agents/skills/peakui-pro-react/scripts/docs.mjs list