From b1438afa1b16bb0d074179411d985d02d53b4c5e Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Thu, 9 Jul 2026 13:25:44 -0400 Subject: [PATCH] docs: add column wrapping guidelines for AI agents Adds rules to wrap Markdown to 80 columns and Swift to 100 columns (using triple quotes for long strings). These were added in `.agents/AGENTS.md`. --- .agents/AGENTS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .agents/AGENTS.md diff --git a/.agents/AGENTS.md b/.agents/AGENTS.md new file mode 100644 index 00000000000..7b0223b97ed --- /dev/null +++ b/.agents/AGENTS.md @@ -0,0 +1,10 @@ +# Code Generation Style Guidelines + +## Formatting and Column Widths + +* **Markdown Documents**: Limit Markdown content and prose to a maximum of + 80 columns per line where reasonable. +* **Swift Code**: Wrap Swift code to a maximum of 100 columns. + * **Long Strings**: Since the project's automatic Swift formatter may not + wrap long string literals, wrap them manually using multi-line triple + quotes (`"""..."""`).