Find opportunities for deeper modules and explore the user’s selected candidate. Use when explicitly invoked for architecture exploration.
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 is testability and AI-navigability.
This command is _informed_ by the project's domain model and built on a shared design vocabulary:
- Read [codebase-design](../codebase-design/SKILL.md) for deep-module concepts and principles. Preserve the project’s domain vocabulary and explain architecture in the terms that make the candidate clearest.
- The project’s glossary (`GLOSSARY.md`, `CONTEXT.md`, or its documented equivalent) gives names to useful seams. Existing ADRs record decisions this workflow should not re-litigate.
For exploration, present candidates and let the user select a direction. If the user already selected a candidate or requested implementation, proceed within that scope; the exploration workflow does not add another approval round. Keep an audit read-only unless changes were requested.
## Process
### 1. Explore
…
The line at the top of this page pins the label git:20261011.ef64499, 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.
GET https://markdownregistry.com/api/v1/artifacts/art_wknpbfrjecroz2r5
GET https://markdownregistry.com/api/v1/resolve?ref=transitive-bullshit/skills/improve-codebase-architecture
GET https://markdownregistry.com/api/v1/blob/f1a7fd6b9cacc6390bbbb6200a14580fdb4119c3162ceec46bb7ddddf9fb1287
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.
transitive-bullshit/skills · provenance/history/2026-10-11-removed/resolving-merge-conflicts/SKILL.md · Use when you need to resolve an in-progress git merge/rebase conflict.
transitive-bullshit/skills · provenance/upstream/auto-research/skill/SKILL.md · Run fast, progressive experiments to map tunable parameters and their effects. Use when optimizing code, prompts…
transitive-bullshit/skills · provenance/upstream/better-colors/SKILL.md · Helps you build and check a color system for your project. It generates palettes, names semantic tokens, converts…
transitive-bullshit/skills · provenance/upstream/better-layout/SKILL.md · Helps with grouping, alignment, reading order, responsive structure and room for translated text, so a layout holds up…
transitive-bullshit/skills · provenance/upstream/better-typography/SKILL.md · Sets and reviews how text renders in your product, from the type scale and spacing to font features, wrapping…
transitive-bullshit/skills · provenance/upstream/better-ui/SKILL.md · Polishes the surfaces, icons and motion in your project with exact values for border radius, optical alignment…
transitive-bullshit/skills · provenance/upstream/better-writing/SKILL.md · Writes and reviews your interface copy, from labels and errors to empty states and confirmations, so it matches your…
transitive-bullshit/skills · provenance/upstream/claude/skill/SKILL.md · Use Claude Code as an independent `claude -p` subagent when the user explicitly asks for Claude, wants a second-agent…
transitive-bullshit/skills · provenance/upstream/codebase-design/skill/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
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…
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…
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…
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…
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…
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…
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…