jenkinslinter

Performs static validation of Groovy code in Jenkins shared libraries using the Jenkins Pipeline Model Definition API and a Groovy AST parser. It detects syntax errors and common anti-patterns before pipeline execution to help find issues early.

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 "jenkinslinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-56091b07bccd2af96d3b9c64419ed87d22e4a3f8c2b607395467d6b67ab94cdb. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/jenkins-shared-library-linter 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

Performs static validation of Groovy code in Jenkins shared libraries using the Jenkins Pipeline Model Definition API and a Groovy AST parser. It detects syntax errors and common anti-patterns before pipeline execution to help find issues early.

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: "Jenkins 共享库 Linter"
slug: "jenkins-shared-library-linter"
version: "1.0.0"
displayName: "Jenkins 共享库 Linter"
summary: "使用 Jenkins Pipeline Model Definition API 和 Groovy AST 解析器验证 Jenkins 共享库 Groovy 代码。在管道执行前捕获语法错误和反模式。"
license: "MIT"
description: "使用 Jenkins Pipeline Model Definition API 和 Groovy AST 解析器验证 Jenkins 共享库 Groovy 代码。在管道执行前捕获语法错误和反模式。"
github_stars: 25189
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "CI/CD Integrations"
framework: "Codex"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 25189

Jenkins 共享库 Linter

Validates Jenkins Shared Library Groovy code using the Jenkins Pipeline Model Definition API and Groovy AST parser. Catches syntax errors and anti-patterns before pipeline execution.

Installation

Requirements and caveats from upstream:

  • Docker Pulls
  • The Jenkins project provides official distributions as WAR files, Docker images, native packages and installers for platforms including several Linux distributions and Windows.

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 Value75/100

Highlights

  • 针对 Jenkins 共享库代码验证的 CI/CD 场景,具有明确的实用价值
  • 能够帮助用户在管道执行前捕获语法错误和反模式,提升开发效率
Trigger Precision85/100

Highlights

  • description 明确描述了核心功能和使用技术栈
  • 触发词覆盖完整,边界清晰
Structure and Standards60/100

Areas to improve

  • 缺少具体执行步骤和示例 Reported severity: Major

    文档仅包含 Installation 章节,缺少具体的 Phase/步骤划分、端到端示例和出口条件

    Recommendation: 建议补充具体的验证流程步骤、使用示例和成功/失败的标准

  • 文档结构不够完整 Reported severity: Minor

    缺少 When to Use 章节和具体的操作指引

    Recommendation: 建议添加使用场景说明和具体的操作指南

Execution Reliability55/100

Areas to improve

  • 缺少具体的工具调用说明 Reported severity: Major

    未说明如何具体调用 Jenkins Pipeline Model Definition API 和 Groovy AST 解析器

    Recommendation: 建议补充具体的 API 调用方式、参数说明和错误处理机制

  • 异常处理机制不明确 Reported severity: Minor

    未说明在验证过程中遇到各种异常情况的处理方式

    Recommendation: 建议补充异常处理机制和用户反馈方式

Evidence Verifiability (mean of the first four)69/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
  • hub.docker.com
  • img.shields.io
  • raw.githubusercontent.com
  • www....

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.