What The Craft is
The Craft is the art of building end-to-end applications with Claude — apps that are scalable, maintainable, and easy to keep evolving, migrating, and changing across the whole life of the project. Not a Framework — A ready-made skeleton with the basic parts of an app, which you build on instead of starting from scratch. It saves work but adds a dependency and weight — the doctrine reaches for one only when the interaction needs it. more in the glossary →, not a library — a human + agent doctrine: a tight set of rules, commandments, and anti-patterns that keep the code understandable to the next session, testable, safe to change, and trustworthy — from the first Commit — A saved, labelled point in the project’s history — a confirmation of a specific batch of changes. Small, described commits make a history you can return to any working state from. more in the glossary → to Environment (dev / prod) — Separate places where the app runs: “dev” for safe tests, “prod” for real users. Dev is a playground, prod is where real users are — the rules for each are completely different. more in the glossary → with real users.
In one paragraph
Most AI-built projects don’t fall apart because the agent can’t write code — they fall apart because
nobody set the rules. The Craft is those rules: you attach them to a project as docs/rules/, and
from Day 0 Claude knows “how we do things here.” The result is an app with an extremely flexible
structure of files and technologies — you start simple (one server, one database), and the structure
is ready for growth from the outset: separated layers, Feature flag — An internal switch that turns a new feature on for some people, or off, without reworking the code. You roll a novelty out gradually and roll it back in a second — the cheapest insurance with any change. more in the glossary →, forward-only Migration (database) — A controlled change to the database layout — adding a column, a table or moving data — step by step. Like a renovation to plan: rebuilding data in a set order so nothing “collapses”. more in the glossary →, Slug — A readable, short part of a page address that describes its content in words instead of a mysterious number. Better for humans and SEO; a stable slug doesn’t break links when things change. more in the glossary →
instead of ID. You evolve, migrate, and scale without rewriting from scratch — all with respect
for personal privacy and the law (GDPR — The EU’s data-protection law — how you may collect, keep and delete users’ data. It concerns every app with people’s data. Better to write in consents and retention from the start than pay fines later. more in the glossary →, consents, protecting the creator) built in from the start,
not bolted on at the end.
Who it’s for
A single developer — a solo creator or a one-person shop — building and running a real application individually, with AI as the pair: not an enterprise team with dedicated ops, QA, and reviewers. It’s written to that scale — one head, one server, one Deploy — Releasing a new version of the app “live”, where real people use it. It’s the moment a change reaches real people — which is why it happens only on an explicit “deploy”. more in the glossary → you can hold in your mind. “Solo” doesn’t mean “one writer”, though: you’ll routinely run several Claude sessions at once on the same Repository (repo) — A store of the whole project’s code together with its full history of changes — who changed what and when. The repo is the project’s memory: code, documentation and change history in one place. more in the glossary → (a fix in one, a feature in another), and that is already a multi-writer situation. So the coordination rules (Issue — A task or bug recorded in a tracker (e.g. GitHub Issues), with a description and acceptance criteria. That’s where the “why” of a change lives — not in someone’s head or a chat that will disappear. more in the glossary →, short Branch — A separate working version of the project where you change something on the side, without touching what already works. On a branch you experiment safely; only what’s been checked reaches the main version. more in the glossary →, Push / pull — Push sends your commits to the remote repository; pull fetches changes from there into your copy. A push is an “outward” action — in The Craft it needs explicit consent, like a deploy. more in the glossary →/pull discipline, “don’t ship what you didn’t mean to”) exist for parallel agent sessions — they earn their keep the moment a second session is open, long before any human teammate appears (→ 05, 06).
What you get
- Code that reads like prose — matched to its surroundings, easy to review for a human and an agent.
- Git history as the project’s memory — search before you write; never reinvent what already exists.
- Verification instead of declaration — “it works” means proof: a Smoke test — A quick “does it even work” test right after a deploy — checks the most important paths (e.g. login). Catches disasters in 30 seconds before a user sees them. A cheap way to sleep well after a deploy. more in the glossary →, an HTTP code, numbers, a screenshot.
- Safe changes — Dry-run — A “dry” run — the script shows what it WOULD do but changes nothing. You see the effects before executing; a data change happens only after deliberate confirmation. more in the glossary → by default, a Backup — A copy of your data saved earlier, which you return to when something goes wrong. It’s the only way to undo a change to data — code comes back from git, data only from a backup. more in the glossary → before every migration, production is sacred, user data is untouchable.
- Flexibility and scalability — a Monolith — An app built as one whole (one deploy, one database), not a patchwork of separate services. A simple, cheap default to start — easy to grasp. You split it only when scale really demands. more in the glossary → on a single VPS — A rented piece of a cloud server “just for you”, where you put an app “live”. Predictable cost and full control. One VPS easily carries a few small projects. more in the glossary → as the simple default, with an explicit growth path (SQLite — The simplest database — the whole thing lives in one file, with no separate server. A great default to start: zero configuration, easy backup (you copy the file). As you grow, you migrate up. more in the glossary → → PostgreSQL — A solid, “grown-up” database for bigger apps — runs as a separate server. The default step after SQLite, when you need many concurrent users and advanced features. more in the glossary →, VPS → Serverless — A model where you don’t manage a server — the code runs itself when someone needs it, and sleeps when not. You pay per use, it scales itself. The trap: a “cold start” — the first call can be slower. more in the glossary →) when a metric forces it.
- Legal peace of mind — terms of service, a privacy policy, and disclaimers as the creator’s armor, not an afterthought.
Why you should try building an app with The Craft
Because the difference isn’t whether the agent writes the code — it’s what your project looks like three months from now. Without rules, every agent session adds a little chaos: inconsistent style, documentation that lies, a migration with no backup, a deploy “because it’s done.” A quarter later you have an app you’re afraid to touch. The Craft reverses that trajectory: every change leaves the project cleaner, not worse.
You start fast, not cheap. One server, a simple stack, a monolith — something you can hold in your head: one deploy, one log, one backup, one Rollback — Reverting a change to the previous, working state — “Ctrl+Z” for a deployment. When a new version breaks production, a rollback restores the previous one in seconds instead of fixing in a panic. more in the glossary →. That isn’t “primitive” — it’s cheap to maintain. And when real scale finally arrives, the structure is already waiting for it: layers are separated, keys are stable, migrations are one-way. Growth and migration stop being a rewrite and become an addition.
Human and agent play toward the same goal. Plan → iterate → review. The agent doesn’t guess — it follows a proven recipe, searches the history, reports honestly (failures included, not just wins). You stay the architect of decisions, not the proofreader of chaos. It’s a collaboration where trust is built on proof, not optimism.
Privacy and the law are handled from Day 0. GDPR, consents, retention, protecting the creator — written as policies into the project’s constitution before the first real user shows up. No late-night scrambles “because someone asked to delete their account.”
Best of all: it’s reusable. The Craft isn’t built “for one project.” You attach it as docs/rules/
to every new app, fill in the brief, and go — and each new project benefits
from the lessons of the last.
How to start
You don’t even have to read the whole Decalogue first. The fastest start:
- Install Claude Code (desktop or terminal) — the guide.
- Unzip The Craft pack into your project (
docs/rules/) and ask Claude for a plain pointer to the rules at the top ofCLAUDE.mdandAGENTS.md— step by step. - Fill in the brief in the pack’s reader (it saves as
project-brief.md) and start from Day 0.
The agent reads the rules so you don’t have to memorize them — the doctrine just works in the background.
Try it once. Take your next idea, attach The Craft, start from Day 0, and build it like a craftsman — slow where a mistake is expensive, fast where it’s cheap. You’ll see the difference not on day one, but in month three — when the app is still a pleasure to work on. Start with the Decalogue: the whole doctrine on a single screen.