01
Definition of ready and plan
Before anything is built, roles for requirements, quality and architecture check the ticket against the definition of ready: goal, linked requirements, testable acceptance criteria, place in the architecture, data protection, screen reference, dependencies and test scope. If an item fails, nothing is built. A human approves the story, and for larger changes the plan too; in Claude Code’s plan mode the agent changes nothing until then.
Anthropic, Claude Code best practices, read 16 Nov 2026 · Anthropic, Claude Code permission modes, read 16 Nov 2026
02
Instruction file
A short file in the repository tells the agent how the project is built, tested and checked, and where the code is misleading. AGENTS.md is an open format for this that many agents read, GitHub Copilot among them. Claude Code reads CLAUDE.md and can use AGENTS.md. Anthropic recommends fewer than 200 lines and only what the agent cannot work out from the code. That includes when it stops and asks instead of guessing.
AGENTS.md, read 16 Nov 2026 · Anthropic, Claude Code memory, read 16 Nov 2026 · Anthropic, Claude Code best practices, read 16 Nov 2026
03
Skills for team procedures
How your team cuts a release or creates a migration sits ready as a skill: a folder with a SKILL.md file, with scripts and templates if needed. The agent first sees only name and description and loads the rest when the task calls for it. Agent Skills are an open standard that Claude Code and GitHub Copilot support. In Claude Code you can set a skill with side effects, such as a release, to start only on command.
Agent Skills, read 16 Nov 2026 · Anthropic, Claude Code skills, read 16 Nov 2026 · GitHub, Agent skills, read 16 Nov 2026
04
Roles along the story
Each role is an agent of its own with its own context, its own instructions and, if configured, only the tools of its task: requirements, quality, architecture, security, legal, UI/UX, planning, coding, DevOps, code review and documentation. Specialist roles join only if the story touches their area, for example legal for personal data or DevOps for infrastructure. Agents draft and check, the product owner decides.
Anthropic, Claude Code subagents, read 16 Nov 2026 · Anthropic, Claude Code best practices, read 16 Nov 2026
05
Build, verify, review loop
Tests come before the code, derived from the risks of the case; the acceptance criteria are an input, not the limit. Anthropic recommends giving the agent something that comes back pass or fail: tests, type checks, linters, security scans and your rules as checks, for example “every table has access control”. After each change, code review, security review and QA check; findings of medium severity or higher go back to coding. A hook on finishing sends the agent back to work until everything passes or a configurable limit is reached.
Anthropic, Claude Code best practices, read 16 Nov 2026 · Anthropic, Claude Code hooks, read 16 Nov 2026
06
Definition of done and approval
What “done” means is set by the definition of done: acceptance criteria met with evidence, tests and coverage green, linters and types clean, API contracts current, no new severe findings from the scans, logs on new paths, no open review findings, docs and tickets updated. Only what has evidence is ticked. The same checks run as required status checks in the pipeline; changes to tests, pipeline and instruction files need approval from a fixed team via code owners. A human decides on merge, infrastructure apply and the status Done.
Scrum Guide 2020, Definition of Done, read 16 Nov 2026 · GitHub, Protected branches, read 16 Nov 2026 · GitHub, Code owners, read 16 Nov 2026 · GitHub, Review Copilot output, read 16 Nov 2026 · GitHub, Build guardrails for cloud agent, read 16 Nov 2026
07
Limits for every run
Least privilege, writes only in the workspace, network only to allowed domains, no secrets in the context, a confirmation before commands that cannot be undone, such as an infrastructure apply, and a log of every tool call. This is enforced through permission rules that deny or ask, hooks, the sandbox and centrally managed settings, not through the instruction file.
Anthropic, Claude Code security, read 16 Nov 2026 · OWASP, LLM06 Excessive Agency, read 16 Nov 2026