スキル一覧に戻る
knoopx

jscpd

by knoopx

pi.ai config

2🍴 0📅 2026年1月21日
GitHubで見るManusで実行

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.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です