refactor-structural-duplication

Community

Unify pipeline spines across domains

AuthorJordanGunn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identify structurally duplicate logic (pipeline-spine duplication) across semantically distinct modules. Use when multiple implementations share the same orchestration skeleton (e.g., bounds→shape→chunking→reduction→wrap), and unification may require subtle abstraction. Produces a duplication map and a safe extraction/refactor plan.

Core Features & Use Cases

  • Detect structural duplication across modules that share an orchestration skeleton but maintain distinct domain boundaries.
  • Produce a duplication map and a staged refactor plan to extract shared infrastructure without changing domain semantics.
  • Propose minimal abstraction seams to unify pipelines while preserving domain boundaries.

Quick Start

Follow the Procedure in references/03_PROCEDURE.md to perform a duplication audit and generate a staged refactor plan.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: refactor-structural-duplication
Download link: https://github.com/JordanGunn/skills/archive/main.zip#refactor-structural-duplication

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 223,000+ vetted skills library on demand.