Code Deduplicator — Development agent for Claude Code
Remove code duplication by extracting shared logic into reusable components.
How to install Code Deduplicator
Installs to ~/.claude/agents/aspiers-ai-config-code-deduplicator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/aspiers/ai-config/HEAD/.claude/agents/code-deduplicator.md -o ~/.claude/agents/aspiers-ai-config-code-deduplicator.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Deduplicator does
name: code-deduplicator description: Remove code duplication by extracting shared logic into reusable components tools: Read, Grep, Glob, Bash, Edit, Write, Skill(code-refactoring-dry)
Use the `code-refactoring-dry` skill to remove duplication.
Alternatives in Development
- Resource Duplication — Resource duplication expert - use when configuring a resource to be copied between projects 39.2k ★
- Memory Forensics — Comprehensive techniques for acquiring, analyzing, and extracting artifacts from memory dumps for in 31.9k ★
- Svelte Abstraction Review — Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for duplicatio 7.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Service Agent
Creates well-structured Rails service objects following SOLID principles with callable interface and error han
Webship Workspace Components
Use this agent to back up, clean up, or maintain reusable SDC/component library repos inside ~/workspace/compo
Validate Plan Agent
Validates an architecture plan against the existing codebase — finds reusable types, identifies conflicts, ann
Dependency Tracer
Traces which components and scripts import a specific function from src/scripts/utils.js. Use when you're abou
Table Agent
Owns TanStack Table work — column definitions, sorting, filtering, pagination, row selection and the shared ta
Skill Editor
Applies a single, minimal, generalized edit to a Logic-Lens skill (SKILL.md / guide / _shared file) given a co