본문으로 건너뛰기
Skillpedia
일반 코딩48k · #6053

uncle-bob-craft

하는 일

좋은 프로그래밍 원칙에 따라 컴퓨터 코드를 검토하고 작성하도록 돕는 도구입니다. 코드가 잘 정리되어 있고 이해하기 쉬운지, 아키텍처와 전문성 규칙을 따르는지 확인합니다.

사용하는 경우

  • ✓다른 사람이 작성한 코드를 검토할 때.
  • ✓기존 코드를 쓰거나 수정할 때.
  • ✓소프트웨어 프로젝트의 전체 구조를 이야기할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/uncle-bob-craft/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/uncle-bob-craft/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 코드 조각이 Clean Architecture와 The Clean Coder 원칙을 따르는지 검토해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 코드의 구조, 부분들이 연결되는 방식, 정리와 전문성의 관행을 따르는지 분석합니다. 핵심 기능을 바꾸지 않으면서 개선점을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Uncle Bob Craft

Apply Robert C. Martin (Uncle Bob) criteria for code review and production: Clean Code, Clean Architecture, The Clean Coder, Clean Agile, and design-pattern discipline. This skill is complementary to the existing @clean-code skill (which focuses on the Clean Code book) and to your project's linter/formatter—it does not replace them.

Overview

This skill aggregates principles from Uncle Bob's body of work for reviewing and writing code: naming and functions (via @clean-code), architecture and boundaries (Clean Architecture), professionalism and estimation (The Clean Coder), agile values and practices (Clean Agile), and design-pattern use vs misuse. Use it to evaluate structure, dependencies, SOLID in context, code smells, and professional practices. It provides craft and design criteria only—not syntax or style enforcement, which remain the responsibility of your linter and formatter.

When to Use This Skill

  • Code review: Apply Dependency Rule, boundaries, SOLID, and smell heuristics; suggest concrete refactors.
  • Refactoring: Decide what to extract, where to draw boundaries, and whether a design pattern is justified.
  • Architecture discussion: Check layer boundaries, dependency direction, and separation of concerns.
  • Design patterns: Assess correct use vs cargo-cult or overuse before introducing a pattern.
  • Estimation and professionalism: Apply Clean Coder ideas (saying no, sustainable pace, three-point estimates).
  • Agile practices: Reference Clean Agile (Iron Cross, TDD, refactoring, pair programming) when discussing process.
  • Do not use to replace or override the project's linter, formatter, or automated tests.

Aggregators by Source

Source Focus Where to go
Clean Code Names, functions, comments, formatting, tests, classes, smells Use @clean-code for detail; this skill references it for review/production.
Clean Architecture Dependency Rule, layers, boundaries, SOLID in architecture See reference.md and references/clean-architecture.md.
The Clean Coder Professionalism, estimation, saying no, sustainable pace See reference.md and references/clean-coder.md.
Clean Agile Values, Iron Cross, TDD, refactoring, pair programming See reference.md and references/clean-agile.md.
Design patterns When to use, misuse, cargo cult See reference.md and references/design-patterns.md.

Design Patterns: Use vs Misuse

  • Use patterns when they solve a real design problem (e.g., variation in behavior, lifecycle, or cross-cutting concern), not to look "enterprise."
  • Avoid cargo cult: Do not add Factory/Strategy/Repository just because the codebase "should" have them; add them when duplication or rigidity justifies the abstraction.
  • Signs of misuse: Pattern name in every class name, layers that only delegate without logic, patterns that make simple code harder to follow.
  • Rule of thumb: Introduce a pattern when you feel the third duplication or the second reason to change; name the pattern in code or docs so intent is clear.

Smells and Heuristics (Summary)

Smell / Heuristic Meaning
Rigidity Small change forces many edits.
Fragility Changes break unrelated areas.
Immobility Hard to reuse in another context.
Viscosity Easy to hack, hard to do the right thing.
Needless complexity Speculative or unused abstraction.
Needless repetition DRY violated; same idea in multiple places.
Opacity Code is hard to understand.

Full lists (including heuristics C1–T9-style) are in reference.md. Use these in review to name issues and suggest refactors (extract, move dependency, introduce boundary).

Review vs Production

Context Apply
Code review Dependency Rule and boundaries; SOLID in context; list smells; suggest one or two concrete refactors (e.g., extract function, invert dependency); check tests and professionalism (tests present, no obvious pressure hacks).

…

자주 묻는 질문

코드의 '냄새(smells)'는 무엇인가요?

코드에 문제가 있거나 유지 보수가 어렵다는 신호입니다. 예를 들어 경직성(작은 변경이 많은 문제를 일으킴)이나 취약성(변경이 무관한 부분을 깨뜨림)이 있습니다.

'의존성 규칙'은 무엇인가요?

가장 중요한 코드(비즈니스 규칙)는 데이터베이스나 그래픽 인터페이스 같은 외부 세부 사항에 의존하지 않아야 한다는 아키텍처 원칙입니다.

코드 포매터를 대신하려고 이 도구를 써야 하나요?

아니요, 두 도구는 서로 보완합니다. 이 도구는 구성과 아키텍처에 집중하고, 포매터는 코드의 모양과 스타일을 담당합니다.

상세 정보

작성자의 원본 설명

Use when performing code review, writing or refactoring code, or discussing architecture; complements clean-code and does not replace project linter/formatter.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6053
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬