r/devtools • u/orest17 • Oct 14 '26
al dente: watch what Claude Code is actually doing to your codebase, and stop it when it takes shortcuts
https://orest-z.github.io/al-dente-site/Most of us run Claude Code on auto and only find out later what it did. al dente gives you a window into it.
You agree on a plan for your app once: which parts exist and which part is allowed to use which. Claude can suggest one based on what you're building, or map it from a project you already have. From then on:
- You can watch it work. A live map lights up the part Claude is editing as it happens. Click a part to see its files, hover a file to see exactly what it imports and what imports it. It's honestly the fastest way I've found to understand a project Claude built for me.
- You see its mistakes the moment they happen. If Claude adds an import the plan doesn't allow, the arrow turns red and Claude gets told the file and line, so it fixes it right away instead of you finding it three features later. In my tests, runs ending with a broken rule went from 13 of 35 to 0 of 35.
- New sessions start smarter. Every session begins already knowing how the project is split up, for a few hundred tokens, instead of reading files to rediscover it. Fewer tokens burned, fewer wrong guesses.
- You can go back in time. Scrub through your git history PR by PR and watch the structure change, with a chart that marks the exact commit where things started slipping.
- Pull requests get checked too. A GitHub Action comments on each PR with what it changes, and only fails on new problems, so it works on messy repos.
It pairs really well with Ponytail, the plugin that makes Claude write less code: Ponytail keeps the code small, al dente keeps it in the right place.
TS/JS, Python and Java. Free, MIT, zero dependencies, runs locally.
2
u/kantorcodes1 Oct 14 '26
Enforcing the plan at edit time instead of review time is the right place for it; 13 of 35 broken-rule runs to 0 is a strong result. The seam I would want pinned down: does the check only fire on dependency edges, like an import into a banned part, or does it also catch an agent building a whole new component that no existing part imports? Graph edges stay green if nothing references the drift.