fleet-guarding-paths

Official

Enforce 1 path, 1 reference in Socket repos.

AuthorSocketDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Audits and fixes path duplication in a Socket repo. Applies the strict "1 path, 1 reference" rule: every build/test/runtime/config path is constructed exactly once; everywhere else references the constructed value.

Core Features & Use Cases

  • Enforces a single canonical path construction across packages to prevent drift and inconsistent references during builds, tests, and runtime configurations.
  • Provides three operational modes: default audit-and-fix, check (read-only) for violations, and install to drop in the gate, hook, and rule into a fresh repository.
  • Supports use when path drift surfaces from pnpm check, when bootstrapping a new Socket repo, or when aligning a sibling package with standardized path conventions.

Quick Start

Run the guarding-paths command in your repository to perform a full audit and apply fixes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-guarding-paths
Download link: https://github.com/SocketDev/socket-mcp/archive/main.zip#fleet-guarding-paths

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.