dedup-guard
CommunityPrevent duplicate code and symbols.
Software Engineering#code quality#deduplication#AST analysis#code governance#preventive maintenance#symbol management
AuthorSiamese001
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents the proliferation of duplicate code, agents, mixins, and constants, ensuring code quality and maintainability by enforcing a strict deduplication protocol before new code is introduced.
Core Features & Use Cases
- AST-backed Search: Utilizes Abstract Syntax Tree analysis to find semantically equivalent code.
- Multi-faceted Deduplication: Checks for duplicates by AST, name patterns, and behavioral analysis.
- Justification Requirement: Mandates documented justification for creating new symbols when no duplicates are found.
- Use Case: Before adding a new utility function for file path manipulation, run the dedup-guard to ensure a similar function doesn't already exist, preventing code redundancy.
Quick Start
Run the dedup-guard skill to check for duplicate symbols before creating a new agent class.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: dedup-guard Download link: https://github.com/Siamese001/Agentic-Workflow/archive/main.zip#dedup-guard 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 223,000+ vetted skills library on demand.