Skip to content

Case notes. Blog

Lean Context, Lightning Development

Lutz Leonhardt4 min read

Written by
Lutz Leonhardt
Published
Filed under

Blog

By email
Subscribe

(Brokk field notes from everyday use)


1 · Picking the right Brokk tool

The first thing that Brokk can help with is finding the right context to solve your problem: that is, what files will you need to edit, and what APIs will you need to use?  Brokk provides four ways to tackle this problem. Here they are, from fastest to slowest.

Quick Context – the “sticky note”

Tiny edits in a repo you already know? Grab the blue file refs that appear beneath the Instructions panel and dive in. Nothing more is needed.

Deep Scan – the “guided tour”

Middle-sized refactors or an unfamiliar area? Run Deep Scan to pull in a list of every relevant file, plus Brokk’s suggestions about whether each file should be read, edited or summarised and which tests to run. Because it relies on summaries to keep latency low, Deep Scan won’t show you every implementation detail (e.g. hunting every System.out.println), but it’s perfect for building context quickly.

Search Agent – the “senior dev with Ctrl-Shift-F”

My personal favourite. Search Agent understands symbols, inheritance and project structure, so it finds usage patterns regex can’t. Think of it as an IDE-powered colleague who knows exactly where things live.


2 · My everyday Brokking workflow

Handle side-quests Need to research something unrelated? Purge the context table with Drop All, explore freely, then jump back to where you were at with Copy Workspace with History and paste any findings into the main context.


3 · The Preview window

Open any Workspace fragment in Preview (double-click, or use Ctrl + N to jump straight from the keyboard). Once inside you can:

Promote to editable: hit Edit File to add the file as an editable fragment in the Workspace if you need heavier changes.


4 · Git-fu inside Brokk

Understand regressions: capture a diff from git log, add current file versions if space allows, and ask “How did this introduce regression X?”

LLMs read unified diffs like novels—feed them the right slice of history and they’ll pinpoint bugs faster than a git blame hunt.


Parting thoughts

Brokk’s power isn’t a single feature—it’s the way context, planning, and execution stay fluid:

That’s my everyday Brokking. Try the pieces, remix them, and share what you discover. Happy building! 🛠️🚀

Keep reading