Skip to content
Hammad Yousuf.
THE WORK BEHIND THE POST

AI engineering
you can inspect.

Open the full example. Copy the prompt. See what the check actually proves. Practical notes on building and reviewing LLM applications.

Hammad Yousuf
Hammad YousufSoftware, AI & automation · Dubai
6 constructed invoice cases: 5 pass the general shape check and 1 passes all checks
FEATURED LAB · Synthetic fixtures, runnable in your browser

Choose a workflow to inspect

20 resources

6 CASES → 5 SHAPE PASSES → 1 ACCEPTED
LOCAL LAB · 05

Structured output validation: 6 invoice checks

Six-case invoice validation lab. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
USER → RECORD → ALLOWED FIELD
LOCAL LAB · 07

MCP tool permissions: check user, record and field

Six-case authorization lab. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
WRITE SUCCEEDS → REPLY LOST → RETRY SAME ACTION
LOCAL LAB · 12

Idempotency: test a successful write with a lost reply

Lost-reply simulation. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
SAME INPUT → ALL ATTEMPTS → ACCEPTED RESULT
PRACTICAL TEMPLATE · 01

LLM evaluation: measure the usable result

Model comparison scorecard. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
REQUEST → EXECUTE → RETURN RESULT
PRACTICAL TEMPLATE · 02

Tool calling: test the complete round trip

Tool round-trip test prompt. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
REQUEST DIFF → SMALLEST TEST → ROLLBACK
PRACTICAL TEMPLATE · 03

Claude and OpenAI migration checklist

Migration diff prompt and checklist. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
STABLE CONTEXT → VARIABLE INPUT → MEASURE HITS
PRACTICAL TEMPLATE · 04

Prompt caching: find the unstable prefix

Prompt layout audit. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
CLAIM → PASSAGE → SUPPORT CHECK
PRACTICAL TEMPLATE · 06

RAG citation verification: inspect the supporting passage

Claim-to-passage review prompt. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
EXPECTED OUTPUT → VERIFY → RECOVER
PRACTICAL TEMPLATE · 08

AI agent acceptance checks: prove the task finished

Acceptance and recovery worksheet. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
FAILED INPUT → EXPECTED BEHAVIOR → REGRESSION CASE
PRACTICAL TEMPLATE · 09

AI evaluation cases: turn a failure into a regression test

Failure-to-test template. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
AUTHORITY → VERSION → RELEVANCE
PRACTICAL TEMPLATE · 10

LLM context design: resolve conflicting instructions

Context inventory prompt. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
UNTRUSTED TEXT → TASK BOUNDARY → NO EXTRA ACTION
PRACTICAL TEMPLATE · 11

Prompt injection: test the document boundary

Untrusted-document test brief. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
INPUT → FIRST DIVERGENCE → TARGETED TEST
PRACTICAL TEMPLATE · 13

Agent trace review: find the first wrong step

Trace review worksheet. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
ONE BASELINE → EXPLICIT HANDOFF → COMPARE RESULTS
PRACTICAL TEMPLATE · 14

Single agent or multiple agents: test the handoff

Architecture decision worksheet. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
EXACT TARGET → REVIEWED CHANGE → BOUND APPROVAL
PRACTICAL TEMPLATE · 15

Agent approvals: show the exact proposed change

Approval payload template. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
QUESTION DATE → SOURCE VERSION → APPLICABLE POLICY
PRACTICAL TEMPLATE · 16

RAG freshness: choose the policy that applies

Policy-version test template. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
FIRST TOKEN → TOOL WORK → ACCEPTED FINISH
PRACTICAL TEMPLATE · 17

LLM streaming latency: measure first token and finish

Streaming measurement sheet. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
CURRENT STATE → OPEN FAILURE → NEXT ACTION
PRACTICAL TEMPLATE · 18

Long-running agents: write a useful session handoff

Session handoff prompt. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
PROVIDER CLAIM → LOCAL QUESTION → MEASURED RESULT
PRACTICAL TEMPLATE · 19

AI model releases: turn an announcement into a test

Release-to-test brief. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗
YOUR CONTRIBUTION → WORKING EXAMPLE → VISIBLE LIMITS
PRACTICAL TEMPLATE · 20

AI engineering portfolio: make the work inspectable

Inspectable case-study template. Includes a worked example, a copyable prompt and a review checklist.

Open the full resource ↗

From a short post to a useful working example.

Every resource includes an explanation, a copyable prompt and a checklist. Three notes include deterministic local labs; the others are templates for your own work. Prompts are starting points, and model responses still need review.

Discuss a workflow ↗