You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/shadcn-ui/SKILL.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ description: Use when adding or updating shadcn/ui or compatible registry compon
31
31
4. Keep generated file structure intact.
32
32
- Generated files are an exception to the repo's normal single-export preference
33
33
- Multiple exports are allowed if the generator created them
34
+
- Generated comments are allowed; keep them unless they conflict with repo-specific behavior or become misleading after follow-up edits
34
35
35
36
5. Make only minimal repo-specific follow-up changes.
36
37
- Add missing dependencies to the target package's `package.json`
@@ -50,6 +51,7 @@ description: Use when adding or updating shadcn/ui or compatible registry compon
50
51
- rename generated `packages/world/components/auth/auth.tsx` to `packages/world/components/auth/auth-router.tsx`, and update relevant names such as `Auth` / `AuthProps` to `AuthRouter` / `AuthRouterProps`; alias Better Auth UI's `AuthView` type as `BetterAuthView`
51
52
- keep `packages/world/components/auth/auth-link.tsx` and `packages/world/components/auth/auth-provider.tsx`; adapt them to upstream changes when applicable
52
53
- Add or update tests so coverage stays at 100%
54
+
- Each generated source file should have its own corresponding test file; do not combine tests for multiple generated source files into one test file
53
55
54
56
6. Prefer bundled Radix over individual `@radix-ui/*` packages.
0 commit comments