Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

incident.io 12 min read Case study mediumAdept

How we're shipping faster with Claude Code and Git Worktrees

incident.io engineers run four to seven Claude Code agents in parallel, each isolated in its own Git worktree so concurrent sessions don't clobber a shared working directory. A small open-source bash function, `w`, creates per-user worktrees under ~/projects/worktrees, autocompletes them, and runs commands such as `claude` or `git status` inside a worktree without changing directory. Examples include building a multiline JavaScript editor in about 10 minutes and spending $8 of Claude credit to parallelize Makefile API codegen for an 18% (30 second) speedup. The team also leans on Plan Mode to leave agents running safely, uses voice dictation for long context dumps, and wants per-PR ephemeral environments with their own database and backend.

Assumes: Git branchingcommand-line shells

Related posts

  • Our Claude Code Cheatsheet

    Neon mediumAdept

    A Neon engineer's working cheatsheet for Claude Code covers Plan Mode, parallel task agents for multi-lens code review, and context management with /clear, /compact, /context and @file references. It also covers MCP servers (Serena for symbol-level navigation, Context7 for docs, Playwright for UI checks), CLAUDE.md memory files, sub-agents with clean context, custom slash commands in .claude/commands, headless piping (e.g. npm audit into claude -p), session resume/rewind, and cost tracking. The recurring advice is to plan first, define types or schemas before implementation, and keep context lean and explicit.

  • A Virtual Agent team at Docker: How the Coding Agent Sandboxes team uses a fleet of agents to ship faster

    Docker mediumAdept

    Docker's Coding Agent Sandboxes (sbx) team runs a "Fleet" of seven autonomous Claude Code skill-based agent roles: build engineer, project manager, product owner, CLI tester, performance tester, upgrade tester and software engineer. These roles test across macOS, Linux and Windows, triage and deduplicate issues, post daily release notes, and open bug-fix and tech-debt PRs from CI. Skills are written as personas rather than scripts, and they compose by loading foundational skills. Each one is developed and debugged locally before the same file is wired into GitHub workflows. Fixes run through a "Ralph-loop" that pairs separate worker and reviewer Claude invocations, iterating up to five times on SHIP/REVISE. Humans keep the merge decision.

  • Beyond the Hype: How to Use AI to Actually Increase Your Productivity as a Dev

    Docker mediumAdept

    Effective AI-assisted coding comes from applying classic engineering discipline in a four-phase loop: prompting, planning, producing and refining. Strict context management matters most. That means clearing the agent's context between tasks, decomposing work into small prompts, chaining prompts through a separate LLM, and saving good prompts as reusable slash commands. Review the agent's plan before it writes code and treat its output like a teammate's code. Over time, keep refining steering files such as CLAUDE.md as compact indexes that link to more detailed docs.

  • Context Engineering Is Just Writing Things Down

    Fly.io mediumAdept

    Agent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk. OpenClaw's memory design (append-only daily logs, a curated MEMORY.md, hybrid BM25/vector recall weighted 70/30 with diversity re-ranking on SQLite) illustrates the idea. In a Fly.io Sprite, four mechanisms supply that context: CLAUDE.md for conventions, Skills for repeatable workflows like a preflight check, hooks that inject live service and git state, and checkpoints that persist the whole environment. A sample Bun + Hono + Postgres project shows Claude fixing a bug while following the test, logging and error conventions without being told.

  • Agentic coding at ClickHouse

    ClickHouse mediumAdept

    ClickHouse uses coding agents, mainly Claude Code with Opus 4.6 and Codex CLI as a fallback, for daily work on its large C++ codebase, which the author says became practical with Claude Opus 4.5 in November 2025. Productive scenarios include typing specified code, finishing stale PRs, boilerplate and infra configs, merge conflicts, porting code between codebases, small refactorings, fixing paper cuts and exploring unfamiliar code. One port, fixing ClickHouse dialect support in the Polyglot SQL translator, took 36 hours and about $500. For automated code review, an in-house bot driving Copilot CLI with custom instructions far outperformed GitHub's Copilot integration, leaving humans to judge architecture while the bot catches race conditions and resource bugs. The recommendation is to start with a CLI agent rather than an IDE-integrated one, always review generated diffs, and motivate adoption by example rather than mandate.

The quest for software engineering knowledge.

Look:
Layout: