clean-code SKILL.md skillA
clean-code from renky1025/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add renky1025/agent-skills/clean-code@git:20260925.32ce6c0Pins git:20260925.32ce6c0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- renky1025/agent-skills
- Path
clean-code/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260925.32ce6c0, committed Sep 25, 2026
- First version recorded
- Aug 25, 2026
- Size
- 8,319 bytes
- Repository stars
- 11
- License
- MIT
Knowledge base distilled from "Clean Code: A Handbook of Agile Software Craftsmanship" by Robert C. Martin (Uncle Bob): all 17 chapters plus a decision cheat sheet, a technique and pattern catalogue, a glossary, and a cross-language map. Use it to apply Uncle Bob's frameworks for meaningful names, small functions, comments, formatting, objects vs data structures, error handling, boundaries, unit tests / TDD, class design (SRP), systems, concurrency, refactoring, and code smells — while writing…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Clean Code **Author**: Robert C. Martin (Uncle Bob) | **Pages**: ~462 | **Chapters**: 17 | **Generated**: 2026-08-24 ## Purpose A synthesised study aid for *Clean Code*: it maps every named framework, principle, anti-pattern, and heuristic in the book to a reference file, then routes a question or a review finding to the file that answers it. It produces grounded advice with chapter citations — not the book text, and not a linting tool. ## When to Use - Naming, functions, comments, formatting, objects vs data structures, error handling, boundaries, tests/TDD, classes/SRP, systems, concurrency, refactoring, code smells. - A live review or cleanup where you must name *why* something is a smell and what to do. - Studying the book, or asking "what does Uncle Bob say about X". - Trigger phrases: 整洁代码, 重构, 代码质量, 命名, 函数设计, 注释, 代码味道, 反模式, 测试驱动; clean code, naming, TDD, error handling, code smell, code review, SRP. ## When NOT to Use - **Review-and-fix of a diff** -> `claude-simplify` runs the review and applies fixes; this skill only supplies the justification the review cites. - **Beyond the book** — design patterns, architecture, framework idioms -> say it is out of …
Read the whole file at its exact version.
How to install
mdr add renky1025/agent-skills/clean-code@sha256:ad718673dcc855acThe line at the top of this page pins the label git:20260925.32ce6c0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jxsnjbnn4d77rbuf)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 25, 2026 and Sep 25, 2026, about one every 31 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260925.32ce6c0 latest | 2026-09-25 | 32ce6c0 | 8,319 B | A | view · diff |
| git:20260825.fd539ff | 2026-08-25 | fd539ff | 11,340 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8319 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
renky1025/agent-skills · 11 stars · license MIT · pushed 2026-10-10 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jxsnjbnn4d77rbuf GET https://markdownregistry.com/api/v1/resolve?ref=renky1025/agent-skills/clean-code GET https://markdownregistry.com/api/v1/blob/ad718673dcc855acfa2d553ad6ebd35a4979c226be5a74cdb23731582a96d71f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from renky1025/agent-skills
Every file in renky1025/agent-skills