Opens in a new tab

Independent WordPress hosting guides · Recommended host: Convesio

Start a free trial →

AGENTS.md and Project Rules: Telling AI How Your Site Works

Most coding agents now read a project rules file. What to put in one for a WordPress or Bricks site, and how it relates to skills.
By Shahzad Hasan · November 18, 2026

Every AI coding tool starts each session knowing nothing about your project. A rules file fixes that. AGENTS.md has become the shared convention: according to Vibe Coding Weekly #49, Claude Code started falling back to AGENTS.md when a project has no CLAUDE.md, matching Codex, Copilot, Cursor and Gemini CLI. Lovable now reads AGENTS.md files in subfolders too (Vibe Coding Weekly #54).

What to put in it for a WordPress site

  • The stack: WordPress and Bricks versions, key plugins, hosting, staging URL.
  • Design rules: class prefix, colour and font variables, container width, breakpoints.
  • Content rules: no invented statistics or reviews, affiliate links marked sponsored, British or American spelling.
  • Safety rules: never edit the parent theme, test on staging, stop on login errors, ask before deleting.
  • Checks: open every changed page at desktop and phone width.
  • Where things are: header and footer template names, key page IDs.

Rules file or skill?

A rules file describes this project and is read at the start of every session. A skill teaches a kind of task and loads only when needed, across projects. Use both: AGENTS.md for “how this site works”, a skill for “how Bricks works”. See How We Wrote a Bricks Skill.

Keep it short and true

Agents follow what you write. Remove rules that no longer apply, and update the file when the site changes.

In this article

Need hosting that scales?

Convesio runs each site in Docker containers with auto scaling and load balancing built in.
Try Convesio free →
Affiliate link: we may earn a commission at no extra cost to you.