Back to list
knoopx

jscpd

by knoopx

pi.ai config

2🍴 0📅 Jan 21, 2026

SKILL.md


name: jscpd description: Detect and analyze duplicate code in JavaScript, TypeScript, and other languages. Use when identifying duplicate code blocks, analyzing code duplication metrics, improving maintainability, or supporting refactoring efforts.

JSCPD (JavaScript Copy/Paste Detector)

JSCPD is a tool for detecting duplicate code in various programming languages, primarily JavaScript and TypeScript, but supports many others.

Usage

Run JSCPD on files or directories to detect duplicates:

bunx jscpd <path> --ignore "**/node_modules/**"

Workflow

  1. Identify the codebase or files to analyze
  2. Run JSCPD with appropriate options
  3. Review the reported duplicates
  4. Refactor duplicate code to improve maintainability

Supported Languages

JSCPD supports detection in languages like JavaScript, TypeScript, Python, Java, C++, and more. It analyzes source code files and reports duplicate blocks based on token sequences.

  • typescript: Detect duplicate code in TypeScript projects to improve maintainability.
  • python: Identify duplicate code patterns in Python codebases.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon