
unclebob/ub-mode
Data science & ML이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
ub-mode는 글쓰기 또는 변경할 때 훈련 된 소프트웨어 공학 원칙을 시행하는 에이전트 기술입니다.
개요
ub-mode는 글쓰기 또는 변경할 때 훈련 된 소프트웨어 공학 원칙을 시행하는 에이전트 기술입니다. @poteto의 규칙 (poteto-mode / pstack)의 일부에 따라 느슨하고 세분화 된 품질 게이트 도구 : 1. — Laziness Protocol, Foundational Thinking, TDD, Redesign From First Principles, 당신이 추가하기 전에 Premise, Subtract를 공격, Outcome-Oriented Execution, 레버 구축, 아키텍처 (체형 도메인, 경계 디스크, 유형 시스템 디스크, 공유 국가를 직렬화하기 전에 Idempotent를 만듭니다). 2. — 루트 원인을 수정, Verifiable 단위로 작업, 테스트 Behavior (Not Implementation), 크래퍼 (CRAP < 10), 건조기 (duplication < 0.8), Mutator (cover the uncovered, kill the survivors, delete dead code), 및 Refactoring. 3. - 로그 유지, Context Window, Worktree Cleanup 및 Commit 및 소액 주문 커밋에서 푸시.
개요(AI 번역)
ub-mode]는 코드를 작성하거나 변경할 때 훈련된 소프트웨어 엔지니어링 원칙을 시행하는 에이전트 기술입니다. @poteto의 규칙 (poteto-mode / pstack]])의 일부에 따라 느슨하게, 세분화 된 품질 게이트 도구 :
- ** 먼저 작업** - Laziness Protocol, Foundational Thinking, TDD, Redesign from First Principles, Attack the Premise, Subtract Before You Add, Outcome-Oriented Execution, 레버 구축, 아키텍처 (체형 도메인, 경계 디스크, 유형 시스템 디스크, 공유 국가를 직렬화하기 전에 Idempotent를 설정하십시오).
- **이 올바른 ** - 루트 원인을 수정, Verifiable 단위로 작업, 테스트 Behavior (Not Implementation), 크래퍼 ([T3]] 유사성) 제거.
- unclebob/mutator - 발견되지 않은 코드를 노출하고 시험이 잡기 실패한 mutants를 경고하는 것을 막습니다.
- unclebob/uml-viewer - 구성 요소, 적용, CRAP, 돌연변이 점수 및 의존 방향을 시각화합니다.
설치
SKILL.md]를 ub-mode/SKILL.md로 에이전트의 기술 디렉토리에 복사 (예를 들어 ~/.grok/skills/ub-mode/SKILL.md, ~/.claude/skills/ub-mode/SKILL.md], 또는 `~/.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
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:
- 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).
- Then Make it Right — Fix Root Causes, Sequence Work into Verifiable Units, Test Behavior (Not Implementation), Crapper (
CRAP < 10), Dryer (duplication< 0.8), Mutator (cover the uncovered, kill the survivors, delete dead code), and Refactoring. - Practice — Keep a Log, Guard the Context Window, Worktree Cleanup, and Commit and Push in small ordered commits.
Companion Tool Repositories
ub-mode relies on deterministic quality-gate tools to enforce structure, complexity, duplication, and test thoroughness:
- unclebob/crapper — Computes cyclomatic complexity, test coverage, and CRAP score per function so every function stays under the CRAP threshold (
< 10). - unclebob/dryer — Detects structural code duplication so duplicate blocks (
>= 0.8similarity) 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.
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add unclebob/ub-mode