ClaudeSuperPower

sonar-duplication

Skill

Find files with code duplications in a SonarQube project and inspect duplication blocks for a file (project key optional when MCP integration already defines the default project)

Install

git clone https://github.com/SonarSource/sonarqube-agent-plugins.git ~/.claude/skills/sonar-duplication

What is sonar-duplication?

Find files with code duplications in a SonarQube project and inspect duplication blocks for a file (project key optional when MCP integration already defines the default project)

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Run shell commands

Declares Bash

~45 tokens of context used while enabled, before you invoke anything

All declared tools (3)
BashGrepRead

Documentation

README · ~6 min read

SonarQube — Duplication

List files that contain duplicated code in a SonarQube project, then drill into duplication blocks for a specific file when needed.

Usage

sonar-duplication                              # all duplicated files in the current project (auto-paginated)
sonar-duplication my-project                   # duplicated files in a specific project
sonar-duplication my-project --pr 42           # same, on a pull request
sonar-duplication my-project --page-size 100 --page 2   # single page of results (manual pagination)
sonar-duplication my-project --file src/auth/login.py   # duplication detail for one file

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.