Add Go file structure conventions to AGENTS.md

This commit is contained in:
AI Bot
2026-05-03 11:27:30 +02:00
committed by Riyyi
parent 584f4fbdd9
commit 578eb16ab2
+11
View File
@@ -5,3 +5,14 @@
At the start of every conversation, load the following skills using the `skill` tool before responding to the user: At the start of every conversation, load the following skills using the `skill` tool before responding to the user:
1. **caveman** — Always use caveman mode (full intensity) for all responses 1. **caveman** — Always use caveman mode (full intensity) for all responses
## Code Organization
### Go file structure
- Public (exported) functions must appear at the top of each file.
- Private (unexported) functions must appear at the bottom of each file.
- Within each section, functions must be sorted alphabetically by function name.
- The two sections must be separated by exactly this divider:
// -----------------------------------------
// private