Field noteOct 27, 20261 min read1 source

ub-mode/SKILL.md at master | unclebob/ub-mode

In one minute

The `unclebob/ub-mode` repository publishes a `SKILL.md` file named `ub-mode`.

What changed: Bob Martin has published his own coding rules for the AI agents he uses, distinct from prior examples of agent rules and his commentary on releasing AI-generated software.

Its description says the skill should be used when a user runs /ub-mode or asks for the reduced principles. The prescribed sequence is: make the change work, make it right, then follow practice.

The file requires a failing test before a code change, the smallest change that passes it, and fixes to root causes rather than guards that only hide a crash. It asks agents to test observable behavior, sequence work into verifiable units, keep a log of actions and reasons, protect the main context window, clean up worktrees, and commit and push in small ordered commits.

For refactoring, the skill refers to crapper, dryer, and mutator tools for complexity, duplication, and mutation-related checks. It does not include those tools, state a version or release date, specify supported agent runtimes, or provide evidence that following the rules improves code quality or is used in production.

Evidence / sources

  1. 1github.com/unclebob/ub-mode/blob/master/SKILL.md
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicGithubExplore the github topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03source ledgerSource LedgerInspect the public source evidence graph.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract