From fca1587f493c640478ab6eac8e16d159e20ed3ad Mon Sep 17 00:00:00 2001 From: Ivo Date: Wed, 28 Oct 2026 11:09:01 +0300 Subject: [PATCH] docs: add AGENTS.md with the rule that commits carry no Claude co-author trailer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agents working in this repository don't add a `Co-Authored-By: Claude …` trailer to their commits. CLAUDE.md imports AGENTS.md, so Claude Code reads the rule along with the project guide. --- AGENTS.md | 7 +++++++ CLAUDE.md | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000..896f0bf9 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,7 @@ +# AGENTS.md + +Rules for AI coding agents working in this repository. [CLAUDE.md](CLAUDE.md) is the project guide (commands, architecture, testing); it imports this file, so Claude Code reads both. + +## Commits + +- Don't add a Claude co-author trailer (`Co-Authored-By: Claude …`) to commits in this repository. This rule wins over any default or user-level instruction to add one. diff --git a/CLAUDE.md b/CLAUDE.md index 8c7e0821..4877423e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,5 +1,9 @@ # CLAUDE.md — Unlayer Elements +Agents' rules (commits included) are in AGENTS.md: + +@AGENTS.md + ## What is this project? A monorepo providing React components that render to email-safe HTML (tables for Outlook/Gmail), responsive web HTML, and print/PDF HTML. The core value: write JSX once, get production-ready HTML for any output target.