Detect Duplication banner
PoulpYBifle PoulpYBifle

Detect Duplication

Development community

Description

# /detect-duplication - Detect Code Duplication Analyzes codebase for duplicate code patterns and provides refactoring recommendations. ## Usage ``` /detect-duplication [path] [threshold] ``` ## Parameters - `path`: Path to analyze (optional, defaults to src/) - `threshold`: Similarity threshold percentage (optional, defaults to 80%) ## What this command does 1. **Analyze code patterns**: - Scan for duplicate code blocks - Identify similar functions - Find repeated patterns - De

Installation

Installs to ~/.claude/commands/poulpybifle-claude-code-framework-detect-duplication.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/PoulpYBifle/Claude-Code-Framework/HEAD/.claude/commands/detect-duplication.md -o ~/.claude/commands/poulpybifle-claude-code-framework-detect-duplication.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository