ontology-of-everything

Ub Discipline — Development skill for Claude Code

Development community

Robert C. Martin's ub-mode split into atomic skills, as Claude Code plugins (en, zh-CN).

How to install Ub Discipline

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ontology-of-everything/ub-discipline and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ub Discipline does

Robert C. Martin's ub-mode split into atomic skills, as Claude Code plugins (en, zh-CN).

Alternatives in Development

  • Discipline — Toggle discipline mode — auto-invoke verification, brainstorming-before-coding, and review checks 2.8k ★
  • Academic Pptx Skill — A Claude Skill for creating academic presentations (conference talks, seminar slides, thesis defenses, grant b 811 ★
  • Mythos Router — The leaked Anthropic reasoning protocol 294 ★

README

ub-discipline

Robert C. Martin's [ub-mode](https://github.com/unclebob/ub-mode), split into atomic skills you combine per task. The English plugin quotes the rules verbatim. `ub-discipline-hans` is the Simplified Chinese edition. This is not an official release.

中文版安装 `ub-discipline-hans`。

Why it is split

ub-mode applies its whole list to every change. The list holds rules that apply in different situations. A bug fix needs the smallest edit. A requirement that no longer fits the design needs a redesign, delivered in pieces. New code can start with a failing test. Untested code needs its current behavior pinned before the structure changes.

One discipline is one command. Combine the commands for the task: a new project, a feature change, a bug fix, legacy upkeep, or a migration. `ub-mode` stays for the full list.

原文把整份清单用在每一次改动上。清单里的规则适用的情况不同:修缺陷要最小改动;需求已经装不进旧设计时,要按第一性原理重做并分块交付;新代码可以先写失败的测试;没有测试的代码要先钉住现有行为。

一项纪律一个命令。按任务组合:新项目、功能改动、修缺陷、遗留代码维护、迁移。需要整份清单时用 `ub-mode`。

Install

Install the plugin, not a single skill. The MIT `LICENSE` is at the plugin root and does not travel with one skill.

claude plugin marketplace add ontology-of-everything/ub-discipline
claude plugin install ub-discipline@ub-discipline
claude plugin install ub-discipline-hans@ub-discipline

Skills

Skill ub-mode sections
ub-mode All
ub-lazy Laziness Protocol, Subtract Before You Add
ub-foundation Foundational Thinking
ub-redesign Redesign From First Principles
ub-domain Model the Domain, Boundary Discipline, Type System Discipline
ub-state Make Operations Idempotent, Separate Before Serializing Shared State
ub-tdd TDD, Test Behavior, Not Implementation
ub-root-cause Fix Root Causes, Attack the Premise
ub-execute Outcome-Oriented Execution, Build the Lever, Sequence work into verifiable units
ub-refactor Refactoring
ub-ship Keep a Log, Commit and Push

Guard the C