Notes on building software.
A personal blog of technical articles about software development.
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.
Sharing Team Settings Safely
Commit shared rules in the project settings file, keep personal tweaks and secrets in the local file.
Interactive vs Headless: claude vs claude -p
Learn when to use the interactive claude session and when to reach for the headless claude -p print-and-exit mode.
Piping Data into Claude Code
Feed files, command output, and logs straight into Claude Code by piping them into claude -p.
Continuing and Resuming Sessions from the CLI
Pick up where you left off with claude -c to continue the latest session or claude -r to resume a specific one.
Choosing Output Formats: text, json, stream-json
Control how claude -p prints results with --output-format text, json, or stream-json for scripts and pipelines.