32 / 139 · 13 Browser Automation with Playwright · Quick Start Preparation: Turn Discovery into a Scaffolding-Ready Package← prev⊞ allnext →☰ Read as one page
2.12Step 8 — Decide the initial validation gate
The initial repo should be easy to validate frequently.
That means the scaffold should support scripts like:
npm run bootstrap
npm run lint
npm run format
npm run format:check
npm run typecheck
npm run test
npm run test:ui
npm run test:api
npm run test:smoke
npm run test:contract
npm run test:a11y
npm run docs:check
npm run validate
npm run report
npm run plan:init
npm run new:spec
Recommended meaning of validate
Keep it concise but useful.
A good default is:
- format check
- lint
- typecheck
- smoke tests
Do not make the local validation gate so heavy that agents stop using it.