From ef2f1cd3f1c07d4c6711e8434d56624f5fa9cc5f Mon Sep 17 00:00:00 2001 From: Hendrik Melse Date: Tue, 27 Oct 2026 13:03:12 -0700 Subject: [PATCH] Add CLAUDE.md with the project guidance that lived in Claude's local memory Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..e81254f --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,17 @@ +# Working in this repo + +Scoreplot, a web app for keeping score in games (React + TypeScript frontend in `web/`). The README describes the layout. This file holds what a new Claude session needs on top of that. + +## Before every push + +Run all of CI's steps from `web/` right before pushing (not earlier in the session), and fix anything that fails first: + +``` +npm run lint +npm run format:check +npm run typecheck +npm test +npm run build +``` + +The steps are defined in `.github/workflows/ci.yml`. A failure blocks the deploy job and emails the owner. It happened once after running only tsc and vitest: eslint (`react-hooks/purity`, `performance.now` in a component) and prettier (a SCSS file) both failed in CI.