Skip to content

AI assistants ​

The HTML folder carries notes for an AI coding assistant, AGENTS.md: what an assistant would get wrong in this template without being told. Most assistants read it by themselves when you open the HTML folder in them, so you can ask for a change ("add a menu item for the Team page") and the assistant knows the rules the pages follow.

How to access ​

HTML/AGENTS.md and HTML/CLAUDE.md

CLAUDE.md holds one line, @AGENTS.md, which makes Claude Code read the same notes.

What the notes say ​

  • No build: nothing in the HTML folder is compiled, and the pages need a web server.
  • Yours and ours: which files are yours to edit and which an update replaces, the same list as Updates.
  • Header, menu and footer: every page carries its own copy, a change goes into every page, and each page keeps its own current mark.
  • Components: their options are JSON in single quotes, js- classes and data-arts-* attributes stay as they are, and a section is moved as a whole <section>.
  • Pictures, layout and look: a picture's name, size and frame shape; the Bootstrap 6 grid with its tier prefixes; the schemes, the type classes and the variables of css/variables.css.
  • Scripts: the settings of js/config.js, the seven features, onPage() in js/custom.js, and the three Velum: console messages.
  • The SOURCE folder: when the site is built from SOURCE/, page changes go into SOURCE/src.

Add a line of your own when your site has a rule of its own, such as a page that must not change.

Which assistants read it ​

Open the HTML folder itself in the assistant, not the folder around it: the notes apply to the folder they are in.

AssistantReads the notes
CodexBy itself: AGENTS.md
CursorBy itself: AGENTS.md in the project's root
GitHub Copilot in VS CodeBy itself while the chat.useAgentsMdFile setting is on
Claude CodeBy itself: CLAUDE.md, which brings in AGENTS.md
Gemini CLIAfter one setting, below

Gemini CLI reads GEMINI.md unless told otherwise. Make a folder .gemini in the HTML folder, with a file settings.json in it:

json
{
  "context": {
    "fileName": ["AGENTS.md", "GEMINI.md"]
  }
}

Each tool changes how it finds these files from one version to the next. If yours does not seem to follow the notes, check its own documentation for "AGENTS.md", or paste the file into the chat.

Not on the host

The notes are for your copy of the site, not for visitors. Leave AGENTS.md, CLAUDE.md and a .gemini folder out when you upload: Before launch.

Next: Troubleshooting.