improve-codebase-architecture SKILL.md skillA

improve-codebase-architecture from bendrucker/claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bendrucker/claude/improve-codebase-architecture@git:20261028.1953187

Pins git:20261028.1953187 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bendrucker/claude
Path
user/skills/improve-codebase-architecture/SKILL.md
Versions recorded
6
Latest version
git:20261028.1953187, committed Oct 28, 2026
First version recorded
May 25, 2026
Size
5,775 bytes
Repository stars
18
License
MIT

Find deepening opportunities in a codebase. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

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

# Improve Codebase Architecture

Surface architectural friction and propose **deepening opportunities**: refactors that turn shallow modules into deep ones. The aim: testability and AI-navigability.

## Glossary

Use these terms exactly in every suggestion. Consistent language is the point. Don't drift into "component," "service," "API," or "boundary." Definitions in [LANGUAGE.md](LANGUAGE.md).

- **Module**: anything with an interface and an implementation (function, class, package, slice).
- **Interface**: everything a caller must know to use the module: types, invariants, error modes, ordering, config. Not just the type signature.
- **Implementation**: the code inside.
- **Depth**: leverage at the interface: a lot of behaviour behind a small interface. **Deep** = high leverage. **Shallow** = interface nearly as complex as the implementation.
- **Seam**: where an interface lives; a place behaviour can be altered without editing in place. (Use this, not "boundary.")
- **Adapter**: a concrete thing satisfying an interface at a seam.
- **Leverage**: what callers get from depth.
- **Locality**: what maintainers get from depth: change, bugs, knowledge concentrated in one place.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bendrucker/claude/improve-codebase-architecture@sha256:b55ad116c06cb30b

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

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

Versions

The registry has recorded 6 versions of this file, between May 25, 2026 and Oct 28, 2026, about one every 31 days.

versioncommittedcommitsizeaudit
git:20261028.1953187 latest2026-10-28 1953187 5,775 BA view · diff
git:20260808.d7f65612026-08-08 d7f6561 5,869 BA view · diff
git:20260713.4c4c5002026-07-13 4c4c500 5,897 BA view · diff
git:20260615.1ec44ee2026-06-15 1ec44ee 5,288 BA view · diff
git:20260605.8751e322026-06-05 8751e32 5,305 BA view · diff
git:20260525.7df3a572026-05-25 7df3a57 5,274 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 (5775 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

bendrucker/claude · 18 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wggyfzybpnjdbied
GET https://markdownregistry.com/api/v1/resolve?ref=bendrucker/claude/improve-codebase-architecture
GET https://markdownregistry.com/api/v1/blob/b55ad116c06cb30bbd440a986b654076efd2e748638812a1f2270fbb880ec3dc

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 bendrucker/claude

agent-ideas SKILL.md skill
bendrucker/claude · .claude/skills/agent-ideas/SKILL.md · Harvest agent-tooling ideas from prominent developers.
git:20260916.5ad8621 · audit A · 18 stars
cli SKILL.md skill
bendrucker/claude · .claude/skills/cli/SKILL.md · Type-safe CLI argument parsing with commander and @commander-js/extra-typings, the standard parser for this repo's Bun…
git:20261017.46cee47 · audit A · 18 stars
prose-lab SKILL.md skill
bendrucker/claude · .claude/skills/prose-lab/SKILL.md · Turn the user's labels on repo prose, or their notes from reviewing a document in Plannotator, into calibrated Vale…
git:20261103.c79cbff · audit A · 18 stars
CLAUDE.md CLAUDE.md file
bendrucker/claude · CLAUDE.md
git:20261103.7402b16 · audit A · 18 stars
activitywatch:activity SKILL.md skill
bendrucker/claude · plugins/activitywatch/skills/activity/SKILL.md · Report real device usage from ActivityWatch. Covers per-app time, window titles, and active vs idle spans. Use when…
git:20260713.5ca4d49 · audit A · 18 stars
agents:agent-team SKILL.md skill
bendrucker/claude · plugins/agents/skills/agent-team/SKILL.md · Orchestrating Claude Code agent teams. Use when creating teams, spawning teammates, assigning tasks, configuring…
git:20261006.a882371 · audit A · 18 stars
agents:handoff SKILL.md skill
bendrucker/claude · plugins/agents/skills/handoff/SKILL.md · Hand the current conversation off to a fresh background agent that picks up the work immediately, so you can step away…
git:20261020.56c0e8f · audit A · 18 stars
atuin:history SKILL.md skill
bendrucker/claude · plugins/atuin/skills/history/SKILL.md · Report shell history from atuin's local capture. Covers what commands ran, when, where, and how they exited. Use when…
git:20261018.8bb1907 · audit A · 18 stars
bun SKILL.md skill
bendrucker/claude · plugins/bun/skills/bun/SKILL.md · Bun runtime patterns. Use when running bun commands, working with package.json/bun.lock, writing TypeScript scripts…
git:20261030.ee8bb41 · audit A · 18 stars
comments:audit SKILL.md skill
bendrucker/claude · plugins/comments/skills/audit/SKILL.md · Audit code comments for AI slop: restatement, narration/decision-log, self-praise, docstring-scope, and section-divider…
git:20261030.03f7155 · audit A · 18 stars
dispatch SKILL.md skill
bendrucker/claude · plugins/dispatch/skills/dispatch/SKILL.md · Hand new work bound for its own pull request to a fresh Claude session in a new worktree, opened in a Rex tab or a…
git:20261105.b14fe19 · audit A · 18 stars
evals:hill-climb SKILL.md skill
bendrucker/claude · plugins/evals/skills/hill-climb/SKILL.md · Hill-climb a skill, agent, rule, or CLAUDE.md against its eval suite. Use when changing one to raise an eval score…
git:20261030.ad16282 · audit A · 18 stars

Every file in bendrucker/claude

Other files named improve-codebase-architecture

improve-codebase-architecture SKILL.md skill
librechat-ai/librechat · .claude/skills/improve-codebase-architecture/SKILL.md · Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you…
git:20260812.ee8c0ab · audit A · 46,833 stars
improve-codebase-architecture SKILL.md skill
danny-avila/librechat · .claude/skills/improve-codebase-architecture/SKILL.md · Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you…
git:20260812.ee8c0ab · audit A · 46,766 stars
improve-codebase-architecture SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/improve-codebase-architecture/SKILL.md · 扫描代码库中的深化机会,生成可视化 HTML 报告,然后围绕你选中的候选项继续追问。
git:20261008.5be0dc1 · audit A · 5,611 stars
improve-codebase-architecture SKILL.md skill
mxyhi/ok-skills · improve-codebase-architecture/SKILL.md · Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you…
git:20261029.91108cf · audit A · 510 stars
improve-codebase-architecture SKILL.md skill
asymmetric-al/core · .agents/skills/improve-codebase-architecture/SKILL.md · Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you…
git:20260923.15c9348 · audit A · 370 stars
improve-codebase-architecture SKILL.md skill
pc-style/x-md · .agents/skills/improve-codebase-architecture/SKILL.md · Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you…
git:20260911.116bcd3 · audit A · 194 stars
improve-codebase-architecture SKILL.md skill
rudycity/superagent · .agents/skills/improve-codebase-architecture/SKILL.md · Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you…
git:20260626.019dba9 · audit A · 64 stars
improve-codebase-architecture SKILL.md skill
mart337i/odoo-skills · skills/improve-codebase-architecture/SKILL.md · Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in…
git:20260509.57ec9e4 · audit A · 63 stars

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