Imran (@ihm185) header
Imran (@ihm185) profile picture

Engineering leader who still builds. Exploring AI systems, architecture & better ways to engineer software. Always learning. Always building. #ai #dev

India
Joined March 2010
Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)Photo by Imran (@ihm185)
Make API error responses boring and consistent: same shape, a stable error code, a message a person can read. Frontend teams lose more time decoding five different error formats than fixing the errors themselves.
2
Version your agent prompts and tool definitions together. When behaviour changes, the cause is often a tool description someone edited, and if it isn't in the same history as the prompt, you'll spend a day looking in the wrong place.
3
Ask the agent why it chose an approach before telling it to change it. Half the time the answer reveals a constraint in the codebase you forgot about. The other half, it reveals a misunderstanding you should fix in the prompt.
1
26
Soft deletes sound safe until every query needs a WHERE deleted_at IS NULL and one of them doesn't have it. If you need history, an audit table is often the cleaner choice.
1
48
When an agent gets stuck fixing its own fix, stop the session and start fresh with what you learned. A clean context with a better prompt beats the tenth retry in a polluted one.
2
71
When you move into leadership, your calendar becomes the clearest record of your priorities. If it's all status meetings, that's what you're optimising for, whatever the strategy doc says.
43
Rate limits are part of the automation design, not an edge case. The script that works fine on 50 records will get your API key throttled on 50,000, usually halfway through.
31
Read the agent's plan before you read its code. A wrong plan with clean code is the expensive kind of mistake, and the plan is only five lines.
21
Tag cloud resources with an owner the day you create them. Six months later, "who can I ask before deleting this" is the only question that matters.
14
Feature work gets a design doc. Removing a service rarely does, and it should. Decommissioning is where all the hidden dependencies show up.
19
Commit before you let an agent loose on a refactor. A clean checkpoint means you can throw the whole attempt away with one command, which makes you a lot braver about trying.
26
Give each agent the fewest tools it needs. An agent that can read the database and also send email will eventually do both in the same run, and not in the order you hoped.
19
Every external call needs a timeout. Plenty of HTTP clients will wait forever by default, and one slow dependency can tie up every worker you have.
11
Before automating an approval step, check how often it gets rejected. If the answer is almost never, the better fix might be removing the approval, not automating it.
8
Unpopular opinion: for most enterprise products, the AI feature customers will actually use is good search over their own data. Less exciting than agents, much easier to trust.
22
Give the agent a smaller task than you think it can handle. Small diffs get real review. Big ones get skimmed, and that's where the bugs get in.
1
1
52
Writing is an engineering skill. The senior engineers whose ideas get adopted are usually the ones who can explain them on one clear page.
19
Offset pagination works until the table gets big and rows shift while someone is paging. Cursor based pagination is a bit more work up front and saves you a confusing bug later.
36
A pandemic taught them how fast we comply. Wars showed who profits. Digital money can be switched off. And machines are coming for our jobs. Coincidence… or one Great Reset? What are we really being prepared for? 👇 youtu.be/16UA8Kl4kXI
1
4
70
314,998
Most frontend performance work is deleting things. Unused libraries, a second date picker, the analytics script from a tool you cancelled last year.
22