Skip to content

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.

Run this command in the React project where the agent will work:

Terminal window
npx skills add nesra-cognitive-lab/skills@nesra-ui

Choose your agent and project or global installation scope when prompted. For a project-level Codex installation without prompts:

Terminal window
npx skills add nesra-cognitive-lab/skills@nesra-ui --agent codex --yes

Restart the agent session after installation so it discovers the skill. The skill source and references are maintained separately from the component package.

  • 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.