dry

Scan Rust workspace source files to detect and rank DRY violations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/api-haus/my-claude-workflow --skill dry-api-haus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dry
Source: https://github.com/api-haus/my-claude-workflow/tree/main/skills/dry
Command: npx skills add https://github.com/api-haus/my-claude-workflow --skill dry-api-haus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Repetition across Rust crates leads to maintenance burden and inconsistent behavior. This skill scans workspace to detect DRY violations, surfaces top offenders, and guides targeted refactors to reduce duplication.

Core Features & Use Cases

  • Detects repeated patterns across crates and modules
  • Ranks top offenders by impact and frequency
  • Suggests minimal, concrete refactors to eliminate duplication

Quick Start

Run a dry scan on your workspace to surface the top 5 offenders and produce a prioritized fix plan.

Frequently Asked Questions about dry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find duplicated code patterns across multiple Rust crates in a workspace?

To find DRY violations across Rust crates, you scan workspace source files to detect repeated patterns and surface top offenders ranked by impact. This identifies duplication across modules and guides targeted refactors to reduce maintenance burden.

What is the best way to prioritize refactoring duplicated code in a Rust workspace?

The best way to prioritize refactoring duplicated code is to rank DRY violations by severity, blast radius, and instance counts. This scoring surfaces top offenders, enabling you to produce a prioritized fix plan for high-impact remediation.

Can I fix DRY violations in batch across a multi-crate Rust workspace?

Yes, you can fix DRY violations in batch across a multi-crate Rust workspace. The analysis supports both batch and individual fixes, applying minimal, concrete refactors to eliminate duplication across multiple crates and modules.

Does Rust static analysis for DRY violations work on multi-crate workspace scenarios?

Yes, static analysis for DRY violations applies to multi-crate workspace scenarios in Rust. It scans source files deterministically to identify repeated patterns across crates and modules, ranking offenders by impact for guided remediation.

How do I get a prioritized fix plan for refactoring Rust code duplication?

To get a prioritized fix plan for Rust code duplication, run a workspace scan to surface the top five offenders. The plan ranks violations by severity, blast radius, and instance counts to guide targeted refactors and eliminate duplication.