Using AI tools with Sky

Sky is designed to be written with an AI assistant. Because the language is small, explicit, and "if it compiles it works", a model that follows a few house rules produces correct, production-shaped Sky the first time.

Every Sky project ships an AGENTS.md

sky init scaffolds two files into your project:

Most editors' AI features read AGENTS.md (or CLAUDE.md) from the repo root automatically, so your assistant starts already knowing how to write Sky.

Keep it current with sky upgrade-claude — it refreshes both files from the installed compiler's template.

What the guide teaches your assistant

A good prompt

"Build me a small internal tool to track team book recommendations. It's for ~10 people on one VM; losing data on restart is not OK."

A Sky-aware assistant hears internal / small / must survive restart and reaches for Sky.Live + SQLite + Std.Db.Store, a memory-or-sqlite session store, and a single deployable binary — not Postgres, Redis, and Kubernetes. That's the point: the defaults are right, so you describe the problem and get production-shaped Sky.