> Index for AI agents: https://amtecai.com/llms.txt. Use it to find pages before guessing URLs.
> Every page listed there has a markdown version at the same address with .md added.

# Give it the job, not a prompt

https://amtecai.com/field-guide/beyond-prompting

Agents start every task with no memory. Give them the plan, a repo that explains itself and a way to prove the work.

By Matthew Blode

## Think really hard once

skills/planning/SKILL.md, the plan contract:

- Outcome: the problem, the intended behaviour, acceptance criteria
- Approach: the smallest slice, and the files and interfaces it touches
- Decisions: question, choice, evidence, what would flip it
- Boundaries: what a reader might mistake for scope
- Verification: a command or test tied to each acceptance criterion
- Recovery: rollback for migrations and irreversible writes

“Run tests” isn’t verification. Name the scenario and the expected result.

If the plan’s wrong, the agent builds the wrong thing really fast. So every plan my agents write has the same sections.

Reviewing that plan is where most of my time goes. I answer its questions, cut scope and fix its guesses before any code exists.

## Write the repo for the agent

AGENTS.md:

- Commands: the exact ones, with what each runs
- Layout: where things live, and the recipe for the common job
- Conventions: the rules, with a check behind every one that can have one

Every agent reads this file before it touches anything, so nobody types the brief twice. Keep it short. When it’s wrong, fix it in the same change.

My test is simple. Could a new engineer get going from this file alone? If yes, so can the agent.

## Give the agent a way to prove it

AGENTS.md, Verification:

```
npm run lint && npm run format:check && npm run check-types && npm run build
node scripts/verify-slides.mjs
```

From the repo for my talk slides.

A slide deck has no tests. So how does an agent know it didn’t break a slide? The script serves the build, opens every slide in a browser and fails if any text overflows.

So the agent can’t say “looks good” about a slide it never rendered. If your repo has no command that proves a change works, write one. It pays back on the first pull request.

## Three keystrokes

My text expander:

- zcc: Plan. Research first, then a plan with checkable tasks, acceptance criteria and verification commands.
- zep: Build. Execute the agreed plan, keep a visible checklist, tick tasks off only with evidence.
- zgp: Ship. Clean up, open the pull request and babysit it to merge.

Three letters each, and they expand into a full prompt. Look at the words that do the work: “verification commands”, “only with evidence”. They stop the agent marking its own homework.

Any text expander works. Steal them, change the words, make them yours.

Try one thing: Ask your agent what it would need to verify its last change without you. Whatever it lists, give it.

## The skills that do this

- [planning](https://github.com/mblode/agent-skills/tree/main/skills/planning): Writes a plan in slices that each ship and each have a check, before any code. Install: `npx skills add mblode/agent-skills --skill planning`
- [agents-md](https://github.com/mblode/agent-skills/tree/main/skills/agents-md): Writes and audits the AGENTS.md every agent reads first, and holds it to a size budget. Install: `npx skills add mblode/agent-skills --skill agents-md`
- [app-verification](https://github.com/mblode/agent-skills/tree/main/skills/app-verification): Builds a product's own verify command, so an agent can drive the app and prove a change. Install: `npx skills add mblode/agent-skills --skill app-verification`

Next: [Turn prompts into skills](https://amtecai.com/field-guide/skills.md)
