Skip to content

Commit aae23a8

Browse files
RogerThomasclaude
andcommitted
CLAUDE.md: never commit untracked files speculatively
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5673827 commit aae23a8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Run from the repo root using the `n:` namespace (aliased from `node-version/Task
3131
- **Never force push**
3232
- **Never push directly to `main`** — if the user asks to commit and no branch is checked out, ask whether to create one first
3333
- **Always run `task n:check` after making code changes** and fix any errors before considering the task done
34+
- **Never commit untracked files speculatively** — the working directory may contain scratch files, local tools, and other artefacts that must not be committed; only stage files that are directly part of the change
3435

3536
## TypeScript
3637

0 commit comments

Comments
 (0)