This repo is the source for the lumi agent skill.
It tells coding agents how to add and modify Lumi UI components in real React projects without breaking local conventions.
Use ~/.agents/skills/lumi as the shared skill path for Claude Code, Codex, Cursor, and other agent tools that support .agents.
-
Download the repository:
git clone https://github.com/patrick-xin/lumi-ui-skill.git cd lumi-ui-skill -
Install the skill folder to the shared path:
mkdir -p ~/.agents/skills/lumi cp -R lumi-ui/. ~/.agents/skills/lumi/
-
Verify required files exist:
~/.agents/skills/lumi/SKILL.md~/.agents/skills/lumi/references/
You can also ask a coding agent to install or update this skill directly from GitHub.
Example prompt:
Install (or update) the Lumi skill from https://github.com/patrick-xin/lumi-ui-skill
This works well across tools where the agent can run shell commands in your environment.
- Invoke it explicitly when needed:
- Mention it in your prompt:
use lumi - In UIs that support skill chips/commands:
/skillsthen picklumi, or type$lumi
- Mention it in your prompt:
- You can also rely on implicit use:
- Agents may auto-select
lumiwhen your task matches the skill description.
- Agents may auto-select
- If a specific tool does not auto-scan
~/.agents/skills, point that tool's skill setting to this path or mirror the samelumifolder into its tool-specific skills directory.
.
├── README.md
└── lumi-ui/
├── SKILL.md
└── references/
├── playbook.md
├── forms-rhf-quickstart.md
└── official/
├── llms.txt
├── introduction.md
├── installation.md
├── animation-guide.md
├── highlights.md
├── philosophies.md
├── baseui/
└── forms/
- Choose mode:
bootstraporintegrate. - Run preflight checks (
components.json, global CSS utilities,.root, local wrapper conventions). - Resolve context in order: project code, Lumi docs, Base UI docs, then local installed types/source.
- Apply minimal and repeat-safe patches.
- Verify imports and composition rules.
/lumi-ui/SKILL.md/lumi-ui/references/playbook.md/lumi-ui/references/official/llms.txt