Posts by Maxi Contieri

@Maxi Contieri

Maximiliano Contieri

Clean Code Cookbook
Buenos Aires, Argentina maximilianocontieri.com Joined October 2024
7.7k Points184 Badges9 Connections235 Followers13 Following

Posts by Maxi Contieri

Maxi Contieri in Articles 6 min read
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...
post-cover-26294
Maxi Contieri in Articles 9 min read
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...
post-cover-25719
Maxi Contieri in Articles 8 min read
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...
post-cover-25361
Maxi Contieri in Articles 2 min read
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 ...
post-cover-25086
Maxi Contieri in Articles 7 min read
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...
post-cover-24734
Maxi Contieri in Articles 7 min read
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...
post-cover-24306
Maxi Contieri in Articles 7 min read
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...
post-cover-24177
Maxi Contieri in Articles 7 min read
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...
post-cover-24053
Maxi Contieri in Articles 11 min read
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...
post-cover-23892
Maxi Contieri in Articles 5 min read
Different stages need different brains. > TL;DR: Assign a different model to each pipeline stage since none excels at planning, coding, reviewing, and testing alike. Common Mistake ❌ You open one chat with your favorite model and ask it to plan, w...
post-cover-23528
Maxi Contieri in Articles 10 min read
One Second Brain doesn't scale past one skull. > TL;DR: Wire a skill into your company's live systems so every answer carries a source and a freshness check. Common Mistake ❌ As a single contributor, you can build a personal Second Brainhttps://co...
post-cover-23029
Maxi Contieri in Articles 5 min read
Style errors double when nobody enforces them. TL;DR: Wire your standards into hooks, skills, and a judge, so the harness blocks violations before a human opens the diff. Common Mistake ❌ You paste your coding standards into AGENTS.md and trust the...
post-cover-22224
Maxi Contieri in Articles 1 min read
Converting your anemic dictionaries is easy > TL;DR: Convert your key/value into full behavioral objects Problems Addressed 😔 Associative arrayshttps://maximilianocontieri.com/code-smell-27-associative-arrays Fail Fast principle violation Biject...
post-cover-22129
Maxi Contieri in Articles 4 min read
Know who speaks before the skill runs > TL;DR: Always define a clear role at the top of every skill file so you know whose perspective drives the execution. Common Mistake ❌ You write a skill full of rules but assign no role. The AI starts execut...
post-cover-21913
Maxi Contieri in Articles 8 min read
Everyone is talking about Loop Engineering. Apparently, you don't need to program anymore. > TL;DR: Loop Engineering is the hottest AI workflow pattern of 2026. But it hides a dirty secret. The Tweet That Started It All https://x.com/steipete/stat...
post-cover-21427
Maxi Contieri in Articles 10 min read
Brushing Over Real Problems > TL;DR: You write tests that touch every line but verify nothing, creating false confidence in a broken system. Problems 😔 False confidence Hidden production defectshttps://coderlegion.com/6337/we-need-to-stop-the-bug...
post-cover-21230
Maxi Contieri in Articles 9 min read
Comments are dead. Tests are alive > TL;DR: Take your comment, compact it, and name your functions. > Now test it and remove the comments. Problems Addressed 😔 Maintainability Readability Related Code Smells 💨 https://coderlegion.com/8106/code-...
post-cover-20855
Maxi Contieri in Articles 5 min read
Don't let the AI grade its own homework. > TL;DR: Spawn a fresh subagent after every task to check your rules, because the AI that did the work can't audit itself. Common Mistake ❌ You write a detailed AGENTS.mdhttps://coderlegion.com/13150/ai-cod...
post-cover-20462
Maxi Contieri in Articles 6 min read
You have a big algorithmic method. Let's break it. > TL;DR: Long methods are bad. Move them and break them. Problems Addressed 😔 Lack of Testability Accidental Complexity Testing Private Methodshttps://maximilianocontieri.com/code-smell-112-test...
post-cover-20107
Maxi Contieri in Articles 6 min read
Cap the size before the agent writes a single line. > TL;DR: Tell your AI to split work into small reviewable pull requests before it writes any code. Common Mistake ❌ You ask your AI agent to build a feature. The agent opens a 2,000-line pull re...
post-cover-19853
chevron_left

Latest Jobs

View all jobs →