summaryrefslogtreecommitdiffhomepage
path: root/AGENTS.md
blob: d6aaf1bd9667d135a837c4e2e990b36ccf9c5110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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