updating-hooks-dry

Official

Read-only fleet-hook consolidation advisor.

AuthorSocketDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Read-only DRY/KISS sweep of the fleet hook tree (.claude/hooks/fleet/) and the oxlint plugin (.config/oxlint-plugin/fleet/). Fans out scanner agents to find copy-paste clusters that should absorb a _shared/ helper, dead _shared/ exports, overlapping guards / redundant lint rules, and KISS smells (a hook far longer than its siblings, regex where the shared AST parser exists). Produces a ranked report under .claude/reports/ with evidence + a concrete consolidation sketch per cluster. Plans only — applies nothing, opens no PR. Sibling of updating-coverage / updating-security under the updating umbrella; the periodic counterpart that keeps the ~170-hook tree from bloating as codifying-disciplines lands new enforcers.

Core Features & Use Cases

  • Read-only analysis of fleet hooks to surface duplication and anti-patterns.
  • Generates a ranked consolidation plan with evidence and a sketch for each cluster.
  • Produces a final report under .claude/reports/ with no changes applied.

Quick Start

Run the read-only sweep to generate a ranked report of consolidation opportunities for the fleet hook tree.

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: updating-hooks-dry
Download link: https://github.com/SocketDev/socket-mcp/archive/main.zip#updating-hooks-dry

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.