Library › Book 13 › 2: Quick Start Preparation — Turn Discovery into a Scaffolding-Ready Package
2: Quick Start Preparation — Turn Discovery into a Scaffolding-Ready Package
0.1🔒Why this chapter existsChapter 1 produced the raw customization artifacts.
0.2🔒Inputs required from Chapter 0.1These must already exist:
0.3🔒The main rule of this chapterplaywright-scaffolding.md is now the application-specific source of truth.
0.4🔒What this chapter prepares Claude Code to doAfter this chapter, Claude Code should be ready to scaffold:
0.5🔒Step 1 — Review the four required artifacts togetherOpen these side by side:
0.6🔒Step 2 — Normalize naming before scaffoldingThe scaffolding phase gets much better when naming is normalized first.
0.7🔒Step 3 — Decide the initial harness boundariesA good initial repo is not the whole universe. It is a clear starting slice.
0.8🔒Step 4 — Decide the initial directory namingBefore Claude Code scaffolds, be explicit about the major top-level areas.
0.9🔒Step 5 — Decide the opinionated defaultsBefore scaffolding, make these rules explicit.
0.10🔒Step 6 — Prepare the root instruction strategyClaude Code reads CLAUDE.md at the start of every session. It is the most important file for shaping Claude's behavior, but it must stay…
0.11🔒Step 7 — Prepare the planning systemThe first scaffold should not only create code folders. It should create an operating system for future work.
0.12🔒Step 8 — Decide the initial validation gateThe initial repo should be easy to validate frequently.
0.13🔒Step 9 — Decide the artifact and debugging conventionsThe scaffold should create predictable local outputs.
0.14🔒Step 10 — Decide the initial CI expectationsThe first scaffold should be CI-aware even if CI is still minimal.
0.15🔒Step 11 — Choose the right permission mode for scaffoldingClaude Code has several permission modes that control how often it pauses to ask for approval. The default mode asks before every file edit…
0.16🔒Step 12 — Prepare hooks for automated quality checksClaude Code supports hooks — shell commands that run automatically at specific points in Claude's workflow. Unlike CLAUDE.md instructions…
0.17🔒Step 13 — Prepare the exact prompt package for Claude CodeBefore moving to Chapter 0.3, prepare the final set of inputs Claude Code will read.
0.18🔒Step 14 — Final pre-scaffolding checklistDo not move to Chapter 0.3 until all of the following are true:
0.19🔒What not to do in this chapterDo not:
0.20🔒Deliverable from Chapter 0.2You should now have: