codebase-design SKILL.md skillA

codebase-design from marcellocurto/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add marcellocurto/skills/codebase-design@git:20261029.444423a

Pins git:20261029.444423a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
marcellocurto/skills
Path
skills/codebase-design/SKILL.md
Versions recorded
6
Latest version
git:20261029.444423a, committed Oct 29, 2026
First version recorded
Aug 20, 2026
Size
4,791 bytes
Repository stars
3
License
none declared

Design small, type-safe interfaces that hide complexity and give domain logic a clear home. Use when designing or reshaping a module, interface, or type, or deciding where new logic belongs.

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 Design

Put related rules and behavior in modules that callers can use without understanding their internals. Judge a design by what callers must know, how many places must change when a rule changes, and how easily its behavior can be tested.

## Terms

Use the project's existing names. These distinctions help explain a design; they are not a reason to rename code or domain concepts.

- **Module:** a function, class, package, or other unit with an interface and an implementation.
- **Interface:** everything a caller must know to use a module correctly, including types, required call order, errors, configuration, and performance constraints. This means more than a TypeScript `interface` declaration.
- **Implementation:** the code behind that interface.
- **Adapter:** an implementation that connects an interface to a particular dependency, such as a database or external service. The term describes its role, not its size.
- **Seam:** a place where behavior or a dependency can be substituted, including for a test. State whether it is internal to a module or exposed to application callers when that distinction matters.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add marcellocurto/skills/codebase-design@sha256:5649b46fec2484ce

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

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

Versions

The registry has recorded 6 versions of this file, between Aug 20, 2026 and Oct 29, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20261029.444423a latest2026-10-29 444423a 4,791 BA view · diff
git:20260908.e5008682026-09-08 e500868 4,692 BA view · diff
git:20260906.ccd7ead2026-09-06 ccd7ead 7,700 BA view · diff
git:20260820.df9ee342026-08-20 df9ee34 7,207 BA view · diff
git:20260820.5733bd72026-08-20 5733bd7 7,415 BA view · diff
git:20260820.69795a42026-08-20 69795a4 7,469 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 (4791 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

marcellocurto/skills · 3 stars · license none declared · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pcj2vhiyfut7zmac
GET https://markdownregistry.com/api/v1/resolve?ref=marcellocurto/skills/codebase-design
GET https://markdownregistry.com/api/v1/blob/5649b46fec2484ce36ce70c302294384cf01a30817c4688c8f242416c75305ba

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 marcellocurto/skills

AGENTS.md AGENTS.md file
marcellocurto/skills · AGENTS.md
git:20261029.444423a · audit A · 3 stars
audit-code-complexity SKILL.md skill
marcellocurto/skills · skills/audit-code-complexity/SKILL.md · Find needless code complexity and suggest simpler designs that preserve behavior. Use when the user asks to simplify…
git:20261029.444423a · audit A · 3 stars
babysit-pr SKILL.md skill
marcellocurto/skills · skills/babysit-pr/SKILL.md · Review a pull request with independent agents when it has no review yet, settle its open review comments from reviewers…
git:20261025.4bc4858 · audit A · 3 stars
blast-radius-audit SKILL.md skill
marcellocurto/skills · skills/blast-radius-audit/SKILL.md · Find downstream breakage a code change could cause beyond the files it directly touches. Use when the user asks what a…
git:20261029.444423a · audit A · 3 stars
code-review SKILL.md skill
marcellocurto/skills · skills/code-review/SKILL.md · Review a specific diff, pull request, or commit range for correctness, maintainability, and repository standards. Use…
git:20261029.444423a · audit A · 3 stars
create-pull-request SKILL.md skill
marcellocurto/skills · skills/create-pull-request/SKILL.md · Open a ready-for-review GitHub pull request for completed local changes, including any needed commit and push. Use when…
git:20261029.444423a · audit A · 3 stars
diagnosing-bugs SKILL.md skill
marcellocurto/skills · skills/diagnosing-bugs/SKILL.md · Reproduce, isolate, and fix difficult bugs or performance regressions. Use when a bug, failure, or slowdown has no…
git:20261029.444423a · audit A · 3 stars
domain-modeling SKILL.md skill
marcellocurto/skills · skills/domain-modeling/SKILL.md · Define and maintain the codebase's shared domain terms and architectural decisions. Use when a domain term is unclear…
git:20261029.444423a · audit A · 3 stars
explain-codebase SKILL.md skill
marcellocurto/skills · skills/explain-codebase/SKILL.md · Trace and explain how an existing code path or subsystem works. Use when the user asks how some code, feature, or flow…
git:20261029.444423a · audit A · 3 stars
frontend-design SKILL.md skill
marcellocurto/skills · skills/frontend-design/SKILL.md · Choose the visual direction, typography, layout, and interface copy for UI work. Use when building new UI or reshaping…
git:20261029.444423a · audit A · 3 stars
grill-with-docs SKILL.md skill
marcellocurto/skills · skills/grill-with-docs/SKILL.md · Stress-test a plan through questions while recording the resulting domain terms and lasting architectural decisions…
git:20261029.444423a · audit A · 3 stars
grilling SKILL.md skill
marcellocurto/skills · skills/grilling/SKILL.md · Stress-test an idea or decision through focused questions about consequential assumptions and tradeoffs. Use when the…
git:20261029.444423a · audit A · 3 stars

Every file in marcellocurto/skills

Other files named codebase-design

codebase-design SKILL.md skill
librechat-ai/librechat · .claude/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260812.ee8c0ab · audit A · 46,661 stars
codebase-design SKILL.md skill
danny-avila/librechat · .claude/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260812.ee8c0ab · audit A · 46,595 stars
codebase-design SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/codebase-design/SKILL.md · 用于设计深模块的共享词汇。适用于用户想设计或改进模块接口、寻找深化机会、决定 seam 放在哪里、让代码更容易测试或更适合 AI 导航,或其他技能需要深模块词汇时。
git:20261008.5be0dc1 · audit A · 5,433 stars
codebase-design SKILL.md skill
dcouple/pane · main/src/services/paneChatBundle/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260924.17234b5 · audit A · 601 stars
codebase-design SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260924.17234b5 · audit A · 600 stars
codebase-design SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260827.561ec6a · audit A · 558 stars
codebase-design SKILL.md skill
mxyhi/ok-skills · codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260831.e7f2564 · audit A · 509 stars
codebase-design SKILL.md skill
asymmetric-al/core · .agents/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260923.15c9348 · audit A · 373 stars

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