Skip to content
Backend
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.

From plugin
insforge
13k8 skills
Install
$ npx -y skills add InsForge/InsForge --skill ui --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ui

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

ui.SKILL.md
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.

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

Read more
Ships withinsforge

The all-in-one, open-source backend platform for agentic coding. InsForge gives your coding agent database, auth, storage, compute, hosting, and AI gateway to ship full-stack apps end-to-end.

Get the whole plugin
Stats
12,737
Stars
1,145
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
9h ago
Last commit
1y ago
Created

Repo: InsForge/InsForge

Other skills on insforge.