-
-
Notifications
You must be signed in to change notification settings - Fork 370
Description
Feature request
Summary
Based on the release of skills.sh, add/publish a skills.md file to explicitly document correct Base UI usage patterns—specifically how to handle slots, the render prop, and component composition—to mainly prevent confusion with other headless libraries.
In my experience using AI to build with Base UI, the models constantly mix up APIs. Because both Base UI and Radix UI operate in the "headless" space, the AI frequently hallucinates Radix patterns (like asChild or specific data attributes) into my Base UI code.
Examples in other libraries
The people of remotion made his own official skills file:
https://skills.sh/remotion-dev/skills/remotion-best-practices
https://github.com/remotion-dev/skills
Motivation
LLMs view "Headless UI" as a generic concept. When I ask an AI to write Base UI code, it often defaults to the training data weights of Radix UI (which is currently more prevalent in older training sets).