duplicates
Identify existing duplicate implementations before adding a helper, and consolidate repeated logic. Get groups of exact, renamed, and structural duplicates, each with a canonical pick and remapping targets.
Instructions
Call before adding a helper, to check one already exists, or when consolidating repeated logic. Returns groups of duplicate implementations - exact, renamed (identifier-insensitive), and structural - each with a canonical pick to keep, the copies to remap onto it, and a confidence score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||