Use this skill when contributing to InsForge's reusable UI package. This is for maintainers editing design-system primitives, exports, styles, and package-level component behavior in the InsForge monorepo.
Use this skill for packages/ui/ work in the InsForge repository.
packages/ui/src/components/**packages/ui/src/lib/**packages/ui/src/index.tspackages/ui/src/styles.cssPut only reusable primitives here.
packages/ui/.packages/dashboard/.frontend/.Preserve the package's implementation style.
class-variance-authority for variants when appropriate.cn() helper for class merging.Keep the public surface in sync.
packages/ui/src/index.ts.any type. Keep component props and exported helpers strictly typed.Validate downstream impact.
packages/dashboard/ even if packages/ui/ itself builds cleanly.cd packages/ui && npm run buildcd packages/ui && npm run typecheckAlso validate packages/dashboard/ when the changed component is used in the dashboard, and validate frontend/ if the host app integration or CSS entrypoints changed.