Skip to content
Skills Library
Programming · Building & coding

shared-schemas

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

Repository
InsForge ↗
Licence
Apache-2.0
Last repository change
24.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

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.

Original author 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.

How it works

  1. Scope
  2. Working Rules
  3. Validation
Original SKILL.md headings · 40 lines, 323 words
SKILL.md preview
---
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.

Versions

The database has no other skills named shared-schemas.

Identical content appears in 2 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version b33956ca6ea9 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90insforge-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.
  • 90dashboard
    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.
  • 100insforge-debug
    Rigor Debug / Rigor Audit 技能,面向 Insforge(即时后端/数据库服务)的调试。当用户想排查 Insforge 数据模型、CLI、本地开发或部署问题时使用。
  • 100output-dev-types-file
    Create types.ts files with Zod schemas for Output SDK workflows. Use when defining input/output schemas, creating type definitions, or fixing schema-related errors.
  • 100insforge-cli
    当用户需要后端,或任务通过 InsForge CLI 触及 InsForge 后端或云基础设施时使用:项目、SQL、迁移、RLS 策略、函数、存储、备份、部署、计算、密钥、配置、调度、日志、诊断、顾问扫描与抑制、导入/导出、AI/OpenRouter 设置、Stripe/Razorpay 支付、Apify 爬取、PostHog 分析、后端分支、组织成员、智能体记忆、反馈上报或 CLI 文档。应用代码集成见 insforge app-integration 技能。
  • 100openapi-to-zod
    Generate Zod v4 TypeScript schemas from OpenAPI (openapi.yaml / openapi.json) definitions. This skill exists because npm packages like openapi-zod-client do not support Zod v4 — Claude reads the YAML/JSON directly and writes the conversion. Use this skill whenever the user wants…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.