React 19 starter powered by Bun, Rsbuild, Tailwind v4, and Biome. Playwright drives the end-to-end tests, and Lefthook keeps pre-commit checks fast.
- Bun 1.2.23 managed via proto
- Rsbuild for bundling and dev server
- Biome for formatting and linting
- Lefthook pre-commit hooks running
bun run checkandbun run test - Playwright for browser automation tests
- Install proto and follow the instructions in the docs linked above.
- From the repo root run
proto installto provision the pinned Bun toolchain. - Install dependencies with
bun install(this also installs Lefthook hooks via thepostinstallscript). - Start the app with
bun run dev. Other useful tasks:bun run buildto create a production bundlebun run previewto serve the built app locally
bun testruns the Bun-based unit and integration test suite.bun run test:e2eexecutes Playwright end-to-end tests. UI (:ui), debug (:debug), headed (:headed), and report (:report) variants are also available.
.github/workflows/ci.yml runs on pushes to main and pull requests. The workflow sets up Bun, installs dependencies, formats and lints with Biome, executes bun test, builds the app, installs Playwright browsers, and runs the Playwright suite. Playwright reports upload automatically on failure.
Custom commands live in .claude/commands and run from the Claude Code command bar using /command-name [optional arguments].
/new-featurekicks off the mandatory spec-driven flow for net-new features.
/specifydrafts or updates the feature spec from a natural-language brief./clarifyasks targeted follow-up questions and folds the answers back into the spec./planproduces the implementation plan artifact, and/tasksbreaks it into ordered work items./analyzevalidates consistency acrossspec.md,plan.md, andtasks.mdbefore implementation./implementexecutes the agreed task list;/constitutionmanages the project constitution if rules change.
/testing-plan,/testing-implement,/testing-analyze, and/testing-visualgenerate and improve automated, Playwright, and visual testing coverage.