Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Project instruction files: purpose and contents card 3 of 6

What goes in, what stays out

builds on: What the agent can and cannot see, How a code project is laid out, What automated tests are and how to run them
Keep it short and specific. Include only what the agent can't easily guess from the code: 1. **Build, run, test**: the exact commands. 2. **Conventions**: naming, style, where things go. 3. **Leave alone**: folders or files it must not edit. 4. **Known mistakes**: errors it has made before. Leave out **secrets** like passwords and API keys. The file is plain text. It is sent to the AI model behind the agent every session, and it is often shared with everyone on the project. Also leave out long prose, which buries the rules.
Terms on this card
session
One run of the agent, from when you start it until you close or restart it. A new session starts without the previous chat.
model
The AI system behind the agent that reads the context and decides what to write or do next. It usually runs on the tool maker's servers, so the context is sent there.
plain text
A file of ordinary readable characters with no hidden formatting. Anyone or any program that opens it can read every word.
conventions
Agreed habits in a project, such as how things are named, how code is styled, and which folder each kind of file goes in.
secrets
Private values such as passwords and access keys that grant access to systems or data. They must never be shared or written into ordinary files.
Learn this step by step on Bytewise
Lesson goal: Explain that an instruction file (CLAUDE.md, AGENTS.md, ...) is read automatically at session start, which fixes the 'it forgets every session' problem. Write a short one covering how to build, run and test, key conventions, folders to leave alone, and recurring mistakes. Keep secrets and long prose out of it, and update it whenever the agent repeats an error. · the whole lesson