Skip to content

Commit ab59603

Browse files
kwschulzclaude
andcommitted
docs: Add CLAUDE.md with project-specific guidance
- Document pre-push test timeout issue and workaround - Reference ai-skills for translation workflow - Note translation file conventions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2fa99a0 commit ab59603

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Claude Rules
2+
3+
## Pre-Push Tests
4+
5+
This repo has a pre-push hook that runs Playwright tests. The dev server must start before tests run.
6+
7+
**Known issue:** Cold starts can timeout (120s limit). If push fails with "Timed out waiting for webServer":
8+
1. Run `npm run dev` manually first to warm up
9+
2. Or run `npm test` before pushing
10+
3. Then retry the push
11+
12+
## AI Skills
13+
14+
See `ai-skills/website-translation.md` for the i18n workflow.
15+
16+
## Translation Workflow
17+
18+
- Source of truth: `src/i18n/en.json`
19+
- Generated translations: `src/i18n/generated/*.json`
20+
- Never manually edit generated files - regenerate using the translation skill
21+
22+
## Build & Deploy
23+
24+
- `npm run build` generates static site to `dist/`
25+
- GitHub Pages deploys from `dist/` on push to main

0 commit comments

Comments
 (0)