Code assistants
Much of today’s interface code is written with an assistant. Left to itself, it suggests what it knows best: an API that looks like another library’s, props that do not exist here. @synertech/ui gives it what it needs to suggest the right component, with the right props.
Claude Code: the guide, installed in the project
The package ships a usage guide, use-synertech-ui: installation, imports, the API of every component, the ways to put them together and the mistakes to avoid. One command, run at the root of the project once the package is installed, copies it where Claude Code looks for its skills:
npx @synertech/ui setup-claude-skillIt writes .claude/skills/use-synertech-ui/SKILL.md. Claude Code uses it on its own when a task involves the library, and /use-synertech-ui calls it directly, with a component or a question:
/use-synertech-ui Select
/use-synertech-ui how do I build a form
/use-synertech-ui setup- It only reads. The guide pre-authorizes reading files and nothing else (
Read,Glob,Grep): any other action still asks for your approval. The library’s build fails if that list grows. - It follows the installed version. The command copies the guide of the package installed in the project. After an upgrade, replace it:
npx @synertech/ui setup-claude-skill --force. Without--force, it leaves an installed guide as it is. - Commit it or not. Committed, the whole team gets it; otherwise, add
.claude/skills/use-synertech-ui/to.gitignore.
The guide is written in French; the assistant reads it all the same.
Other assistants
The guide is a Markdown file shipped in the package, the one of the installed version:
node_modules/@synertech/ui/.claude/skills/use-synertech-ui/SKILL.mdAn assistant that reads the project’s files can be pointed to it from its instructions file (AGENTS.md, .github/copilot-instructions.md, a Cursor rule):
For the interface, use @synertech/ui. Before writing a component, read
node_modules/@synertech/ui/.claude/skills/use-synertech-ui/SKILL.md.On the web: llms.txt
For an assistant that reads the web rather than the project, the site publishes two files in the llms.txt format:
- llms.txt: what to know about the library, then a link to every page of this documentation;
- llms-full.txt: the same facts, followed by the whole guide, in one file.
The types
With nothing more to install, every component exports the interface of its props, and the documentation of each prop comes with the package’s TypeScript declarations: an editor or an assistant reads them like those of your own code.