Agent instructions

The Agent instructions tab holds rules for the agent. The agent obeys these rules for all work on the site.

Site settings, Agent instructions tab, with site rules written in Markdown.
The agent obeys these rules for all work on the site.

Splitleaf keeps the rules in the file AGENTS.md in the site folder. Your team gets the file when you publish. The file is never on the live site.

Write the rules

  1. Type the rules in the editor. Use Markdown.
  2. Click Save.

Write short rules, one rule on each line. Examples:

  • Write British English.
  • Keep headings under eight words.
  • Buttons that go to a page are links.
  • Use the colour variables. Never write a hex value.

Use headings to group rules, for example ## Blog.