
drift: an open source CLI that detects silent technical debt in AI-generated TypeScript code
I've been vibe coding for months. Fast shipping, AI pair programming, features done in hours. At some point I sat down and actually read the code the AI had written. It worked. But it had left a consistent pattern of silent debt — the kind CI doesn't catch, linters don't flag, but makes the codebase progressively harder to work with. Things like: catch(e) {} — errors swallowed silently with no logging, no rethrow Unused imports from refactors the AI did and never cleaned up Functions with no explicit return types breaking IDE inference console.log buried 3 layers deep in business logic 50-line functions doing 5 unrelated things TODO / FIXME comments the AI added as placeholders and never resolved None of it broke anything. All of it made the codebase worse. So I built drift . What it does drift is a CLI that scans your TypeScript project using AST analysis ( ts-morph ) and scores each file from 0–100 based on AI-generated debt patterns. npx @eduardbar/drift scan ./src Output: drift — v
Continue reading on Dev.to Webdev
Opens in a new tab



