Skip to content
Backend
Skill

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

From plugin
insforge
13k8 skills

Claude Code

$ npx -y skills add InsForge/InsForge --skill shared-schemas --agent claude-code

SKILL.md

shared-schemas.SKILL.md
name: shared-schemas
description: 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.

InsForge Dev Shared Schemas

Use this skill for `packages/shared-schemas/` work in the InsForge repository.

Scope

  • `packages/shared-schemas/src/**`
  • any code in this repo that consumes the changed contracts
  • downstream InsForge tooling that depends on the published `@insforge/shared-schemas` package, including consumers not present in this repository

Working Rules

1. Treat `packages/shared-schemas/` as the source of truth for cross-package payloads.

  • If a request, response, or domain shape is shared across InsForge surfaces, define it here.
  • Do not duplicate the same contract in package-local files.
  • Remember that this package is not only for the repo's backend and dashboard packages. It is also consumed by other InsForge tooling, including MCP and SDK code that may live outside this repository.

2. Keep schemas organized by domain.

  • Follow the existing `*.schema.ts` and `*-api.schema.ts` split when it fits the current package pattern.
  • Keep `packages/shared-schemas/src/index.ts` aligned with the intended public API.
  • Treat exported names and schema shapes as a public contract surface, not just an internal refactor target.

3. Use schema changes as a synchronization trigger.

  • Update backend validation and response usage.
  • Update shared dashboard services, hooks, and UI assumptions in `packages/dashboard/`.
  • Check for import sites across `packages/*`, `frontend/`, and `backend/` before finishing.
  • Call out likely downstream impact on MCP, SDK, or other external InsForge consumers when a change alters exported names, schema semantics, or payload shape.
  • Be conservative with breaking changes. If a breaking contract change is necessary, make it explicit in the handoff.
  • Never use the TypeScript `any` type. Shared contracts should stay explicit and trustworthy across package boundaries.

Validation

  • `cd packages/shared-schemas && npm run build`
  • `cd backend && npx tsc --noEmit`
  • `cd packages/dashboard && npm run typecheck`

Run package-specific tests as needed where behavior changed. If external consumers such as MCP or SDK cannot be validated from this repo, say that clearly instead of implying they were covered.

Read more
@insforge
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.

Stars on GitHub

Momentum

stars in total
13.3k
Star history of InsForge/InsForge on GitHub, a chart by star-history.com

Other skills on insforge.

doc-author

doc-author

Write, edit, and maintain documentation. Use for collaborative drafting, autonomous writing, or improving existing docs. Defaults…

@insforge@insforgeInstall Skill
insforge-dev

insforge-dev

Use this skill set when contributing to the InsForge monorepo itself. This is for InsForge maintainers and contributors editing…

@insforge@insforgeInstall Skill
backend

backend

Use this skill when contributing to InsForge's backend package. This is for maintainers editing backend routes, services,…

@insforge@insforgeInstall Skill
dashboard

dashboard

Use this skill when contributing to InsForge's shared dashboard package. This is for maintainers editing `packages/dashboard`,…

@insforge@insforgeInstall Skill
docs

docs

Use this skill when contributing to InsForge's product documentation in this repository. This is for maintainers editing public…

@insforge@insforgeInstall Skill
e2e-testing

e2e-testing

Use this skill when an InsForge maintainer has finished an OSS repo change and is ready to open, update, or submit the InsForge…

@insforge@insforgeInstall Skill

More skills from other plugins.

cli

cli

SpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers

spacetimedbtoday26k
@clockworklabs@clockworklabsInstall Skill
exa-agent

exa-agent

Use Exa Agent for multi-step web research, list-building, enrichment, structured output, run continuation, and coverage…

exa13d5.2k
@exa-labs@exa-labsInstall Skill
fde-ontology

fde-ontology

多源输入→本体检出→AI审核→场景升级→代码生成 自动化管线

dgiot5w4.9k
@dgiot@dgiotInstall Skill

Questions about shared-schemas.

Which coding agents can use shared-schemas?
shared-schemas installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.