sonarqubeprgate

Integrates SonarQube quality gates into pull request workflows via the SonarQube Web API /api/qualitygates/project_status; blocks merges when smell, duplication, or coverage thresholds fail and posts inline annotations using the GitHub Checks API.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sonarqubeprgate" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3da46b6c6e525a822e3a92373a0a4133dc9a021a421ac43c180665866510f162. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/sonarqube-pr-gate-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Integrates SonarQube quality gates into pull request workflows via the SonarQube Web API /api/qualitygates/project_status; blocks merges when smell, duplication, or coverage thresholds fail and posts inline annotations using the GitHub Checks API.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "SonarQube PR Gate"
slug: "sonarqube-pr-gate-skill"
version: "1.0.0"
displayName: "SonarQube PR Gate"
summary: "通过 SonarQube Web API /api/qualitygates/project_status 将 SonarQube 质量门禁集成到拉取请求工作流中。当代码异味、重复或覆盖率阈值失败时阻止合并,并使用 GitHub Checks API 发布内联注释。"
license: "MIT"
description: "通过 SonarQube Web API /api/qualitygates/project_status 将 SonarQube 质量门禁集成到拉取请求工作流中。当代码异味、重复或覆盖率阈值失败时阻止合并,并使用 GitHub Checks API 发布内联注释。"
github_stars: 10433
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Code Quality & Review"
framework: "Codex"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 10433

SonarQube PR Gate

Integrates SonarQube quality gates into pull request workflows via the SonarQube Web API /api/qualitygates/project_status. Blocks merges when code smells, duplications, or coverage thresholds fail and posts inline annotations using the GitHub Checks API.

Installation

Use the upstream install or setup path that matches your environment:

  • Make sure that you follow our code style and all tests are passing (Travis build is executed for each pull request).
  • yarn
  • yarn build
  • yarn generate-translation-keys

Requirements and caveats from upstream:

  • Native Git - Must be installed and available in your PATH
  • But if your contribution also contains UI changes, you must clone the sonarqube-webapp repository, do your changes there, build it locally and then build the sonarqube repository using the WEBAPP_BUILD_PATH environmen...

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 集成 SonarQube 质量门禁到 PR 工作流,解决代码质量管控的实际痛点
  • 支持阻止合并和发布内联注释,提升代码审查效率
Trigger Precision85/100

Highlights

  • description 完整描述了核心功能和适用场景
  • 触发词清晰,覆盖 SonarQube 质量门禁集成的主要使用场景
Structure and Standards65/100

Areas to improve

  • 缺少端到端示例和步骤划分 Reported severity: Major

    文档缺少明确的 Phase/步骤划分和端到端使用示例

    Recommendation: 建议补充具体的执行步骤、配置示例和出口条件说明

Highlights

  • frontmatter 完整,包含必要的元数据信息
  • 提供了 Installation 和 Requirements 基础说明
Execution Reliability55/100

Areas to improve

  • 缺少错误处理和认证说明 Reported severity: Major

    未说明 API 调用方式、认证机制和错误处理逻辑

    Recommendation: 建议补充具体的 API 调用示例、认证配置和异常处理机制

  • 文档内容截断 Reported severity: Major

    文档中有多处省略号表示内容不完整

    Recommendation: 建议完善文档内容,移除省略号并提供完整说明

Highlights

  • 提到了使用 SonarQube Web API 和 GitHub Checks API 的技术方案
Evidence Verifiability (mean of the first four)71/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.