dry-check

Detect DRY violations by comparing code against multi-mono shared libraries.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/metasaver/claude-marketplace --skill dry-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dry-check
Source: https://github.com/metasaver/claude-marketplace/tree/main/plugins/metasaver-core/skills/cross-cutting/dry-check
Command: npx skills add https://github.com/metasaver/claude-marketplace --skill dry-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill scans code against multi-mono shared libraries to detect duplicate functions, types, or components, reducing duplication and maintenance overhead.

Core Features & Use Cases

  • ** Cross-library scanning**: Compare new/modified code against core utilities and service utils.
  • Violation reporting: Returns structured reports with suggested imports to de-duplicate.
  • Integrator-friendly: Works within Standards Audit and PR review workflows.

Quick Start

Run dry-check during audit to surface potential DRY violations before merging.

Frequently Asked Questions about dry-check

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

FAQPage Schema
How do I detect duplicate code across monorepo packages?

Detect duplicate functions, types, and components across shared libraries by scanning new or modified code against multi-mono packages. dry-check compares your code against core utilities and service utils to identify redundant implementations, then reports violations with suggested imports to consolidate duplicates.

What's the best way to enforce DRY principles during code review?

Run dry-check during pull request reviews to surface DRY violations before merging. The Skill integrates with PR workflows, extracts function and type signatures, performs cross-library similarity analysis, and generates structured reports identifying where shared utilities should replace duplicated code.

Can I use DRY checking in a monorepo audit workflow?

Yes. dry-check works within Standards Audit workflows to validate usage of shared utilities and components across packages. It scans your codebase during audits, detects violations in new or modified code, and returns actionable reports before code reaches production.

How does dry-check suggest fixes for duplicate code?

The Skill generates violation reports with suggested imports pointing to the shared library functions, types, or components you should use instead of duplicates. This makes refactoring straightforward by showing exactly which imports to add to de-duplicate your code.

What types of duplication does dry-check find?

dry-check detects duplicate functions, types, and components by comparing code signatures across shared libraries. It identifies redundant implementations in new or modified code and surfaces them in structured violation reports with import suggestions for consolidation.