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.
スキルの内容
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.
できること
- 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
概要
- 公開元
- Matt Pocock
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- agents/openai.yaml
- dependency-cruiser.config.cjs
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/mattpocock/skills2026年11月10日
- GitHubリポジトリgithub.com/mattpocock/skills · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月11日
- GitHub APIのレコードgithub.com/mattpocock/skills · 根拠となる項目:スクリプトを含む2026年11月15日
- リポジトリ内のフォルダ(setup-ts-deep-modules)github.com/mattpocock/skills · 根拠となる項目:スクリプトを含む2026年11月10日