From ac208274076ca286d43cd7671eb6ba45ff88e5a6 Mon Sep 17 00:00:00 2001 From: Leopold Joy Date: Mon, 10 Aug 2026 13:56:49 +0100 Subject: [PATCH] docs: link Coinbase Solidity style guide Co-authored-by: OpenCode --- AGENTS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 433b146f..f9086316 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,6 +17,14 @@ tests win. - Do not add Foundry remappings for dependencies. Import them through explicit `lib//...` paths; existing remappings are special cases, not precedent. +## Solidity style guide + +- Follow the [Coinbase Solidity Style Guide](https://github.com/coinbase/solidity-style-guide) for new or modified + Solidity code. +- Before making non-trivial Solidity changes, consult the relevant sections of the guide. +- If the guide conflicts with this file, nearby code, formatting tools, or enforced tests, the repository-local rules + take precedence. + ## Contract structure conventions ### Style-guide ordering inside a contract