Agent skill
⋯
The Nesra UI skill guides an AI agent through component discovery, composition, semantic styling,
and migration from an existing UI. Component pages and the installed @nesra/ui package remain the
sources for exact imports, props, and behavior.
Install the skill
Section titled “Install the skill”Run this command in the React project where the agent will work:
npx skills add nesra-cognitive-lab/skills@nesra-uiChoose your agent and project or global installation scope when prompted. For a project-level Codex installation without prompts:
npx skills add nesra-cognitive-lab/skills@nesra-ui --agent codex --yesRestart the agent session after installation so it discovers the skill. The skill source and references are maintained separately from the component package.
What the skill covers
Section titled “What the skill covers”- Check the installed package’s public exports and types, then read the relevant component docs.
- Prefer public Nesra components and their supported composition before building a substitute.
- Use documented semantic Tailwind roles and keep application layout in the application.
- Inventory existing behavior and verify it when migrating from another UI library.
- Ask about a confirmed API gap before introducing another library or a substitute component.
The skill does not contain a second component API catalog. Use llms.txt to find the
Markdown reference pages, or read a component page directly. Upcoming component pages do not
establish a supported import.