finding-duplicate-functions

Use when auditing a codebase for semantic duplication - functions that do the same thing but have different names or implementations. Especially useful for LLM-generated codebases where new functions are often created rather than reusing existing ones.

Content Preview
---
name: finding-duplicate-functions
description: Use when auditing a codebase for semantic duplication - functions that do the same thing but have different names or implementations. Especially useful for LLM-generated codebases where new functions are often created rather than reusing existing ones.
---

# Finding Duplicate-Intent Functions

## Overview

LLM-generated codebases accumulate semantic duplicates: functions that serve the same purpose but were implemented independently. Classical 
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/finding-duplicate-functions.md \
  https://raw.githubusercontent.com/obra/superpowers-lab/main/skills/finding-duplicate-functions/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/obra/superpowers-lab

Then reference at skills/finding-duplicate-functions/SKILL.md

Related Skills