Skip to content

ui-sdk ​

The knowledge site and the product docs site use ui-sdk components, and this page tells an agent what to read before it uses them.

Read first ​

Before you use ui-sdk, follow the ui-sdk skill, and read node_modules/@ui-sdk/vue/docs/llms.txt. To build a new component, also search node_modules/@ui-sdk/vue/docs/core.md by heading, and read node_modules/@ui-sdk/vue/docs/rendering.md next to it.

Rules that win over the skill ​

The ui-sdk skill comes from another project, so these rules of this repository win over it, as decision 0016 says:

  • Write no code comments, because ESLint bans them. Put a reason or a link to an issue in the commit body.
  • Write tests with node:test and node:assert, not Vitest. Mark a known bug with a todo option.
  • Add no test runner config and no TypeScript config file. Node runs the TypeScript directly, and ESLint checks it.
  • Do not install a package on your own. Propose it, and let the human give the reason in PR Prep.
  • Keep a draft issue body in a scratch folder, and never commit it.
  • Never file an issue or a comment on another project. The guide of the skill for bug reports is dropped from the copy, so do not offer to report a bug upstream. Tell the human about the bug instead.

Styles ​

Each site loads one global stylesheet, .vitepress/theme/style.css. It declares the ui-sdk layer first, then loads Tailwind CSS, then loads the ui-sdk styles in the components layer. This order stops the base styles of Tailwind from a reset of the ui-sdk styles.