uberblick/ub-agents v0.5.4
Best practices · Treat instructions as code

Best practices

Treat instructions as code

Role files live in your repository. Change them in pull requests and review them like any other code.

Short and specific

Say what the role does, which checks it runs, what a finished handoff looks like and when to stop. Leave out what the agent already knows.

What goes in the shared policy

.agents/ub_agents.md is the loop policy every role reads. Keep it to what the loop itself needs:

Leave out:

Say when to stop

Tell each role which decisions belong to a person. It reports blocked with one --action per decision instead of guessing.

$ ub-agents report --status blocked --summary "Scope unclear" \
  --action "Owner: keep the v1 API or drop it; recommend keep."

Fix the instructions, not the item

When the same mistake repeats, change the role file. The next run reads it.