Ub Mode
Follow the reduced principles when writing or changing code. Every change follows First Make it Work, then Then Make it Right, then Follow Practice. Use when the user runs /ub-mode or asks for the reduced principles.
Install
npx skills add unclebob/ub-mode --skill ub-modegit clone --depth 1 https://github.com/unclebob/ub-mode.git /tmp/ub-mode
mkdir -p ~/.claude/skills
cp -r /tmp/ub-mode/. ~/.claude/skills/ub-modePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# ub-mode Every time you are asked to make a change follow: * First Make it Work. * Then Make it Right. * Follow Practice # First Make it Work ## Laziness Protocol * One decision lives in one place. * Ship the smallest edit that solves the problem. ## Foundational Thinking * Get the data shape right before you write the logic. * Do first whatever helps every later phase. * If a concurrent writer would matter, do not share state. ## TDD * Write the failing test before you change the code. * See it fail for the reason you expect. * Make the smallest change that makes it pass. * If an honest test is impractical, do not write a bad one. ## Redesign From First Principles * Do not bolt a new requirement onto the old design. * Ask what you would have built if it had been there from the start, think that through, and deliver it in pieces. ## Attack the Premise * When two fixes that share one premise fail the same gate, write that premise in one sentence and count which actors hold the imbalance. * Remove the assignment. * Do not start another fix until you have done that. ## Subtract Before You Add * Take complexity out before you add anything. ## Outcome-Oriented Execution * Aim at the end state you can check. * A break in the middle is allowed when you planned it and can undo it. ## Build the Lever * If the work is not obvious at a glance, build the tool that does it. * Do one unit by hand, then make the tool match that unit. ## Architecture
Details
- Skill name
ub-mode- Repository
- unclebob/ub-mode
- Repo updated
- 25 October 2026
FAQ
What does the Ub Mode skill do?
Follow the reduced principles when writing or changing code. Every change follows First Make it Work, then Then Make it Right, then Follow Practice. Use when the user runs /ub-mode or asks for the reduced principles.
How do I install the Ub Mode skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add unclebob/ub-mode --skill ub-mode. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Ub Mode popular?
It lives in unclebob/ub-mode, which has 5,513 GitHub stars and 300 forks.
Related skills
Unlazy
4.2kLeonxlnx/unlazy
Enforces completion discipline for substantial autonomous work by writing acceptance gates before execution, decomposing work with the Depth Tree, running approved checks, and re-verifying evidence before reporting. Use when an agent faces a long or multi-part task, work that has returned half-done, an exhaustive audit or build, parallel leaves or pipelines, or explicit triggers such as /unlazy, $unlazy, "tree N", "gates", and "do not stop until it is done".
Anysearch
6.8kanysearch-ai/anysearch-skill
Real-time search engine supporting web search, vertical domain search, parallel batch search, and URL content extraction.
Translate Book
2.2kdeusyu/translate-book
Translate books (PDF/DOCX/EPUB) into any language using parallel sub-agents. Converts input -> Markdown chunks -> translated chunks -> HTML/DOCX/EPUB/PDF.
User Story Splitting
7.8kdeanpeters/Product-Manager-Skills
Break a large story or epic into smaller deliverable stories using proven split patterns. Use when backlog items are too big for estimation, sequencing, or independent release.
Write Concisely
1.8kNeoLabHQ/context-engineering-kit
Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.
User Story Mapping Workshop
7.8kdeanpeters/Product-Manager-Skills
Run a user story mapping workshop with adaptive questions and a structured map output. Use when you need backbone activities, tasks, and release slices for a workflow.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.