design-deep-modules SKILL.md skillA
design-deep-modules from theonly1me/shadowclone is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add theonly1me/shadowclone/design-deep-modules@git:20261009.95ca1efPins git:20261009.95ca1ef in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- theonly1me/shadowclone
- Path
.agents/skills/design-deep-modules/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261009.95ca1ef, committed Oct 9, 2026
- Size
- 3,025 bytes
- Repository stars
- 21
- License
- MIT
Use when designing or reshaping a module, or when callers coordinate too many steps. Also use it when the user says "this is hard to test", "callers know too much", or "simplify this interface". Puts related state and decisions behind a small interface that states what the caller wants. Tests then use that interface instead of the internal steps. Not for typing values at a boundary (use `typescript-type-safety`).
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
# Design Deep Modules ## Use when Callers repeat the same sequence of calls, a layer only forwards arguments, or tests must reach through layers to see behavior. A deep module gives callers a lot of behavior through a small interface. ## Gates 1. Can each caller state its intent in one call, without knowing the internal order of steps? 2. Does one owner hold each piece of related state and each decision about it? 3. Does each new layer serve a real variation or isolation need, not only forwarding? 4. Do the tests use the public interface, and replace dependencies only at outside boundaries? 5. Are the invariants and the error behavior part of the interface contract? ## Process 1. Read the callers. List the state, the order of steps, and the rules that they coordinate. 2. Put that state and those decisions under one owner. Name an operation for what the caller wants. 3. If the boundary is not clear, compare two placements by caller effort, error handling, and test effort. 4. Move the internal order of steps behind the interface. 5. Remove each layer that only forwards calls. 6. Write tests against the new interface, then remove the knowledge that callers no longer need. …
Read the whole file at its exact version.
How to install
mdr add theonly1me/shadowclone/design-deep-modules@sha256:62c3e80be5092580The line at the top of this page pins the label git:20261009.95ca1ef, 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_2ha6v6orls25wbar)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 9, 2026.
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 (3025 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
theonly1me/shadowclone · 21 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2ha6v6orls25wbar GET https://markdownregistry.com/api/v1/resolve?ref=theonly1me/shadowclone/design-deep-modules GET https://markdownregistry.com/api/v1/blob/62c3e80be509258024d7e93928305dec7ae7dbe4366e5c1ed88d17e56f20bdbe
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 theonly1me/shadowclone
Every file in theonly1me/shadowclone