Clean Build Skill
clean-build
Clean all build artifacts and rebuild from scratch. Use when experiencing stale build artifacts, Turbo cache issues, mysterious build failures, or after dependency updates.
SKILL.md
Full skill instructions
Clean Build Skill
Clean all build artifacts and rebuild from scratch.
Usage
Use when experiencing:
- Stale build artifacts
- Turbo cache issues
- Mysterious build failures
- After dependency updates
Steps
- Run
pnpm cleanto remove build artifacts and prune store - Reinstall dependencies with
pnpm i - Run
pnpm buildto rebuild all packages - Verify build success
- Optional: Run tests to ensure everything works
Notes
- Turbo uses aggressive caching - clean build resolves most cache issues
- WASM dependencies (controller-wasm, session-wasm) rebuilt automatically
- GraphQL codegen runs automatically during keychain build
