trw-dry-check
CommunitySpot duplicate code and suggest clean extractions.
Authorwallter
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Projects often accumulate duplicated code blocks, creating maintenance headaches and drift. This Skill scans code across files to surface DRY violations and proposes targeted extractions to improve long-term readability and reuse.
Core Features & Use Cases
- Cross-file duplicate detection: identifies exact and near-duplicate code blocks across a codebase.
- Refactoring guidance: suggests ownership for shared code and a candidate function signature for the extracted helper.
- Reporting & metrics: summarizes total blocks found, affected files, and recommended extractions to guide code reviews.
- Use Case: when consolidating common utilities into a shared module, use this Skill to surface candidates for extraction and a plan to implement them.
Quick Start
Run /trw-dry-check [file-patterns...] to scan the repository for duplicated code patterns and generate a refactoring plan.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: trw-dry-check Download link: https://github.com/wallter/trw-mcp/archive/main.zip#trw-dry-check Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.