---
type: "post"
id: "ub-mode-skill-md-at-master-unclebob-ub-6220de"
slug: "ub-mode-skill-md-at-master-unclebob-ub-6220de"
title: "ub-mode/SKILL.md at master | unclebob/ub-mode"
description: "The `unclebob/ub-mode` repository publishes a `SKILL.md` file named `ub-mode`."
retrieval_nugget: "The `unclebob/ub-mode` repository publishes a `SKILL.md` file named `ub-mode`."
published_at: "2026-10-27"
updated_at: "2026-10-27"
record_date: "2026-10-27"
date_kind: "published_at"
topics: ["github"]
entities: ["Robert C. Martin","ub-mode","GitHub"]
related_patterns: ["skills-become-portable-capability-layer","verification-bandwidth-is-the-scarce-resource"]
novelty_label: "new_fact"
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."
prior_refs: ["memory:b44c8d8c-b5fb-8626-a6ec-7f66f7927781","memory:1236acad-b364-8219-a522-a818fe4c34a4"]
source_url: "https://github.com/unclebob/ub-mode/blob/master/SKILL.md"
source_urls: ["https://github.com/unclebob/ub-mode/blob/master/SKILL.md"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:ub-mode-skill-md-at-master-unclebob-ub-6220de"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/ub-mode-skill-md-at-master-unclebob-ub-6220de/","markdown":"https://newruntime.com/posts/ub-mode-skill-md-at-master-unclebob-ub-6220de.md","json":"https://newruntime.com/posts/ub-mode-skill-md-at-master-unclebob-ub-6220de.json"}
---

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

## Retrieval answer

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

The `unclebob/ub-mode` repository publishes a `SKILL.md` file named `ub-mode`. 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.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Github](https://newruntime.com/topics/github.md): Explore the github topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Source Ledger](https://newruntime.com/source-ledger.json): Inspect the public source evidence graph.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
