YSK product · MIT · npm · v1.0.1

YSK Kit

A contract-first full-stack platform: shared contracts, a hexagonal API, and optional web, admin, mobile, and desktop clients. CLI: ysk-kit / yskk. Requires Node 24 and pnpm 12.

  • ysk-kit / yskk
  • Port 3001
  • MIT
YSK Kit clinic-booking example: a created appointments list
MIT v1.0.1Free to use yourself
6 flavorssaas · desktop · gateway …
16 capabilitiesauth · jobs · billing …
10 examplesclinic · CRM · work orders …

Write business rules on day one

This repository is the living saas flavor. Identity, files, notifications, jobs, mail, API keys, crypto, and realtime are already wired. Product domains stay out of the kit.

  1. Scaffoldpnpm create @ysk-kit/app
  2. Databasemigrate · seed
  3. Moduleysk-kit add module
  4. Verifypnpm layers · test
  5. DevelopAPI :3001 · Web :5173
apps/web  ──►  @ysk-kit/web-sdk  ──►  @ysk-kit/contracts
                                      ▲
apps/api (HTTP adapter) ──────────────┤
      │                               │
      ▼                               │
 application / use-cases ─────────────┤
      │                               │
      ▼                               │
 domain (entities, ports) ────────────┘
      ▲
      │ implements
 infra (prisma, redis, s3, mail)

Contracts first

@ysk-kit/contracts is the only source of enums, DTOs, error codes, and ts-rest routes. Do not use TypeScript enum.

Hexagonal API

The business core does not know Express, Prisma, or React. Domain and application depend on ports. pnpm layers enforces this.

One HTTP surface

Browsers, phones, partners, and agents share REST + OpenAPI. Clients talk to the API only through @ysk-kit/sdk.

Optional capabilities

Auth, jobs, and billing are not required in every product. Thin strips llm / billing / orgs / push; add them back when you need them.

AreaWhat you get
Scaffoldpnpm create @ysk-kit/app; from this checkout pnpm --filter @ysk-kit/create-app start
Flavorssaas, desktop, gateway, php-bridge, trading, static-web3
PresetDefault thin; full keeps the living demonstration
DatabasePrisma 7, MySQL default; --db postgresql|sqlite
HTTPExpress 5 default; HTTP_ADAPTER=fastify
Envelope{ ok, data } / { ok, error }; four documented exceptions
ClientsVite 8 + React 19; Expo 57; Electron 44
CLIysk-kit / yskk: add module, add capability, upgrade, check agent
ExamplesTen overlays: clinic, CRM, stock, tickets…
Guardrailsysk-kit upgrade refreshes law / skills / TypeScript / Biome; check agent flags enum, client Prisma, raw fetch
Default portsAPI 3001 · Web 5173 · Admin 5174 · OpenAPI /docs
OpsCompose + PM2; optional Jaeger / Prometheus / Grafana

Frequently asked questions

Direct answer: Yes. MIT licensed for you to install. Scaffold or custom work: see Business. No prices on this page.

Direct answer: Omni is a local-model gateway. Server is a single-host Linux control plane. Kit is the contract-first platform you scaffold a new product from.

Direct answer: Node.js 24 and pnpm 12. Default ports: API 3001, web 5173, admin 5174.

Direct answer: Thin (default) strips llm, billing, organizations, and push. Full keeps the living demonstration. Restore with pnpm ysk-kit add.

Direct answer: No. Product domains stay in the product repository. The ten examples are overlays applied onto a new directory.

Direct answer: No. The product still runs on a host you own or the contract names. YSK does not operate a multi-tenant cloud edition of YSK Kit.

Start with YSK Kit

MIT · YSK Limited. Contract-first. Scaffold a product in fifteen minutes. Scaffold or custom work quoted in writing.