Skip to content
Agent Ship Kit

Configuration

What your project reads, and how to check it.

Environment

lib/env.ts checks every variable when the server starts and names each missing or malformed one. .env.example lists all of them with where to get each value. Your README.md has the same list as a table, for exactly the stack you picked.

Secrets never get the NEXT_PUBLIC_ prefix. Every new variable goes into both lib/env.ts and .env.example.

check:setup

pnpm check:setup checks every variable and each provider connection. Run it after filling in .env.local and pnpm db:setup. Before you deploy, run pnpm check:setup --deploy: your host's check then counts too. It is the first thing to run when something fails on a real account.

Database

pnpm db:setup     # first tables, and new migrations during development
pnpm db:migrate   # apply migrations in production or CI

Your README.md has the commands for the ORM you picked.

Regenerating

agentshipkit.json records your build. In the builder, open Share, add your key and choose Rebuild from agentshipkit.json. The same Agent Ship Kit version gives the files back byte for byte. A rebuild is a fresh copy: your own edits are not merged.