★ 7,504⑂ 428👁 56⑃ 5● 6▤ 0◈ 0
7,504
stars
+110+987
428
forks
56
watchers
5
prs
6
issues
0
releases
0
discussions
README
ub-mode ub-mode is an agent skill that enforces disciplined software engineering principles when writing or changing code. It is loosely based on portions of @poteto's rules (poteto-mode / pstack), reduced and paired with deterministic quality-gate tools: 1. First Make it Work — Laziness Protocol, Foundational Thinking, TDD, Redesign From First Principles, Attack the Premise, Subtract Before You Add, Outcome-Oriented Execution, Build the Lever, and Architecture (Model the Domain, Boundary Discipline, Type System Discipline, Make Operations Idempotent, Separate Before Serializing Shared State). 2. Then Make it Right — Fix Root Causes, Sequence Work into Verifiable Units, Test Behavior (Not Implementation), Crapper (CRAP = 0.8 similarity) are eliminated. - unclebob/mutator — Runs mutation testing to expose uncovered code and surviving mutants that tests fail to catch. - unclebob/uml-viewer — Visualizes components, coverage, CRAP, mutation scores, and dependency directions. Installation Copy SKILL.md into your agent's skills directory as ub-mode/SKILL.md (for example ~/.grok/skills/ub-mode/SKILL.md, ~/.claude/skills/ub-mode/SKILL.md, or ~/.cursor/skills/ub-mode/SKILL.md), then invoke /ub-mode.
Top issues
#6Add to OpenCode3 comments · 2026-10-28#10Security hardening for companion tool `crapper` when invoked by `/ub-mode` agents (PR unclebob/crapper#27)2 comments · 2026-11-01#7YHGYTFRS1 comments · 2026-10-29#5What sort of licence is planned for this skill?0 comments · 2026-10-28#3Typos & Add Static Analysis for CRAP score0 comments · 2026-10-27#2Two rules let the agent act on its own: push to main and reclaim disk0 comments · 2026-10-27