LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-17
code-auditduplicate-detectionrefactoringsemantic-analysiscode-quality

Capabilities

Extract function catalogCategorize functions by domainSplit catalog into category filesDetect semantic duplicate functions

Typical Inputs

Source code directoryPrompt template filesFunction catalog file

Typical Outputs

catalog.json filecategorized.json fileCategory JSON files

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.