clouds-kit

CloudsKit

Build a full-stack app one feature at a time. Keep the code. Keep control.

CloudsKit is a toolkit for developers building apps with NestJS, Next.js, and Flutter. It generates ordinary application code from reusable, versioned building blocks, then tracks what it generated so teams can inspect, customize, and upgrade their projects.

Add a capability to an API and its clients, and each gets the corresponding implementation and shared contract. The result is a codebase you can keep developing without depending on a hidden runtime or proprietary app platform.

The problem

Starting a new app often means rebuilding the same foundations: authentication, data management, file uploads, and the connection between API and client.

Copying a starter project gets you moving, but copied code can drift. Generic generators can leave you with code that is hard to customize or upgrade.

CloudsKit aims to give developers a middle path: reusable features that generate into your project as readable, framework-native code, with ownership and upgrade boundaries recorded.

How it works

Choose a starter or project blueprint
                 ↓
Add a capability to each app that needs it
                 ↓
Review the plan, then apply the changes
                 ↓
Verify the API and clients together
                 ↓
Continue building with ordinary app code

For example, start a project with an API and web app, then add a projects resource and document uploads:

clouds-kit create fullstack studio
cd studio

clouds-kit kit add records --target api \
  --set name=projects \
  --set fields="name:string,budget:number,launch:date?" \
  --set store=postgres

clouds-kit kit add records --target web \
  --set name=projects \
  --set fields="name:string,budget:number,launch:date?" \
  --set page=example

clouds-kit kit add documents --target api
clouds-kit kit add documents --target web --set page=example

clouds-kit doctor --verify
clouds-kit dev

Each command previews the files it will create or change. Use --dry-run to inspect a plan without applying it. After generation, the project is a regular NestJS, Next.js, or Flutter codebase.

What you can build with

Building block Purpose Examples
Starter A blank application for one framework nestjs-api, nextjs-web, flutter-app
Capability A reusable feature for a supported framework auth, records, documents
Blueprint A connected project assembled from starters and capabilities auth-app, fullstack, documents-app
Template A working example application TaskFlow, Spendly

Capabilities currently cover authentication, user-owned records, and private documents across NestJS, Next.js, and Flutter. A capability is installed into each relevant app with a command for that target.

Why the generated code stays yours

CloudsKit records the files it creates and how they are owned in .cloudskit/kit.lock.json.

CloudsKit does not impose a design system or a runtime dependency on the generated application.

Built with Kiro

Kiro is part of how CloudsKit is developed and how its generated projects are prepared for further work with coding agents.

In the CloudsKit repository:

A generated full-stack project includes Kiro steering and hooks tailored to the selected apps. The instructions explain the project structure and verification workflow, and help an agent understand which files it can freely edit and which files are managed by CloudsKit.

The generated project remains usable with other coding agents too. The app code is conventional framework code, and portable CloudsKit skills are available through clouds-kit skills install.

Example projects

CloudsKit includes two full-stack example applications:

Both are generated from the same building blocks available to new projects. See examples/ and the examples guide.

Try it

Requirements: Node.js 20.19 or newer, pnpm 10, and Git. Docker is needed to run the Compose setup. Flutter is needed to develop the mobile app.

git clone https://github.com/Misty-clouds/clouds-kit.git
cd clouds-kit
pnpm install
pnpm build
(cd packages/kit && npm link)

clouds-kit kit list

If you cannot use npm link, run the CLI directly with:

node packages/kit/dist/clouds-kit.cjs kit list

To create and run a full-stack project, use the commands in the workflow above. clouds-kit dev starts the project apps with their local URLs and configuration. For the container setup, copy .env.example to .env, add the required secrets, then run docker compose up --build.

Current status

Area Available
Starters NestJS API, Next.js web app, Flutter app
Capabilities Auth, records, and documents for the supported frameworks
Blueprints Auth app, full-stack app, and documents app
Templates TaskFlow and Spendly
Agent skills CloudsKit, documents integration, and NestJS capability skills
CI and infrastructure presets Schema drafts only; no install command yet

The auth capability currently uses a development user store. Replace it with an app-owned, database-backed UserStore before deploying an application that relies on it.

The end-to-end workflows and their verification status are documented in VERIFICATION.md. See ARCHITECTURE.md for the design, ROADMAP.md for planned work, and CONTRIBUTING.md to contribute.

License

CloudsKit is released under the MIT License.