Skip to content

What belongs in your AI’s instruction file, and what should stay out, so the rules that matter get followed?Also calledGiving Your Agent the Right Context

Module
01/05Module
To read
~11 minTo read

It starts with a failure

A team’s instruction file has grown to hundreds of lines. One line says never to run database changes (migrations) on the shared staging database, the test copy the whole team uses. What do you think their AI does?

In the module you make your guess first, then read what happened and why.

  1. 01

    Only what your AI can’t work out

  2. 02

    Keep the main file small and push detail down

  3. 03

    Keep it up to date, like code

  4. 04

    “Never” rules need a hard block

SpecYour AI’s instruction file

A spec for your own app, as a text file you download. The module also gives you the prompt to paste into the AI you build with (Lovable, Bolt, Replit, Cursor, Claude Code or Codex), a checklist to check what it built, and recommended skills.

  • Settings kept with your code (configuration as code)
  • Advice versus hard blocks