finding-duplicate-functions - Finding duplicate-intent functions in codebases
Audits codebases for semantic duplicates that perform the same function but have different names or implementations.
Tags
Updated: 2026-09-17Capabilities
Typical Outputs
What this skill does
- Extract function catalog
- Categorize functions by domain
- Split catalog into category files
- Detect semantic duplicate functions
- Generate duplication analysis report
Inputs
- Source code directory
- Prompt template files
- Function catalog file
- Categorized JSON files
Outputs
- catalog.json file
- categorized.json file
- Category JSON files
- Duplicate JSON files
- duplicates-report.md file
Requirements
- ripgrep command-line tool
- jq command-line tool
- Bash environment
- LLM model support
