🔧 Update UI skill

This commit is contained in:
Baptiste Arnaud 2026-03-24 17:14:33 +01:00
parent ece99ba625
commit 07a2c83bf2
No known key found for this signature in database

View File

@ -5,5 +5,5 @@ description: Use this skill when you need to write any frontend components. It e
- Keep it simple. Use the least amount of class names as possible
- We like to rely mostly on Flexbox layout. Instead of `w-full` try `flex-1` instead.
- UI primitives are defined in packages/ui. Use them whenever possible.
- UI primitives are defined in packages/ui. Use them whenever possible. Be very careful when you add custom class names to a primitive components, it should be last resort for a very local exception: we want the design system to be respected.
- You can write `useEffect` only if syncing with external storage. Otherwise, just derive values from others.