Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Give the context it can't find card 5 of 6

What the first prompt produced

builds on: What the agent cannot see
The tell is a fresh private helper for a job the codebase already has a helper for. Slicing `s[:10]` keeps the local date as written and drops the UTC offset. The other reports use `parse_day`, which converts to UTC first. So an order created at `2024-03-01T23:30-05:00` lands on 1 March here, but on 2 March (04:30 UTC) in every other report. That is the later cost: two parsers that disagree on the same data. One line naming `parse_day` in the task would have prevented it.
// Python
--- a/app/reports/orders.py
+++ b/app/reports/orders.py
@@ -1,2 +1,9 @@
+from datetime import datetime
+
+def _to_day(s):
+    return datetime.strptime(
+        s[:10], "%Y-%m-%d").date()
+
 def export_orders(rows):
-    raise NotImplementedError
+    return [(r["id"], _to_day(r["created"]))
+            for r in rows]
Terms on this card
tell
An observable sign in a diff, transcript or summary that suggests a shortcut or an error.
later cost
The concrete damage a shortcut does after merge, such as a hidden bug, silent data corruption or extra maintenance.
helper
A small shared function in the codebase that does one common job, such as parsing dates, so every caller does it the same way.
UTC offset
The part of a timestamp such as `-05:00` or `Z` saying how far its local time is from UTC.
UTC
Coordinated Universal Time, the single reference time zone most systems store timestamps in.
Learn this step by step on Bytewise
Lesson goal: Point the agent at the relevant files, existing helpers, examples to imitate, conventions, library versions and the commands for building and testing, and keep durable rules in a project instruction file. Explain which blind spot each piece of context closes. · the whole lesson