UNOUNOCODE

GUIDES

Best practices

Habits that make Uno faster, cheaper and more right.

Prompting

  • Say what done looks like. "Fix it and run the tests" beats "fix it".
  • Say what must not change. "Don't touch the public API." "Fix the code, not the test."
  • Point at the place when you know it: "in src/api/orders.ts".
  • Plan big things first. --mode plan, agree, then switch to accept-edits.
  • Steer, don't restart. Type while it works; your words arrive at the next tool result.

Cost

  • Use a small model for chores, a big one for design and debugging.
  • Stay in one session for related tasks: the cache does the rest.
  • Use helpers for big reads; only the report enters your conversation.
  • /compact between unrelated parts of a long session.
  • --no-search when the web is not needed.

Safety

  • Keep the sandbox on; most commands never need to leave it.
  • Prefer narrow rules (bash(npm run lint)) over wide ones (bash).
  • Add deny rules for the things that would really hurt: git push, deploy scripts.
  • Don't trust a repo you have not read.
  • Commit before a big task, so git is your second undo.

Project setup

  • A short AGENTS.md with the build, test and lint commands.
  • Skills for procedures you repeat; hooks for things that must always happen.
  • Committed .uno/settings.json so the team shares one setup.