codebase-hygiene SKILL.md skillA

codebase-hygiene from romiluz13/cc10x is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add romiluz13/cc10x/codebase-hygiene@git:20260719.1c25dee

Pins git:20260719.1c25dee in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
romiluz13/cc10x
Path
plugins/cc10x/skills/codebase-hygiene/SKILL.md
Versions recorded
4
Latest version
git:20260719.1c25dee, committed Jul 19, 2026
First version recorded
Jul 2, 2026
Size
6,101 bytes
Repository stars
166
License
MIT

Two-mode skill: (1) find semantic duplicates — functions doing the same thing under different names, invisible to copy-paste detectors; (2) deepen shallow modules — thin wrappers and pass-through layers that spread complexity. Advisory and read-only; changes route through BUILD with full gates.

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

# Codebase Hygiene (Duplicate Detection + Module Deepening)

Advisory and read-heavy. Diagnoses and proposes; does not refactor. Any actual change goes through BUILD with full gates.

## Mode: DUPLICATE DETECTION

Semantic duplicates: functions serving the same purpose but implemented independently under different names. Copy-paste detectors catch syntactic duplicates; this finds "same intent, different implementation."

### Method

0. **Scope before you scan** — take the user's named target; else `git log --oneline` for hot spots and weight recently-changed code — deepening pays off in proportion to future change.
1. **Extract catalog** — Grep/Glob for exported functions. Record `name | file:line | signature`.
2. **Categorize by domain** (cheap tier) — validation, formatting, path manipulation, HTTP shaping, date handling. Mechanical bucketing to shrink comparison space.
3. **Drop categories with <3 functions** — can't hide a meaningful duplication pattern.
4. **Detect duplicates per category** (capable tier) — read implementations, decide which share intent. **Never use cheap tier for detection** — it anchors on names and rubber-stamps "these look different."
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add romiluz13/cc10x/codebase-hygiene@sha256:ad3bb93ba656a99b

The line at the top of this page pins the label git:20260719.1c25dee, 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_vxjy574evfszonj7.svg)](https://markdownregistry.com/a/art_vxjy574evfszonj7)

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

Versions

The registry has recorded 4 versions of this file, between Jul 2, 2026 and Jul 19, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260719.1c25dee latest2026-07-19 1c25dee 6,101 BA view · diff
git:20260715.3ad8e9d2026-07-15 3ad8e9d 5,918 BA view · diff
git:20260715.7de3f822026-07-15 7de3f82 5,566 BA view · diff
git:20260702.f66f9722026-07-02 f66f972 5,252 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 (6101 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

romiluz13/cc10x · 166 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vxjy574evfszonj7
GET https://markdownregistry.com/api/v1/resolve?ref=romiluz13/cc10x/codebase-hygiene
GET https://markdownregistry.com/api/v1/blob/ad3bb93ba656a99bba36f62dd8d57a987b5c4ac4ba73a47048643e266ead44f1

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 romiluz13/cc10x

CLAUDE.md CLAUDE.md file
romiluz13/cc10x · CLAUDE.md
git:20261007.f779a4f · audit A · 166 stars
DESIGN.md DESIGN.md file
romiluz13/cc10x · DESIGN.md · Electric Print field guide for senior builders designing agent harnesses and loops
git:20261007.015e4e4 · audit A · 166 stars
agent-common SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/agent-common/SKILL.md · Use when a cc10x agent starts a task: the shared preamble for the memory protocol, the contract format, and the output…
git:20261019.f44395e · audit A · 166 stars
architecture SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/architecture/SKILL.md · Greenfield architecture design: map functionality flows, draw components, design APIs, classify dependencies, plan…
git:20261007.84fdb74 · audit A · 166 stars
building SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/building/SKILL.md · Use when writing production code test-first: the RED-GREEN-REFACTOR cycle, false-RED detection, vertical slicing, scope…
git:20261007.84fdb74 · audit A · 166 stars
cc10x-guide SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/cc10x-guide/SKILL.md · Answers questions about cc10x itself — what it is, how to install and configure it, how the router, workflows, memory…
git:20261019.9f94b01 · audit A · 166 stars
cc10x-router SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/cc10x-router/SKILL.md · Routes build, debug, review, plan, QA, and triage requests through the cc10x workflows (task graphs, workflow…
git:20261019.0daf543 · audit A · 166 stars
code-review SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/code-review/SKILL.md · Two-mode skill: (1) adversarial review — spec compliance + code quality + security, confidence-scored findings with…
git:20261007.df93fd6 · audit A · 166 stars
codebase-design SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/codebase-design/SKILL.md · Canonical deep-module vocabulary (module, interface, depth, seam, adapter, leverage, locality) for designing a module's…
git:20261007.bdeaedb · audit A · 166 stars
debugging SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/debugging/SKILL.md · Use when diagnosing a defect or regression: feedback loop FIRST, root cause before fix, blast radius after fix. Covers…
git:20261007.84fdb74 · audit A · 166 stars
diff-driven-docs SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/diff-driven-docs/SKILL.md · Use when a BUILD phase completes, a commit is staged, or a PR is about to be created, and the diff has not yet been…
git:20261007.84fdb74 · audit A · 166 stars
domain-modeling SKILL.md skill
romiluz13/cc10x · plugins/cc10x/skills/domain-modeling/SKILL.md · Use when changing or sharpening a project's domain model: challenge terms against the glossary, sharpen fuzzy language…
git:20261007.84fdb74 · audit A · 166 stars

Every file in romiluz13/cc10x

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