Skip to content

Instantly share code, notes, and snippets.

View tdfirth's full-sized avatar
🦜
squawk

Tom Firth tdfirth

🦜
squawk
View GitHub Profile
@tdfirth
tdfirth / CLAUDE.md
Created April 2, 2026 18:09
A Claude Code starter config for day to day tasks

Environment

  • macOS PATH: The Bash tool runs a non-interactive shell. Homebrew (/opt/homebrew/bin) and other user-installed tools may not be on PATH. Prefix commands with export PATH="/opt/homebrew/bin:$PATH" when a tool isn't found.
  • Windows PATH: Common missing paths include C:\Program Files\Git\bin, %LOCALAPPDATA%\Programs\Python, %USERPROFILE%\.cargo\bin. Prepend as needed.
  • Python: Never pip install into the system Python. Use uv to create venvs and manage dependencies. If uv isn't installed, install it first.
  • Package managers: Check for lockfiles (package-lock.json → npm, pnpm-lock.yaml → pnpm, bun.lockb → bun, uv.lock → uv, Cargo.lock → cargo) before assuming a package manager.

Autonomy & Safety

  • Make implementation decisions independently
  • Run tests, linters, and builds without asking
  • Fix clear errors autonomously
@tdfirth
tdfirth / .Asof SQL Queries
Last active April 8, 2024 03:27
Asof joins in duckdb
How to think about asof queries.