Skip to main content
Back to registry

finding-duplicate-functions

obra/superpowers-lab

LLM-generated codebases accumulate semantic duplicates: functions that serve the same purpose but were implemented independently. Classical copy-paste detectors (jscpd) find syntactic duplicates but miss "same intent, different implementation."

Installs172
Install command
npx skills add https://github.com/obra/superpowers-lab --skill finding-duplicate-functions
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
LLM-generated codebases accumulate semantic duplicates: functions that serve the same purpose but were implemented independently. Classical copy-paste detectors (jscpd) find syntactic duplicates but miss "same intent, different implementation." This skill uses a two-phase approach: classical extraction followed by LLM-powered intent clustering. Options: Test files ( *.test.* , *.spec.* , __tests__/** ) are excluded by default since test utilities are less likely to be consolidation candidates. Dispatch a haiku subagent using the prompt in scripts/categorize-prompt.md . Insert the contents of catalog.json where indicated in the prompt template. Save output as categorized.json . Creates one JSON file per category. Only categories with 3+ functions are worth analyzing.

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does finding-duplicate-functions do?

LLM-generated codebases accumulate semantic duplicates: functions that serve the same purpose but were implemented independently. Classical copy-paste detectors (jscpd) find syntactic duplicates but miss "same intent, different implementation."

Is finding-duplicate-functions good?

finding-duplicate-functions does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does finding-duplicate-functions work with?

finding-duplicate-functions currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to finding-duplicate-functions?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install finding-duplicate-functions?

npx skills add https://github.com/obra/superpowers-lab --skill finding-duplicate-functions

Related skills

Alternatives in Software Engineering