clean-code SKILL.md skillA

clean-code from uwuclxdy/agenticat is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add uwuclxdy/agenticat/clean-code@v1.7

Pins v1.7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
uwuclxdy/agenticat
Path
skills/clean-code/SKILL.md
Versions recorded
8
Latest version
v1.7, committed Oct 26, 2026
First version recorded
Jul 18, 2026
Size
21,716 bytes
Repository stars
7
License
MIT

Language-agnostic clean-code baseline: naming, functions, error handling, comments, duplication.

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 Principles

Use these when you write, review, or refactor code.

Treat these as directional principles. Where a repo's established precedent or a language's own idioms conflict with a rule here, follow the local convention and match the surrounding code.

---

## 1. Naming & Readability

### 1.1 Avoid Disinformation

Never use variable names that create false expectations, contain misleading technical terms, or use visually confusing characters.

**Do:**
- Use names that honestly reflect the data structure (`accountsMap`, `accountsGroup`).
- Use distinct names for classes/variables so autocomplete doesn't trick you.

**Don't:**
- Name a map `accountList` just because it holds several items; to a programmer "list" means an indexed structure.
- Create names that vary in tiny ways (e.g., `ABCManagerForEfficientProcessingOfUsers` vs `...PersistingOfUsers`).
- Use characters that look identical (lowercase `l` vs `1`, uppercase `O` vs `0`).
  - Bad: `int a = l; if (O == l) a = O1; else l = O1;`

### 1.2 Make Meaningful Distinctions

If two things have different names, they must do different things. Avoid meaningless noise words and number series.

**Do:**
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add uwuclxdy/agenticat/clean-code@sha256:a89199cfb3eaf9e3

The line at the top of this page pins the label v1.7, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sectgnowuynyz3dj.svg)](https://markdownregistry.com/a/art_sectgnowuynyz3dj)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Jul 18, 2026 and Oct 26, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
v1.7 latest2026-10-26 609714b 21,716 BA view · diff
v1.62026-10-14 68d2144 21,550 BA view · diff
v1.52026-09-14 a6261ea 20,549 BA view · diff
v1.42026-08-26 bed4238 20,407 BA view · diff
v1.42026-08-11 aa0eeb0 20,399 BA view · diff
v1.42026-08-02 6ac2614 18,968 BA view · diff
v1.32026-07-18 d869132 18,988 BA view · diff
v1.22026-07-18 f20b357 18,968 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (21716 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

GitHub

uwuclxdy/agenticat · 7 stars · license MIT · pushed 2026-11-06 · branch mommy

API

GET https://markdownregistry.com/api/v1/artifacts/art_sectgnowuynyz3dj
GET https://markdownregistry.com/api/v1/resolve?ref=uwuclxdy/agenticat/clean-code
GET https://markdownregistry.com/api/v1/blob/a89199cfb3eaf9e3a8f27deccb10d4e3e02540ff0948d2cd665ddd8bc4187cbe

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 uwuclxdy/agenticat

askama SKILL.md skill
uwuclxdy/agenticat · skills/askama/SKILL.md · Askama Rust templating reference (0.16).
v1.5 · audit A · 7 stars
cargo-toml-optimization SKILL.md skill
uwuclxdy/agenticat · skills/cargo-toml-optimization/SKILL.md · Tunes Rust `Cargo.toml` and `.cargo/config.toml`: profiles, features, workspaces, dependency hygiene.
v1.8 · audit A · 7 stars
clean-flutter SKILL.md skill
uwuclxdy/agenticat · skills/clean-flutter/SKILL.md · Idiomatic Flutter and Dart rules: feature-first layout, Riverpod, freezed, go_router, const correctness.
v1.6 · audit A · 7 stars
clean-rust SKILL.md skill
uwuclxdy/agenticat · skills/clean-rust/SKILL.md · Idiomatic Rust 2024 rules: ownership, error handling, async, unsafe, traits, iterators, clippy.
v1.16 · audit A · 7 stars
clean-shell SKILL.md skill
uwuclxdy/agenticat · skills/clean-shell/SKILL.md · Defensive Bash and POSIX shell rules: strict-mode flags, traps, idempotent mutation, ShellCheck discipline, bats tests.
v1.11 · audit A · 7 stars
docs-sync SKILL.md skill
uwuclxdy/agenticat · skills/docs-sync/SKILL.md · Reconciles README, docs, CLAUDE.md, and agent prompts with what the code does.
v1.14 · audit A · 7 stars
emulator-testing SKILL.md skill
uwuclxdy/agenticat · skills/emulator-testing/SKILL.md · Boots and drives Android AVDs and iOS simulators from the CLI.
v1.9 · audit A · 7 stars
maud SKILL.md skill
uwuclxdy/agenticat · skills/maud/SKILL.md · Maud Rust `html!` macro reference (0.27).
v1.5 · audit B · 7 stars
mcp-stateless SKILL.md skill
uwuclxdy/agenticat · skills/mcp-stateless/SKILL.md · MCP knowledge pack for the stateless 2026-07-28 revision.
v1.0.4 · audit A · 7 stars
name-check SKILL.md skill
uwuclxdy/agenticat · skills/name-check/SKILL.md · Suggests project and crate names and checks availability across crates.io, npm, PyPI, AUR, GitHub, and domains.
v1.6 · audit A · 7 stars
ratatui-patterns SKILL.md skill
uwuclxdy/agenticat · skills/ratatui-patterns/SKILL.md · Modern-ratatui knowledge pack for Rust TUI code on ratatui and crossterm.
v1.7 · audit A · 7 stars
terminal-ux SKILL.md skill
uwuclxdy/agenticat · skills/terminal-ux/SKILL.md · Behavior rules for CLIs and TUIs: exit codes, stdout vs stderr, TTY detection, NO_COLOR, prompts, destructive-action…
v1.5 · audit A · 7 stars

Every file in uwuclxdy/agenticat

Other files named clean-code

clean-code SKILL.md skill
ciembor/agent-rules-books · clean-code/SKILL.md · Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities…
git:20260909.802595f · audit A · 3,214 stars
clean-code SKILL.md skill
wondelai/skills · plugins/code-craftsmanship/skills/clean-code/SKILL.md · Write readable, maintainable code through disciplined naming, small functions, and clean error handling. Use when the…
v1.4.0 · audit A · 2,640 stars
clean-code SKILL.md skill
wondelai/skills · clean-code/SKILL.md · Write readable, maintainable code through disciplined naming, small functions, and clean error handling. Use when the…
v1.4.0 · audit A · 2,640 stars
clean-code SKILL.md skill
wondelai/skills · plugins/wondelai-skills/skills/clean-code/SKILL.md · Write readable, maintainable code through disciplined naming, small functions, and clean error handling. Use when the…
v1.4.0 · audit A · 2,640 stars
clean-code SKILL.md skill
decebals/claude-code-java · skills/clean-code/SKILL.md · Clean Code principles (DRY, KISS, YAGNI), naming, function design and readability. Use when code is hard to read, with…
git:20260828.d70ab4f · audit A · 768 stars
clean-code SKILL.md skill
asymmetric-al/core · .agents/skills/clean-code/SKILL.md · Applies principles from Robert C. Martin's 'Clean Code'. Use this skill when writing, reviewing, or refactoring code to…
git:20261001.4ae104e · audit A · 370 stars
clean-code SKILL.md skill
mindrally/skills · clean-code/SKILL.md · Clean, maintainable, human-readable code principles combined with anti-over-engineering discipline: naming, single…
git:20261008.7682ca7 · audit A · 301 stars
clean-code SKILL.md skill
techygarg/lattice · skills/clean-code/SKILL.md · Apply clean code principles when generating or modifying implementation code. Enforces function focus, naming clarity…
git:20260903.6d09876 · audit A · 211 stars

Browse by kind, by grade A, or by owner.