validate
Run validation checks - determines whether to use fast (validate) or full (validate:full) based on changed files
SKILL.md.claude/skills/validate/SKILL.md
GitHubValidate Skill
Run the appropriate validation for your changes.
Commands
| Command | What it does | When to use |
|---|---|---|
bun run check |
lint + format + typecheck | Quick syntax check |
bun run validate |
check + build TS/worker + unit tests | Default for most changes |
bun run validate:core |
validate + integration tests | Core behavior changes |
Decision Logic
Check what files changed using
git statusorgit diff --name-onlyUse
bun run validate:coreif changes touch:src/agent/(core agent behavior)src/workspace/(workspace lifecycle)src/terminal/(terminal/WebSocket)
Use
bun run validatefor everything elseRun specific tests relevant to your changes instead of full suites:
bun test test/unit/relevant.test.ts bun test test/integration/relevant.test.ts bun test web/e2e/relevant.spec.ts
Steps
Check changed files:
git diff --name-only HEADRun validation + relevant tests:
bun run validate # Then run specific tests for your changes bun test test/unit/relevant.test.tsIf validation fails, fix issues and re-run
Run warden to get code review feedback locally (security, react best practices, code simplification):
warden -vThe
-vflag streams findings in real-time. Fix any issues warden finds before creating a PR.
Notes
validateis fast (30s),1-2min)validate:coreadds integration tests (- CI runs full validation on PRs, so targeted tests are usually sufficient locally