Ui ui

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.

Works in Claude, ChatGPT, Codex and more
Our test
—
not tested yet
GitHub stars
13k
insforge/insforge
Added by
0
members
Updated
Dec 6
commit 709c260
Content
1 file
no scripts · 2 KB
License
Apache 2.0
free to use

What our test found

Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.

View on GitHub ↗
name: ui
description: 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.

InsForge Dev UI

Use this skill for packages/ui/ work in the InsForge repository.

Scope

  • packages/ui/src/components/**
  • packages/ui/src/lib/**
  • packages/ui/src/index.ts
  • packages/ui/src/styles.css

Working Rules

  1. Put only reusable primitives here.
  2. If the component is generic across dashboard features or other InsForge apps, it belongs in packages/ui/.
  3. If it is tightly coupled to one dashboard workflow but should ship to both OSS and cloud hosts, keep it in packages/dashboard/.
  4. If it is only for the self-hosting host app, keep it in frontend/.
  1. Preserve the package's implementation style.
  2. Use class-variance-authority for variants when appropriate.
  3. Use the shared cn() helper for class merging.
  4. Follow the existing Radix-wrapper and typed-export patterns.
  1. Keep the public surface in sync.
  2. Export new public components from packages/ui/src/index.ts.
  3. Avoid adding internal-only abstractions to the package surface unless they are meant to be consumed.
  4. Never use the TypeScript any type. Keep component props and exported helpers strictly typed.
  1. Validate downstream impact.
  2. The shared dashboard package consumes this package directly, so UI changes can break packages/dashboard/ even if packages/ui/ itself builds cleanly.

Validation

  • cd packages/ui && npm run build
  • cd packages/ui && npm run typecheck

Also validate packages/dashboard/ when the changed component is used in the dashboard, and validate frontend/ if the host app integration or CSS entrypoints changed.