# Agentic Tech Debt

> Source: <https://dev.to/brandincanfield/agentic-tech-debt-4g9l>
> Published: 2026-06-03 20:14:21+00:00

The shortcuts your agent takes while coding are piling up.

GitClear's study of 211M lines shows the pattern: **refactoring is dropping and duplicated code keeps climbing**.

And if you've spent enough time coding with agents, you've felt this pain.

So I ran a study on ~20 years of tech-debt research, distilled the findings into a few **commandments**, and wired them into my agent loop as a plugin.

How it works: as your agent writes code, **every deferral**, a loose type, a punted decision **gets logged to a folder in your repo as debt**. Every **key decision** gets logged as an **ADR**.

It's a **passive tracker** until **YOU decide to pay the debt down**. Then the plugin walks you through it the research-backed way.

Works in **Claude Code**, **Codex**, **Copilot**, or anything you can drop an Agent Skill into.
