← chapter

Set up your AI coding tools

Chapter 1 · the toolchain before the topics

The hour

Why this is chapter 1

Claude Code in one line

The quickstart

claude --print "Write a Python script that prints..." > hello.py
python3 hello.py

One spec. One file. One run.

Antigravity, briefly

The loop

  1. Write a precise spec (3–4 sentences)
  2. Pipe it through the tool to a file
  3. Run it; if it fails, refine the spec by one sentence

Make it real

./ai-pair-workflow.sh "Write a small Python program that ..."

The spec is the unit of work.

The switch that matters

--print (or the tool's equivalent)

Takeaway

Save the spec next to the code. Treat both as source. You can rebuild any week's example from a one-paragraph spec.