home/categories/architecture-patterns/jordangunn-skills-skills-refactor-structural-duplication-skill-md
architecture-patternsdevelopment

refactor-structural-duplication

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.

JordanGunn
maintainer
JordanGunn
更新于 1/13/2026
星标
6
分支
1
quick start

Installation and usage

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.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use refactor-structural-duplication