MCP.so
Sign In

ub-mode

unclebob / ub-mode

Basic information

Category

Development

Repository

unclebob / ub-mode

Skill

ub-mode

About ub-mode

Robert C. Martin's (Uncle Bob) agent skill for disciplined coding: first make it work with TDD and first-principles design, then make it right with root-cause fixes and deterministic quality gates for CRAP score, duplication and mutation testing.

#tdd#clean-code#refactoring#mutation-testing#code-quality

Install ub-mode

mkdir -p ~/.claude/skills/ub-mode && curl -fsSL https://raw.githubusercontent.com/unclebob/ub-mode/master/SKILL.md -o ~/.claude/skills/ub-mode/SKILL.md

What it does

  • First Make it Work: TDD, attack the premise, subtract before you add, model the domain, keep boundaries and types disciplined, make operations idempotent

  • Then Make it Right: fix root causes, ship in verifiable units, test behavior rather than implementation, and refactor

  • Enforces gates with companion tools: crapper (CRAP score under 10), dryer (no blocks at 0.8+ similarity) and mutator (kill surviving mutants, delete dead code)

  • Practice rules: keep a log, guard the context window, clean up worktrees, and commit and push in small ordered commits

  • Install by copying SKILL.md to ~/.claude/skills/ub-mode/ (or the Cursor or Grok skills folder), then run /ub-mode

Comments

More skills in Development

vercel-react-best-practices

vercel-labs / agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

improve-codebase-architecture

mattpocock / skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

shadcn

shadcn / ui

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

caveman-compress

juliusbrussee / caveman

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

caveman-stats

juliusbrussee / caveman

Show real token usage and estimated savings for the current session. Reads directly from the Claude Code session log — no AI estimation. Triggers on /caveman-stats. Output is injected by the mode-tracker hook; the model itself does not compute the numbers.

full-output-enforcement

leonxlnx / taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.