# Setup Ts Deep Modules (agent skill)

> Setup Ts Deep Modules is an agent skill (a SKILL.md file) from mattpocock/skills. 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. It works with Claude Code and Codex and has 278,361 GitHub stars across a repository of 15 listed skills.

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. 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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mattpocock/skills |
| Skill path | skills/in-progress/setup-ts-deep-modules/SKILL.md |
| Skill name | setup-ts-deep-modules |
| GitHub stars | 278,361 |
| Installs on skills.sh | 306,178 |
| License | MIT |
| Skills in repo | 15 |
| Plugin marketplace | mattpocock |
| Official | no |
| Works with | Claude Code, Codex |
| Category | Coding |
| Last commit | Oct 6, 2026 |

## Add this skill

### Claude Code

```sh
/plugin marketplace add mattpocock/skills
/plugin install mattpocock-skills@mattpocock
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/mattpocock/skills.git
cp -r skills/skills/in-progress/setup-ts-deep-modules .agents/skills/setup-ts-deep-modules   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/mattpocock/skills.git
cp -r skills/skills/in-progress/setup-ts-deep-modules .cursor/skills/setup-ts-deep-modules   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/mattpocock/skills/setup-ts-deep-modules

---

Canonical page: https://appsgit.com/skills/mattpocock-setup-ts-deep-modules
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
