You didn't split the class. You hid half of it upstairs
> TL;DR: Don't create a superclass just to pass a size limit. Move behavior into collaborators with delegation.
Problems 😔
Inheritancehttps://maximilianocontieri.com/code-smell-136-classes-wi...
The spec asked for one change, and the AI shipped fourteen.
> TL;DR: Reject any vibe-coded diff that goes beyond the spec, and move the extras to their own case.
Common Mistake ❌
You ask the AI to fix one validation rule.
It fixes the rule, renam...
AI writes your minutes, rehearses your difficult conversations, and spots burnout before you do. How about you?
> TL;DR: AI removes a manager's cognitive limit. Use it for meetings, feedback, and hard conversations.
This is the second part of the e...
Developers code with AI. Designers mock up with AI. QA automates with AI. How about you?
> TL;DR: AI removes the manager's cognitive limit. You should use it to sharpen your decisions, not just to summarize emails.
This is the first part of the ext...
Your request is gone. Your pointer is not.
> TL;DR: Don't keep request-owned pointers in long-lived variables, or the next request reads freed memory.
Problems 😔
Use after freehttps://en.wikipedia.org/wiki/Danglingpointer on stale request memory
...
A human should never address the same issue twice.
> TL;DR: Turn every human review finding into a harness rule, so the next review starts where this one ended.
Common Mistake ❌
You review the AI's pull requesthttps://coderlegion.com/11538/ai-codi...
When your rules disagree, the AI breaks the tie.
> TL;DR: Ask the AI to list where your prompts, skills, and decisions contradict each other before it invents a tie-breaker.
Common Mistake ❌
You work with the AI for hours, days, then weeks with th...
Common sense doesn't ship with the model.
> TL;DR: Write your own Zeroth Law: an explicit, ranked list of everything the AI can't do.
Common Mistake ❌
You hand the AI a task the same way you'd hand it to a new human coworker.
You say clean up thi...
A one-line request hides a dozen decisions you never made.
> TL;DR: Force the AI to ask about the decisions you left out before it builds anything /megaplan.
Common Mistake ❌
You type a one-line request like build a site to monitor AI progress and...
Old code, new AI, same unwritten test suite.
> TL;DR: Patch code that never had a test written for it, and every quick fix becomes tomorrow's outage.
Common Mistake ❌
You assume a decades old, stable feature must have some kind of safety net, beca...
Deny by default, or watch your API become someone else's playground.
> TL;DR: Give every AI agent only the access its task needs, and watch for the intrusion nobody granted.
Common Mistake ❌
You wire an AI agent straight into a production API with...
A skill nobody finds in time is a skill you don't have.
> TL;DR: Split every skill description into three sentences: when to read it, when to use it, and what it does.
Common Mistake ❌
You write a skill description as one long paragraph.
It expla...
Every rule you never delete outlives the reason you added it.
> TL;DR: Audit your AGENTS.md and skills on a schedule, or you keep paying context rent on rules the model has outgrown.
Common Mistake ❌
Every time the AI does something wrong, you add...
When all tests pass doesn't mean what you think it means.
> TL;DR: Write the failing test first and ban deletions, or the AI deletes your test, reverts your fix, and calls it done.
Common Mistake ❌
You ask the AI to fix a failing test, and it dele...
One broken window invites another
> TL;DR: Don't reuse an existing getter to bolt on new business logic from outside the object.
Problems 😔
Duplicated business ruleshttps://maximilianocontieri.com/code-smell-46-repeated-code
Broken encapsulation
...
Build a factory where no human needs to work, keep the code coming, and place regular human audits.
> TL;DR: Run your pipeline like a dark factory: automated, sampled, and policed by an adversarial model.
Common Mistake ❌
You let one model write a...
The perfect prompt doesn't instruct the model on what it already knows how to do.
> TL;DR: Reasoning models already verify and pace themselves, so drop those prompts and set real effort, scope, length, autonomy.
Common Mistake ❌
You still write pr...
There's an industry trend to avoid writing code as much as possible, because who has time to write eight lines when a stranger already published a package for it. Turns out that convenience isn't free
> TL;DR: Write your code unless you need an exis...
Approve the logic once, then let it run the same way forever.
> TL;DR: Turn repeatable skill steps into tested scripts instead of prompts, so behavior stays deterministic and cheap.
Common Mistake ❌
You ask the AI to repeat the same multi-step tas...
You can avoid null if you try
> TL;DR: Don't use null for real places
Problems 😔
Tight Coupling
Unexpected Results
Solutions 😃
1. Model unknown locations polymorphically
Context 💬
Null Islandhttps://en.wikipedia.org/wiki/NullIsland is a fict...