summaryrefslogtreecommitdiffhomepage
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-07-14 20:18:29 -0400
committerDax Raad <[email protected]>2025-07-14 20:23:05 -0400
commit1cf1d1f63417ba447f9652db6905fa72d89d97e5 (patch)
treefc1d59ceb8d978b643b075bf530a13f74953e864 /AGENTS.md
parent2ce694d41ff018660d136c4d8ea0f7f47e0149a4 (diff)
downloadopencode-1cf1d1f63417ba447f9652db6905fa72d89d97e5.tar.gz
opencode-1cf1d1f63417ba447f9652db6905fa72d89d97e5.zip
docs: fix agents.md
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 000000000..d6aaf1bd9
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,15 @@
+# TUI Agent Guidelines
+
+## Style
+
+- prefer single word variable/function names
+- avoid try catch where possible - prefer to let exceptions bubble up
+- avoid else statements where possible
+- do not make useless helper functions - inline functionality unless the
+ function is reusable or composable
+- prefer Bun apis
+
+## Workflow
+
+- you can regenerate the golang sdk by calling ./scripts/stainless.ts
+- we use bun for everything