CLAUDE.md · git:20261015.6126d14 · 2026-10-15 · sha256 0b759577e5621f1e

CLAUDE.md git:20261015.6126d14A

Immutable. This exact content never changes and is served at /api/v1/blob/0b759577e5621f1e.

## Language

- Always respond in Simplified Chinese.

## Fixing Bugs

- Find the root cause before writing a fix. Ask why the bug is possible at all, not just how to make this symptom go away.
- Don't patch symptoms (measuring and compensating, forcing state back after the fact, special-casing one input). If a fix needs another fix, stop: the structure is wrong.
- Prefer the structural fix that makes the bug impossible by construction, and reuse patterns the codebase already uses for the same problem.
- Check whether the same root cause affects other places, and fix them together.
- When only a patch is feasible, say so explicitly and explain the trade-off.

## Code Comments

Write as few comments as possible.

Comments should be:
- short (usually under one line)
- describe *why*, not *what*
- avoid explaining obvious code
- never write tutorial-style comments
- never comment every step

## Git Commits

- Use a single short one-line message.
- Never add Claude attribution (no `Co-Authored-By: Claude` or similar lines).