improve-codebase-architecture SKILL.md skillA

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

Install it, pinned
mdr add domengabrovsek/agent-config/improve-codebase-architecture@git:20260829.2ef9a96

Pins git:20260829.2ef9a96 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
domengabrovsek/agent-config
Path
skills/improve-codebase-architecture/SKILL.md
Versions recorded
5
Latest version
git:20260829.2ef9a96, committed Aug 29, 2026
First version recorded
Jun 4, 2026
Size
6,047 bytes
Repository stars
23
License
none declared

Finds deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. 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

> Source: [mattpocock/skills - engineering/improve-codebase-architecture](https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture)

# Improve Codebase Architecture

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

## Glossary

**why-no-hook:** skill workflow guidance; each step requires understanding the surrounding context (repo, task shape, prior state).

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

- **Module** - anything with an interface and an implementation (function, class, package, slice). `(review-time: see section note)`
- **Interface** - everything a caller must know to use the module: types, invariants, error modes, ordering, config. Not just the type signature. `(review-time: see section note)`
- **Implementation** - the code inside. `(review-time: see section note)`
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_emuefuxf2e2bqy6n/0a1cf9811c872f3cf390a8b8653547b25840584ccec477621bcffabf9c926f25.json

Then /plugin install improve-codebase-architecture@markdownregistry-emuefuxf2e2bqy6n in Claude Code. It installs git:20260829.2ef9a96, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add domengabrovsek/agent-config/improve-codebase-architecture@sha256:0a1cf9811c872f3c

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

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in domengabrovsek/agent-config/improve-codebase-architecture since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of improve-codebase-architecture from somewhere else? Ask it: where did my improve-codebase-architecture come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Jun 4, 2026 and Aug 29, 2026, about one every 21 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260829.2ef9a96 latest2026-08-29 2ef9a96 6,047 BA view · diff
git:20260731.dede2df2026-07-31 dede2df 6,219 BA view · diff
git:20260731.022e3b32026-07-31 022e3b3 6,231 BA view · diff
git:20260731.ad6b6a02026-07-31 ad6b6a0 6,275 BA view · diff
git:20260604.234a3b52026-06-04 234a3b5 6,272 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

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 (6047 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

domengabrovsek/agent-config · 23 stars · license none declared · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_emuefuxf2e2bqy6n
GET https://markdownregistry.com/api/v1/resolve?ref=domengabrovsek/agent-config/improve-codebase-architecture
GET https://markdownregistry.com/api/v1/blob/0a1cf9811c872f3cf390a8b8653547b25840584ccec477621bcffabf9c926f25

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 domengabrovsek/agent-config

AGENTS.md AGENTS.md file
domengabrovsek/agent-config · AGENTS.md
git:20261108.1d154ef · audit A · 23 stars
ci SKILL.md skill
domengabrovsek/agent-config · skills/ci/SKILL.md · Monitor the CI pipeline for the current branch via a background Monitor script (GitHub or GitLab), reacting to pass…
git:20261115.ca05047 · audit A · 23 stars
constraints SKILL.md skill
domengabrovsek/agent-config · skills/constraints/SKILL.md · Establishes a repo's quality bar as CONSTRAINTS.md: numbers with a command behind each, ratcheted so they never…
git:20260919.fb6ffd1 · audit A · 23 stars
debug SKILL.md skill
domengabrovsek/agent-config · skills/debug/SKILL.md · Runs a structured production-incident investigation that forces evidence-first hypothesis ranking before any code…
git:20261116.18a1a15 · audit A · 23 stars
deliver SKILL.md skill
domengabrovsek/agent-config · skills/deliver/SKILL.md · Deliver a feature end to end with one human gate: you approve the spec, then the agent plans, builds tests-first…
git:20261116.b96b2bc · audit A · 23 stars
diagram SKILL.md skill
domengabrovsek/agent-config · skills/diagram/SKILL.md · Creates or updates a drawio diagram per rules/diagrams.md, writing the source file and previewing via MCP. Falls back…
git:20261107.86f52fa · audit A · 23 stars
document SKILL.md skill
domengabrovsek/agent-config · skills/document/SKILL.md · Keeps a repo's technical docs accurate and consistent with the repo's own conventions. Checks the current diff against…
git:20260930.8396b2e · audit A · 23 stars
drive-fleet SKILL.md skill
domengabrovsek/agent-config · skills/drive-fleet/SKILL.md · Drives a fleet of MRs/PRs to done with a manager loop plus the built-in /goal command, delegating all edit, review…
git:20260923.fdc8a6d · audit A · 23 stars
fix-issue SKILL.md skill
domengabrovsek/agent-config · skills/fix-issue/SKILL.md · Investigates and fixes a GitHub issue. Use when given an issue number or URL, or when the user says 'fix issue'.
git:20261116.18a1a15 · audit A · 23 stars
grill-with-docs SKILL.md skill
domengabrovsek/agent-config · skills/grill-with-docs/SKILL.md · Runs a grilling session that challenges a plan against the existing domain model, sharpens terminology, and updates the…
git:20261116.18a1a15 · audit A · 23 stars
handoff SKILL.md skill
domengabrovsek/agent-config · skills/handoff/SKILL.md · Compacts the current conversation into a handoff document another agent can pick up. Use when the user says 'handoff'…
git:20261116.da5c75e · audit A · 23 stars
jira SKILL.md skill
domengabrovsek/agent-config · skills/jira/SKILL.md · Read and write Jira work items through the acli CLI. Use when the user mentions a Jira ticket, issue, story, bug, or…
git:20260923.48da5d0 · audit A · 23 stars

Every file in domengabrovsek/agent-config

Other files named improve-codebase-architecture

improve-codebase-architecture SKILL.md skill
mattpocock/skills · skills/engineering/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.7739eae · audit A · 327,521 stars
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 · 47,174 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 · 47,338 stars
improve-codebase-architecture SKILL.md skill
yikart/aitoearn · project/aitoearn-backend/.agents/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:20260623.e3abc45 · audit A · 27,948 stars
improve-codebase-architecture SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/improve-codebase-architecture/SKILL.md · 扫描代码库中的深化机会,生成可视化 HTML 报告,然后围绕你选中的候选项继续追问。
git:20261110.ca6464f · audit A · 5,886 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 · 516 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 · 202 stars

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