Lightlines
By obra

finding-duplicate-functions

obra618 installs

Find functions that do the same job in your code.

What it does

Identifies functions with the same purpose and produces a prioritized report of consolidation opportunities.

When to use it

Use when auditing for functions that duplicate behavior despite different names or implementations, especially in LLM-generated codebases.

How to use it

Give it a codebase to audit; it writes a prioritized Markdown report of duplicate functions for human review.

What you provide

  • An existing project

Good to know

  • starts 1 helper agents
  • starts one helper agent per item, so the count depends on the work
  • works out of sight

Latest review

What you need · 2

Requires ripgrep to extract function definitions and implementation context from the codebase.

Requires jq to process the extracted catalog, split categories, and generate the report.


Access · 0

No additional actions listed.