Skip to content
ai101.tools
navigateopenescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
Finding Duplicate Functions logo
Skill

Finding Duplicate Functions

Hunts functions that solve the same problem twice under different names.

0
SaveVisit website ↗

Install

Ships scripts
claude-code plugin install https://github.com/obra/superpowers-lab
Triggers on

Used before a large refactor or on a codebase that grew fast, once syntactic copy-paste duplicates are already handled.

Needs tools
BashRead
Author
Jesse Vincent (obra)
License
MIT

Copy-paste detectors match text, so they miss the kind of duplication that piles up in agent-written code: two functions with unrelated names and unrelated implementations that mean the same thing. The run starts with a script that extracts a catalogue of every function, sorts them into domains with a cheap model, then sends each domain to a stronger model that only has to compare a handful of candidates. The output is a report a human still has to sign off on before anything is consolidated.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar skills

Report this comment

Why are you reporting this?