Kshitij Bhatnagar
  1. Kshitij Bhatnagar
  2. Projects
  3. Dev Automations Kit

Dev Automations Kit

The small glue behind background dev agents

Open source, 2026, Tools & Automation

Built by Kshitij Bhatnagar

A minimal, working starter kit for background developer automations: worktree isolation, idempotency, locking and notifications, written to accompany my dev.to post.

The spark

Each background automation I wrote needed the same plumbing first: isolation, locking, notifications and a safe way to run twice.

What was built

I extracted the roughly 80 lines of shared glue into a small kit, with a read only standup drafter to start safely and a PR comment resolver that tries fixes in an isolated git worktree.

Architecture

  • Isolated git worktrees per run
  • Idempotency and locking in one shared script
  • Read only workflow first, write workflows opt in

Highlights

  • About 80 lines of glue
  • Standup draft workflow
  • PR comment resolver
  • Open source on GitHub

Built with

  • Bash
  • git worktree
  • GitHub CLI

More about Kshitij Bhatnagar