Token导航 LogoToken导航

Agent Skill · 前端设计

uncle-bob-craft(鲍勃叔叔工艺)

uncle-bob-craft 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

uncle-bob-craft 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,257。

总安装 941周安装 40GitHub Stars 35,678下载 330核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:uncle-bob-craft(鲍勃叔叔工艺)
来源仓库:https://github.com/sickn33/antigravity-awesome-skills
仓库路径:skills/uncle-bob-craft
安装命令:
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill uncle-bob-craft
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill uncle-bob-craft

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。通过 npx skills add 命令从指定 GitHub 仓库安装使用。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。uncle-bob-craft 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/uncle-bob-craft

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill unc…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

uncle-bob-craft 怎么安装?

在终端执行 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill uncle-bob-cra…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

uncle-bob-craft 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

uncle-bob-craft 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

uncle-bob-craft 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

uncle-bob-craft 用的人多吗?

公开数据是累计安装 941 次,近一周安装 40 次,下载 330 次,GitHub 35,678 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

uncle-bob-craft 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 35,678 星,维护活跃度相对可查。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
uncle-bob-craft

鲍勃叔叔工艺 · 本页

94135,678只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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

SourceFocusWhere to go
Clean CodeNames, functions, comments, formatting, tests, classes, smellsUse @clean-code for detail; this skill references it for review/production.
Clean ArchitectureDependency Rule, layers, boundaries, SOLID in architectureSee reference.md and references/clean-architecture.md.
The Clean CoderProfessionalism, estimation, saying no, sustainable paceSee reference.md and references/clean-coder.md.
Clean AgileValues, Iron Cross, TDD, refactoring, pair programmingSee reference.md and references/clean-agile.md.
Design patternsWhen to use, misuse, cargo cultSee 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 / HeuristicMeaning
RigiditySmall change forces many edits.
FragilityChanges break unrelated areas.
ImmobilityHard to reuse in another context.
ViscosityEasy to hack, hard to do the right thing.
Needless complexitySpeculative or unused abstraction.
Needless repetitionDRY violated; same idea in multiple places.
OpacityCode 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

ContextApply
Code reviewDependency 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).
Writing new codePrefer small functions and single responsibility; depend inward (Clean Architecture); write tests first when doing TDD; avoid patterns until duplication or variation justifies them.
RefactoringIdentify one smell at a time; refactor in small steps with tests green; improve names and structure before adding behavior.

How It Works

When reviewing code

  1. Boundaries and Dependency Rule: Check that dependencies point inward (e.g., use cases do not depend on UI or DB details). See references/clean-architecture.md.
  2. SOLID in context: Check Single Responsibility, Open/Closed, Liskov, Interface Segregation, Dependency Inversion where they apply to the changed code.
  3. Smells: Scan for rigidity, fragility, immobility, viscosity, needless complexity/repetition, opacity; list them with file/area.
  4. Concrete suggestions: Propose one or two refactors (e.g., "Extract this into a function named X," "Introduce an interface so this layer does not depend on the concrete DB client").
  5. Tests and craft: Note if tests exist and if the change respects sustainable pace (no obvious "we'll fix it later" comments that violate professionalism).

When writing or refactoring code

  1. Prefer small, single-purpose functions and classes; use @clean-code for naming and structure.
  2. Keep dependencies pointing inward; put business rules in the center, adapters at the edges.
  3. Introduce design patterns only when duplication or variation justifies them.
  4. Refactor in small steps with tests staying green.

Examples

Example 1: Code review prompt (copy-pasteable)

Use this to ask for an Uncle Bob–oriented review:

Please review this change using Uncle Bob craft criteria (@uncle-bob-craft):
1. Dependency Rule and boundaries — do dependencies point inward?
2. SOLID in context — any violations in the touched code?
3. Smells — list rigidity, fragility, immobility, viscosity, needless complexity/repetition, or opacity.
4. Suggest one or two concrete refactors (e.g., extract function, invert dependency).
Do not duplicate lint/format; focus on structure and design.

Example 2: Before/after (extract and name)

Before (opacity, does more than one thing):

def process(d):
    if d.get("t") == 1:
        d["x"] = d["a"] * 1.1
    elif d.get("t") == 2:
        d["x"] = d["a"] * 1.2
    return d

After (clear intent, single level of abstraction):

def apply_discount(amount: float, discount_type: int) -> float:
    if discount_type == 1:
        return amount * 1.1
    if discount_type == 2:
        return amount * 1.2
    return amount

def process(order: dict) -> dict:
    order["x"] = apply_discount(order["a"], order.get("t", 0))
    return order

Best Practices

  • ✅ Use @clean-code for naming, functions, comments, and formatting; use this skill for architecture, boundaries, SOLID, smells, and process.
  • ✅ In review, name the smell or principle (e.g., "Dependency Rule violation: use case imports from the web framework").
  • ✅ Suggest at least one concrete refactor per review (extract, rename, invert dependency).
  • ✅ Run the project linter and formatter separately; this skill does not replace them.
  • ❌ Do not use this skill to enforce syntax or style; that is the linter's job.
  • ❌ Do not add design patterns without a clear duplication or variation reason.

Common Pitfalls

  • Problem: Treating every class as needing a Factory or Strategy. Solution: Introduce patterns only when you have a real design need (third duplication, second axis of change).
  • Problem: Review only listing "violates SOLID" without saying where or how. Solution: Point to the file/function and which principle (e.g., "SRP: this function parses and persists; split into parse and persist").
  • Problem: Skipping the project linter because "we applied Uncle Bob." Solution: This skill is about craft and design; always run the project's lint and format.

Related Skills

  • @clean-code — Detailed Clean Code book material (names, functions, comments, formatting, tests, classes, smells). Use for day-to-day code quality; use uncle-bob-craft for architecture and cross-book criteria.
  • @architecture — General architecture decisions and trade-offs. Use when choosing high-level structure; use uncle-bob-craft for Dependency Rule and boundaries.
  • @code-review-excellence — Code review practices. Combine with uncle-bob-craft for principle-based review.
  • @refactor-clean-code — Refactoring toward clean code. Use with uncle-bob-craft when refactoring for boundaries and SOLID.
  • @test-driven-development — TDD workflow. Aligns with Clean Agile and Clean Coder (tests as requirement, sustainable pace).

Limitations

  • Does not replace the project linter or formatter. Run lint and format separately; this skill gives design and craft criteria only.
  • Does not replace automated tests. It can remind you to write tests (Clean Coder, Clean Agile) but does not run or generate them.
  • Complementary to tooling. Use it alongside existing CI, lint, and test suites.
  • No syntax or style enforcement. It focuses on structure, dependencies, smells, and professional practice, not on brace style or line length.
  • Summaries, not the books. Full Clean Code heuristics, component principles (REP/CCP/CRP, ADP/SDP/SAP), and detailed stories are in the books; we reference the most used parts. See reference.md "Scope and attribution."

平台分布

Codex

35.33%
按下载量换算117

Claude

29.65%
按下载量换算98

Cursor

19.55%
按下载量换算65

Gemini CLI

9.1%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills