setup-ts-deep-modules
A user-started skill from Matt Pocock's collection that sets up dependency-cruiser in a TypeScript repository so each package can only be used through the files at its root, with its implementation in subfolders kept private.
What the skill teaches
A user-started skill from Matt Pocock's collection that sets up dependency-cruiser in a TypeScript repository so each package can only be used through the files at its root, with its implementation in subfolders kept private. The agent detects the package manager and packages folder, installs dependency-cruiser, copies the bundled config with four rules (outside code imports only entry points, tests go through entry points, no cycles, and free imports inside a package), adds a boundary check to the existing lint run, scaffolds an example package, and proves the rules by adding a forbidden import and watching the check fail. It ends by documenting the layout and pointing AGENTS.md or CLAUDE.md to it.
Capabilities
- Install and configure dependency-cruiser for package boundaries
- Add a boundary check to the repository's lint run
- Scaffold an example package with a private implementation
- Prove the rules fail on a forbidden import
About
- Publisher
- Matt Pocock
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- agents/openai.yaml
- dependency-cruiser.config.cjs
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Not stated in its documentation | |
| Publisher | Matt Pocock | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 9, 2026321,493 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/mattpocock/skillsNov 10, 2026
- GitHub repositorygithub.com/mattpocock/skills · Backs: Licence, Publisher, ActivityNov 11, 2026
- GitHub API recordgithub.com/mattpocock/skills · Backs: Includes scriptsNov 15, 2026
- Folder in the repository (setup-ts-deep-modules)github.com/mattpocock/skills · Backs: Includes scriptsNov 10, 2026