liveBook · Manning

Instruction file

An instruction file is a file containing directions or context that guide an AI system’s behavior or work.

How 2 Manning books explain it

Context Engineering

A project-specific document or configuration that gives operational instructions to an AI agent.

How it is used
Provides durable, project-specific operational guidance to coding agents across sessions.
How deep it goes
Explains file conventions, scoping, actionable directives, and maintenance, with an illustrative repository file.
Examples
Illustrates an AGENTS.md file for a Python billing service with architecture, testing, safety, and review rules.
What you can do after
Apply it via AGENTS.md and tool-specific files to organize, scope, and maintain repository guidance for coding agents.

Read how Context Engineering explains instruction file →

AI Governance

An agent instruction file contains directions that govern how an AI coding agent behaves in a codebase.

How it is used
Governs an AI coding agent’s tools, codebase conventions, and actions requiring human approval.
How deep it goes
Prescribes review, approval, Unicode scanning, and sanitization controls without detailing instruction-file syntax.
Examples
Names AGENTS.md, .cursorrules, and .github/copilot-instructions.md, and flags zero-width Unicode characters as a risk.
What you can do after
Operate instruction-file controls through security-aware review, ownership rules, Unicode detection, and sanitization.

Read how AI Governance explains instruction file →

Also covered in

What to know first

Related concepts

Questions about instruction file

What is instruction file?

An instruction file is a file containing directions or context that guide an AI system’s behavior or work.

Which Manning books explain instruction file?

Context Engineering and AI Governance.

What should I know before learning instruction file?

Manning books that teach instruction file usually introduce AI agent and Cursor first.

What is the difference between instruction file and auto memory?

An instruction file is a file containing directions or context that guide an AI system’s behavior or work. Auto memory is a mechanism for preserving reusable information outside an active context so it can be recovered later.

What is instruction file a kind of?

Instruction file is a kind of configuration artifact. A configuration artifact is a stored, versionable representation of instructions, retrieval settings, schemas, policies, or other operational context settings.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.