Documentation / Using Ombelle with AI agents
Using Ombelle with AI agents
Rules, docs and skills that help coding agents install Ombelle safely.
Install rules
A coding agent installs Ombelle with the published CLI, the same way you do. These are the rules every agent follows. They are repeated in llms.txt, the catalog JSON and the agent skills, so all of them stay in step.
- Run the published CLI with
npx @ombelle-ui/cli@1.1.2(or the project'spnpm dlx,yarn dlx --quietorbunxequivalent). Never runshadcn addand never hand-copy component source. - Initialize with the preset code the developer gives you (
init --preset ps_…@1), or with a preset JSON file they give you. - If the developer gave no preset code or file, ask for one and point them to the preset editor at https://ombelle-ui.com/editor/preset. Never write preset JSON yourself.
- Run every command that writes files with
--dry-run --jsonfirst, and show the developer the planned changes. - Rerun the same command with
--yesonly when the dry run'sstatusisplanned(exit code 0) and no warning hasresolutions. Agents have no TTY, so--yesis required. - On
FILE_CONFLICT, or any warning withresolutions, stop and ask the developer. Offer--beside <path>(component files only) or--overwrite <path>, and never choose either yourself. - When the dry run's
statusiserror, readerror.code,error.messageanderror.nextAction. OnUNSUPPORTED_PROJECTorUNSUPPORTED_RELEASE, explain the message and its next action to the developer. Do not work around it. - Finish with
doctor --jsonand report its result. - Liquid glass is labelled
Accessibility not guaranteedbecause its contrast depends on the backdrop. Say so whenever you offer it.
Docs for agents
Every page has a plain-text form that agents can read without a browser.
- https://ombelle-ui.com/llms.txt is the index: the install rules, plus a link to every guide, component and block.
- https://ombelle-ui.com/llms-full.txt holds the same content in one file.
- Add
.mdto a guide, component or block address for its Markdown page, for example https://ombelle-ui.com/docs/getting-started.md. - https://ombelle-ui.com/api/v1/catalog is the catalog as JSON: components, blocks, style support, the published CLI and these rules.
Agent skills
Five agent skills in the skills/ folder of the repository teach a coding agent the same guarded loop. They work with agents that read the open Agent Skills format.
- ombelle-install installs components and initializes a preset with the guarded CLI loop.
- ombelle-choose picks the right component or block from the live catalog.
- ombelle-theme switches or applies a preset and adds a component-only preset.
- ombelle-blocks installs and wires login, settings, pricing and dashboard blocks.
- ombelle-check inspects, diagnoses and updates an existing install.
Install all five with npx skills add whritou/ombelle-ui, or one with npx skills add whritou/ombelle-ui --skill ombelle-install.
Tell your agent
Paste this into your project’s AGENTS.md or CLAUDE.md. It points the agent at the install rules and the published CLI. Replace ps_…@1 with your own preset code from the preset editor.
## Ombelle UI
Before installing any Ombelle component, read https://ombelle-ui.com/llms.txt and follow its install rules.
- Run only the published CLI: npx @ombelle-ui/cli@1.1.2 (never `shadcn add`, never hand-copied source).
- Initialize with the preset code I give you (npx @ombelle-ui/cli@1.1.2 init --preset ps_…@1) or the preset JSON file I give you. If I gave neither, ask me for one; never write preset JSON yourself.
- Run every command that writes files with --dry-run --json first and show me the plan; rerun it with --yes only when its status is planned (exit code 0) and no warning has resolutions.
- On FILE_CONFLICT or any warning with resolutions, stop and ask me; never choose --overwrite or --beside yourself.
- On status error, read error.code and error.nextAction. On UNSUPPORTED_PROJECT or UNSUPPORTED_RELEASE, explain the message and its next action to me and stop; don't work around it.
- Finish with doctor --json and tell me its result.
- Liquid glass is labelled Accessibility not guaranteed; say so whenever you offer it.Liquid glass is labelled Accessibility not guaranteed, because its contrast depends on what sits behind it. Agents are told to say so when they offer it.