# VSG Build OS — Start Here

A reusable standard for building software with Claude. You bring the business
knowledge. Claude builds. The standard keeps every project consistent.

VSG Build OS v2.6.0

---

## Starting a new project

1. Create the project from the VSG Build OS template repository on GitHub, or copy
   this folder into an empty project folder.
2. Open that folder in Claude Code.
3. Start in Plan Mode:

   ```
   claude --permission-mode plan
   ```

   Already in a session? Press `Shift+Tab` until Plan Mode shows.
4. Paste the text from `FIRST_PROMPT.txt`.
5. Answer one question at a time.

If you already sketched the idea — a mockup, screenshots, a spreadsheet of the
data, an existing report — put those files in the **`prototype/`** folder before
step 4. Claude reads them and skips most of the questions. The prototype guides the
design; it does not become the real build.

Claude will not write application code until the brief is written and you approve it,
and the build plan that follows it is approved too.

---

## Coming back later

Say: **"Start or continue this project."**

Claude reads the project state, checks GitHub, and tells you where things stand
and the one next thing to do.

---

## One-time setup

When Claude asks what command runs your tests, answer it. That single answer lets
the system stop a broken commit automatically. Two minutes, once per project.

---

## What runs automatically

You never run these. They run themselves and stop work when something is wrong:

- Committing to the main branch — stopped
- Force push or history rewrite — stopped
- Passwords, keys, or `.env` files about to be committed — stopped
- Committing while tests are failing — stopped
- A file growing too large — flagged for review

If something is stopped, Claude will explain in plain language what happened.
Nothing is lost when a stop happens.

---

## What Claude keeps written down

In `docs/build/`, and kept current as you work:

| File | What it holds |
|---|---|
| `PROJECT_BRIEF.md` | What we're building and why |
| `BACKLOG.md` | Every task to build it, in order, and what's done |
| `PROJECT_STATUS.md` | Where we are, what's next |
| `DECISIONS.md` | Every decision and the reason for it |
| `ROLES_PERMISSIONS.md` | Who can see and do what |
| `TEST_DATA.md` | Reusable test accounts and records |
| `OWNERSHIP.md` | Who owns what, who to escalate to |
| `RELEASE_ROLLBACK.md` | How to release and how to undo it |
| `RUN_REPORTS.md` | What happened each time a batch of tasks was run |

A decision made only in conversation is a decision that will be lost.

---

## Your build plan

Once you approve the brief, Claude writes `BACKLOG.md` — every task needed to build
the thing, in the order it has to happen, with a note of which ones your IT partner
must sign off. You approve that too, and correct anything wrong, before any building
starts.

At the foot of that file are four tables that are **yours to write in at any time**:

- **Improvements** — anything you want changed about how it looks, reads or flows
- **Functional requirements** — something it must do that isn't listed yet
- **Data needed** — a field, list or figure that has to exist somewhere
- **Questions** — anything you want answered

Write into them whenever something occurs to you, in whatever words you like. You
don't need to work out where it belongs or how big it is — Claude places it into the
plan and tells you what it costs.

As work happens, Claude keeps the plan current itself. A task moves to *in review*
when the work is submitted, and is only ticked off once it has actually landed — so
the plan never shows something as finished while it is still waiting on a review. New
tasks get added as they come up, and at the end of each session Claude shows you what
it added, so nothing changes behind your back.

---

## Already decided, so you never get asked

**Technology** — Laravel, MySQL, React Native, React. Your IT partner chose these.
Claude builds with them by default.

**Look and feel** — the Bell-Kenz green palette and a standard, highly readable
font are built in. Every project will look consistent without you specifying
anything. If a screen needs something particular, just say so.

---

## Three sizes of change

You don't need to classify these — Claude does. But so you know what to expect:

- **Trivial** (wording, colors) — Claude just does it on a branch
- **Standard** (a new screen or field) — task claimed, plan agreed first
- **Structural** (logins, permissions, data, going live) — your IT partner must
  sign off before it merges. This one cannot be skipped, including by you.

---

## Running several tasks at once

If you have a few things already agreed and written down, say **"run these"** and
list them. Claude works through them one after another without stopping to ask you
between each, then stops and hands you the finished work to review.

It only does this for work that is already decided, small enough to be safe, and
doesn't touch logins, patient data, or how data is stored. If something isn't
suitable, Claude tells you before it starts rather than halfway through.

If anything goes wrong, it stops the whole run rather than pushing on, and writes
you a plain-language report of what got done and where it stopped.

## Keeping up to date

Say **"update Build OS"** to pull in improvements to the standard. Claude shows you
what would change first. Your project's work and records are never touched.

Improvements always come from the standard itself — so if something in the way
Claude works needs fixing, it gets fixed once, for every project, rather than
patched here and lost.

## Working with your IT partner

Both of you can build. Neither works directly on the main branch. Your IT partner
should read `IT_PARTNER.md` before the first structural change.
