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 6 of 6

Remember

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
The agent forgets your chat between sessions but reads the instruction file every time. Keep it short: exact run and test commands, conventions, folders to leave alone, and known mistakes. Keep secrets and essays out. Add a line whenever it repeats an error. The file is strong guidance, not a lock, so still check what the agent does.
Terms on this card
instruction file
A file in your project that the agent reads automatically when a session starts, such as CLAUDE.md or AGENTS.md. It holds standing rules and facts about the project.
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.
test
A small piece of code that runs part of your program and checks the result matches what's expected, reporting pass or fail.
agent
An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
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