UB Mode is an open-source AI coding agent skill developed by Robert C. Martin to enforce disciplined software engineering practices. It organizes development into two stages: first making code work, then improving its design and quality. The skill encourages test-driven development, clear domain modeling, and solving problems from first principles. It instructs agents to fix root causes rather than applying superficial patches. Companion tools measure cyclomatic complexity, test coverage, structural duplication, and mutation testing effectiveness. Developers can use these checks to identify fragile code and insufficient tests. The workflow also emphasizes small verifiable changes, context management, refactoring, and orderly Git commits. UB Mode integrates with compatible coding assistants through a reusable skill file.

Features

  • Test-Driven Development and Incremental Implementation
  • Root Cause Analysis and First-Principles Design
  • Cyclomatic Complexity and CRAP Score Enforcement
  • Structural Code Duplication Detection
  • Mutation Testing and Behavioral Test Verification
  • Agent Workflow Discipline and Incremental Git Commits

Project Samples

Project Activity

See All Activity >

Categories

AI Agents

Follow UB Mode

UB Mode Web Site

Other Useful Business Software
Veeam Data Platform v13.1 Icon
Veeam Data Platform v13.1

Move workloads across hypervisors and clouds with no vendor lock-in. Try VDP free today.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of UB Mode!

Additional Project Details

Registered

5 days ago