Agent skill

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.

Stars 7,704
Forks 615

Install this agent skill to your Project

npx add-skill https://github.com/InsForge/InsForge/tree/main/.claude/skills/insforge-dev/ui

SKILL.md

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.

    • If the component is generic across dashboard features or other InsForge apps, it belongs in packages/ui/.
    • If it is tightly coupled to one dashboard workflow but should ship to both OSS and cloud hosts, keep it in packages/dashboard/.
    • If it is only for the self-hosting host app, keep it in frontend/.
  2. Preserve the package's implementation style.

    • Use class-variance-authority for variants when appropriate.
    • Use the shared cn() helper for class merging.
    • Follow the existing Radix-wrapper and typed-export patterns.
  3. Keep the public surface in sync.

    • Export new public components from packages/ui/src/index.ts.
    • Avoid adding internal-only abstractions to the package surface unless they are meant to be consumed.
    • Never use the TypeScript any type. Keep component props and exported helpers strictly typed.
  4. Validate downstream impact.

    • 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.

Expand your agent's capabilities with these related and highly-rated skills.

InsForge/InsForge

insforge-dev

Use this skill set when contributing to the InsForge monorepo itself. This is for InsForge maintainers and contributors editing the platform, the shared dashboard package, the self-hosting shell, the UI library, shared schemas, tests, or docs.

7,704 615
Explore
InsForge/InsForge

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.

7,704 615
Explore
InsForge/InsForge

backend

Use this skill when contributing to InsForge's backend package. This is for maintainers editing backend routes, services, providers, auth, database logic, realtime, schedules, or backend tests in the InsForge monorepo.

7,704 615
Explore
InsForge/InsForge

dashboard

Use this skill when contributing to InsForge's shared dashboard package. This is for maintainers editing `packages/dashboard`, which ships in `self-hosting` and `cloud-hosting` modes, and the local `frontend/` shell used for `self-hosting` in this repo.

7,704 615
Explore
InsForge/InsForge

docs

Use this skill when contributing to InsForge's product documentation in this repository. This is for maintainers editing public docs in `docs/core-concepts`, agent docs in `docs/agent-docs`, SDK integration guides in `docs/sdks`, and OpenAPI specs in `openapi`.

7,704 615
Explore
InsForge/InsForge

shared-schemas

Use this skill when contributing to InsForge's shared schema package. This is for maintainers editing published Zod contracts, exported types, and shared API payload definitions consumed by InsForge packages in this repo and other InsForge tooling.

7,704 615
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results