Notes on building software.

A personal blog of technical articles about software development.

Setting Sensible Defaults for a New Project

September 7, 2026· 2 min read·claude-codeconfigurationsettings

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

September 7, 2026· 2 min read·claude-codeconfigurationsettings

Commit shared rules in the project settings file, keep personal tweaks and secrets in the local file.

Interactive vs Headless: claude vs claude -p

September 7, 2026· 2 min read·claude-codecliheadless

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

September 7, 2026· 2 min read·claude-codecliheadlessautomation

Feed files, command output, and logs straight into Claude Code by piping them into claude -p.

Continuing and Resuming Sessions from the CLI

September 7, 2026· 2 min read·claude-codeclisessions

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

September 7, 2026· 2 min read·claude-codecliautomation

Control how claude -p prints results with --output-format text, json, or stream-json for scripts and pipelines.