---
name: detect-copy-pasted-code-hotspots-before-refactors-a-5e5e17a2308c
slug: "detect-copy-pasted-code-hotspots-before-refactors-audits-or-review"
description: "Use jscpd when an agent needs to scan a codebase for duplicated blocks and turn clone findings into a focused cleanup or review queue. The skill is about duplication detection and hotspot reporting, not general linting, testing, or automated refactoring by itself."
verification: "listed"
source: "https://www.npmjs.com/package/jscpd"
author: "Andrey Kucherenko"
publisher_type: "Individual Maintainer"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  npm_package: "jscpd"
  npm_weekly_downloads: 703581
---

# Detect copy-pasted code hotspots before refactors, audits, or review

Use jscpd when an agent needs to scan a codebase for duplicated blocks and turn clone findings into a focused cleanup or review queue. The skill is about duplication detection and hotspot reporting, not general linting, testing, or automated refactoring by itself.

## Prerequisites

Node.js and npm

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://www.npmjs.com/package/jscpd

## Documentation

- https://github.com/kucherenko/jscpd#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/detect-copy-pasted-code-hotspots-before-refactors-audits-or-review/)


---
Source attribution: agentskillexchange
Original project: https://github.com/agentskillexchange/skills/blob/7964af467fccaf7d68a4b705bb2e26081fbdd3e8/skills/detect-copy-pasted-code-hotspots-before-refactors-audits-or-review/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Agent Skill Exchange

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: agentskillexchange
Original project: https://github.com/agentskillexchange/skills/blob/7964af467fccaf7d68a4b705bb2e26081fbdd3e8/skills/detect-copy-pasted-code-hotspots-before-refactors-audits-or-review/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering
Roles: Backend Developer, Full-Stack Developer, QA / Test Engineer
Specialties: Cross Platform, Testing
Tools: Jscpd
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: b5ab605037c98b419251e9c3d3129d5a2a397862c621478ae9e359d84fa1c570
