
Description
setup-ts-deep-modules is an agent skill from the vinvcn/mattpocock-skills-zh-cn repository, listed on skills.sh. It adds dependency-cruiser to a TypeScript repository so that every package becomes a deep module, with a small interface that hides a lot of behavior. A package's public surface is its entry-point files at the package root, and everything in subfolders is private. By convention, implementation lives in a lib folder and tests in a tests folder, so every package has the same two-folder shape, and the rule covers any subfolder without needing new configuration when a folder is added. The skill installs dependency-cruiser, adds rules that force outside code to reach a package only through its entry points, and proves that those rules block violations. The skill uses the vocabulary of deep modules, interfaces, seams and depth from a separate codebase-design skill. It is user-invoked. It is written in Chinese and is part of a Chinese translation of Matt Pocock's skills collection. The listing shows the skill as free, and its audits all show Pass results.…
Highlights
- Deep modules with entry-point public surfaces
- dependency-cruiser rules that block violations
- Same two-folder shape for every package
- Proves the rules actually fire
Ratings & Reviews
No ratings yet
Be the first to rate setup-ts-deep-modules.
People also visit
setup-ts-deep-modules FAQ
What does setup-ts-deep-modules do?
It sets up dependency-cruiser in a TypeScript repo so each package exposes only its entry points.
How do I install it?
Run: npx skills add https://github.com/vinvcn/mattpocock-skills-zh-cn --skill setup-ts-deep-modules
What is a public surface here?
The entry-point files at a package's root. Everything in subfolders is private.
Where does the code live?
By convention, implementation in a lib folder and tests in a tests folder.
Does it check that the rules work?
Yes. The skill says it proves the rules actually block violations.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best setup-ts-deep-modules alternatives?
Popular alternatives to setup-ts-deep-modules include setup-ts-deep-modules, typescript-expert and deep-agents-core. See all setup-ts-deep-modules alternatives















