opencode/AGENTS.md
2025-07-14 20:23:05 -04:00

428 B

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