Notes on building software.
A personal blog of technical articles about software development.
Setting Environment Variables for Your Session
Use the env key in settings.json to give every Claude Code session the same environment variables.
Pinning a Model in Settings
Set the model key in settings.json so a project or your whole setup always starts on the model you want.
Turning Off Co-Authored-By in Commits
Set includeCoAuthoredBy to false so Claude Code stops adding a co-author trailer to your commits.
Cleaning Up Old Sessions with cleanupPeriodDays
Use cleanupPeriodDays to control how long Claude Code keeps old session data before clearing it out.
Loading an API Key with apiKeyHelper
Point apiKeyHelper at a script so Claude Code fetches your API key at runtime instead of storing it in a file.
Setting Sensible Defaults for a New Project
A starter settings.json for a new repo: pin a model, allow safe commands, set env, and add a format hook.