Code Deduplication
Maintains a capability index and check-before-write rules to prevent semantic duplication in code.
- CCM score
- 50 of 100
- skills.sh installs
- 618
- GitHub stars
- 712
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers a
CODE_INDEX.mdcapability catalog organized by category: date/time, validation, strings, API clients, errors, and React hooks and components - Includes per-file header and function summary conventions for TypeScript, JavaScript, and Python modules
- Enforces a four-step check: describe the need, search the index, extend existing code, then create new code only if nothing fits
- Designed for AI-assisted development sessions on codebases where utility functions risk being reimplemented under different names
Install
$ npx -y skills add alinaqi/maggy --skill code-deduplication -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Deduplication Skill
Purpose: Prevent semantic duplication and code bloat. Maintain a capability index so Claude always knows what exists before writing something new.
Core Philosophy
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Code Review & Quality, Agent Workflow & Planning
- First seen
- Jun 3, 2026
Questions
What is code-deduplication?
code-deduplication is an agent skill listed on Claude Marketplaces in the Code Review & Quality category. Its page on Claude Marketplaces links to the code-deduplication source on GitHub.
How do I install code-deduplication?
Run npx -y skills add alinaqi/maggy --skill code-deduplication -y in a project to install code-deduplication. After that, the agent can use code-deduplication in that project.
Which category is code-deduplication in?
code-deduplication is in the Code Review & Quality category on Claude Marketplaces. Other listings in that category next to code-deduplication include improve-codebase-architecture, codebase-design and code-review.
Where is the source code of code-deduplication?
The source code of code-deduplication is on GitHub at https://github.com/alinaqi/maggy. The alinaqi account on GitHub publishes code-deduplication.
More from alinaqi/maggy
All 54- Supabase608
- User Journeys597
- React Native536
- Klaviyo527
- Aws Dynamodb494
- Nodejs Backend447
- Aeo Optimization446
- Security439
- Agentic Development372
- Woocommerce360
- Ui Web359
- Ui Testing332
- React Web312
- Site Architecture307
- Commit Hygiene306
- Web Content298
- Codex Review296
- Team Coordination286
- Typescript286
- Reddit Api282
- Cloudflare D1277
- Ms Teams Apps276
- Database Schema275
- Session Management273
Similar to Code Deduplication
More Code Review & Qualityreview-duplicationgoogle-gemini/gemini-cli363 installsStructured code-review workflow that hunts for duplicated logic and missed reuse of existing project utilities.
code-simplifierpproenca/dot-skills1.6K installsConcise guide that simplifies recently modified code while preserving exact behavior across 47 rules.
clean-codedavila7/claude-code-templates1.1K installsPragmatic coding standards that enforce small functions, direct fixes, and minimal comments for AI-assisted coding.
finding-duplicate-functionsobra/superpowers-lab662 installsAudits codebases for same-intent functions with different names or implementations, using a five-phase LLM-assisted pipeline.
self-documenting-codetheswerd/aicode152 installsSelf-documenting code guide that splits logic into semantic and pragmatic functions and models with compile-time-safe shapes.