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.
/compactbetween unrelated parts of a long session.--no-searchwhen 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
denyrules 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
gitis your second undo.
Project setup
- A short
AGENTS.mdwith the build, test and lint commands. - Skills for procedures you repeat; hooks for things that must always happen.
- Committed
.uno/settings.jsonso the team shares one setup.