AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Codebase Design

skill-abysscn-oh-my-dag-codebase-design · by AbyssCN

Shared vocabulary for designing deep modules — module / interface / depth / seam / adapter / leverage / locality, the deletion test, deep-vs-shallow. Use when designing or improving a module's interface, deciding where a seam goes, making code testable or AI-navigable, or when another skill (dag-deepen / dag-slim) needs the design vocabulary. Trigger: design this module / where should the seam go…

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-abysscn-oh-my-dag-codebase-design

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-abysscn-oh-my-dag-codebase-design)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
16d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Codebase Design? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

codebase-design — deep-module vocabulary

Design deep modules: a lot of behaviour behind a small interface, placed at a clean seam, testable through that interface. Use this exact language wherever code is being designed or restructured — consistent vocabulary is the whole point. The machine-readable twin of this glossary lives in src/harness/review/design-vocab.ts (injected into dag-deepen / dag-slim prompts); keep the two in sync.

Glossary

Use these terms exactly — never substitute "component," "service," "API," or "boundary."

  • Module — anything with an interface and an implementation; deliberately

scale-agnostic (a function, class, package, or tier-spanning slice).

  • Interface — everything a caller must know to use the module correctly: type

signature plus invariants, ordering constraints, error modes, required configuration, performance characteristics.

  • Implementation — the code body inside a module.
  • Depth — leverage at the interface: behaviour exercised per unit of interface

learned. Deep = small interface hiding lots of behaviour. Shallow = interface nearly as complex as the implementation (avoid).

  • Seam (Feathers) — a place where you can alter behaviour without editing in that

place; where an interface lives. Placement is its own design decision.

  • Adapter — a concrete thing satisfying an interface at a seam; names the role.

One adapter = hypothetical seam; two = real.

  • Leverage — what callers get from depth: one implementation pays back across N call

sites and M tests.

  • Locality — what maintainers get from depth: change, bugs, knowledge and

verification concentrate in one place. Fix once, fixed everywhere.

Judgments

  • Deletion test — imagine deleting the module and inlining its logic into callers:

complexity explodes → it truly absorbs complexity (deep); barely changes → shallow, or outright noise to delete. (The same test prunes prose and skills, not just code.)

  • The interface is the test surface — if you can't test through the interface, the

design is wrong, not the test.

  • Wide over deep applies to DAGs, deep over shallow applies to modules — don't

confuse the two axes.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.