setup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module, with implementation hidden in subfolders and reachable only through its entry-point files. User-invoked.
Install as a plugin
Install the mattpocock-skills plugin
Copy: Install the mattpocock-skills plugin/plugin install mattpocock-skills@claude-plugins-officialThe official marketplace is already added in Claude Code. The command opens the plugin's page in /plugin, where you pick a scope and confirm.
From your shell instead
Copy: Add the marketplaceclaude plugin marketplace add anthropics/claude-plugins-officialOnly on a machine that never ran an interactive Claude Code session: the first session adds the official marketplace by itself.
Copy: Install itclaude plugin install mattpocock-skills@claude-plugins-official
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /mattpocock-skills:setup-ts-deep-modules.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
Make every package in this repo a deep module: a lot of behaviour behind a small interface. A package's public surface is its entry points (the files at the package root), and everything in its subfolders is hidden. This skill installs dependency-cruiser and the rules that make…