codebase-architecture SKILL.md skillA
codebase-architecture from mblode/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mblode/agent-skills/codebase-architecture@git:20261022.dc3f816Pins git:20261022.dc3f816 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mblode/agent-skills
- Path
skills/codebase-architecture/SKILL.md- Versions recorded
- 12
- Latest version
- git:20261022.dc3f816, committed Oct 22, 2026
- First version recorded
- Aug 5, 2026
- Size
- 21,653 bytes
- Repository stars
- 180
- License
- MIT
Designs module interfaces, deepens shallow modules, and installs enforceable repository guardrails and agent wayfinding. Use when asked to "design the architecture", "simplify our modules", "find shallow modules", "harden the repo", "gate an unattended agent fix job", or "triage alerts with an agent".
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 Architecture Decide a TypeScript codebase's structure, improve it where change has become expensive, and make it hold. The target is a codebase a reader can hold in their head: few surfaces, one canonical way to do each job, and behaviour where you would first look for it. - **IS:** folder structures, module interfaces, request context and middleware pipelines, frontend/backend boundaries; architecture briefs; domain language and decision records; domain-informed deepening; guardrail tooling, CI gates, and agent wayfinding. - **IS NOT:** scaffolding a new repo (`scaffold-nextjs` for a Next.js turborepo, `scaffold-cli` for a TypeScript CLI), multi-tenant domain/isolation/routing (`multi-tenant-architecture`), the content of AGENTS.md itself (`agents-md`), a plan for one feature (`planning`), a diff-scoped cleanup pass (`tidy`), structural review of a local diff (`tidy`), or a product's own verify CLI, doctor command, and feature map (`app-verification`, call it by name). ## Contents - Modes - References - Design mode (new codebase) - Deepen mode (existing codebase) - Harden mode (make it stick) - Validation loop - Output template - Gotchas - Related skills ## Modes …
Read the whole file at its exact version.
How to install
mdr add mblode/agent-skills/codebase-architecture@sha256:c8547e5e6465d7acThe line at the top of this page pins the label git:20261022.dc3f816, 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.
[](https://markdownregistry.com/a/art_awwra346xzdd4f45)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 12 versions of this file, between Aug 5, 2026 and Oct 22, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261022.dc3f816 latest | 2026-10-22 | dc3f816 | 21,653 B | A | view · diff |
| git:20261022.8d78f92 | 2026-10-22 | 8d78f92 | 21,665 B | A | view · diff |
| git:20261008.f75aaa4 | 2026-10-08 | f75aaa4 | 20,843 B | A | view · diff |
| git:20261008.50e47b3 | 2026-10-08 | 50e47b3 | 20,812 B | A | view · diff |
| git:20261003.54abc35 | 2026-10-03 | 54abc35 | 20,753 B | A | view · diff |
| git:20260927.92ed8e0 | 2026-09-27 | 92ed8e0 | 23,351 B | A | view · diff |
| git:20260921.b690e67 | 2026-09-21 | b690e67 | 22,433 B | A | view · diff |
| git:20260904.359fa94 | 2026-09-04 | 359fa94 | 22,480 B | A | view · diff |
| git:20260901.a877ac0 | 2026-09-01 | a877ac0 | 23,063 B | A | view · diff |
| git:20260830.c5765e5 | 2026-08-30 | c5765e5 | 21,042 B | A | view · diff |
| git:20260805.b18d587 | 2026-08-05 | b18d587 | 20,590 B | A | view · diff |
| git:20260805.85390ba | 2026-08-05 | 85390ba | 19,198 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (21653 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
mblode/agent-skills · 180 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_awwra346xzdd4f45 GET https://markdownregistry.com/api/v1/resolve?ref=mblode/agent-skills/codebase-architecture GET https://markdownregistry.com/api/v1/blob/c8547e5e6465d7ac17e52fc2985021961307f9d2f81178a9a3c8118b6a73e2dc
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 mblode/agent-skills
Every file in mblode/agent-skills