fleet-optimizing-submodules

Official

Trim vendored submodules to only what's used.

AuthorSocketDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Vendored submodules often pull in large upstream trees, bloating clones and complicating maintenance. This skill determines and applies the minimal sparse-checkout for each submodule, ensuring that only the actually consumed subtrees are checked out. The determination is AI-assisted, and the apply + verify + enforcement steps are scripted to maintain the intended state.

Core Features & Use Cases

  • AI-assisted analysis identifies which parts of each submodule are actually used by the repository.
  • Scripted apply, verify, and enforcement steps prune the working tree to the minimal required content.
  • Reduces clone size, speeds up checkouts, and simplifies downstream CI when integrating submodules across teams.

Quick Start

Propose sparse patterns for each submodule and implement them with scripted apply, verify, and enforcement.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fleet-optimizing-submodules
Download link: https://github.com/SocketDev/socket-mcp/archive/main.zip#fleet-optimizing-submodules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.