gitlabcilinter

Validate and optimize .gitlab-ci.yml using the GitLab CI Lint API (/api/v4/ci/lint). Checks dependency cycles in the directed acyclic graph, detects redundant job definitions, and suggests pipeline-graph optimizations based on the needs keyword.

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 "gitlabcilinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-addeb7240388ab4fde1254710691c13b9f73915cdf2402e0772cb2e3125382c7. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/gitlab-ci-pipeline-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

Validate and optimize .gitlab-ci.yml using the GitLab CI Lint API (/api/v4/ci/lint). Checks dependency cycles in the directed acyclic graph, detects redundant job definitions, and suggests pipeline-graph optimizations based on the needs keyword.

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: "GitLab CI 流水线 Linter"
slug: "gitlab-ci-pipeline-linter"
version: "1.0.0"
displayName: "GitLab CI 流水线 Linter"
summary: "使用 GitLab CI Lint API (/api/v4/ci/lint) 验证和优化 .gitlab-ci.yml 配置。检查有向无环图依赖循环,检测冗余作业定义,并通过 needs 关键字建议流水线图优化。"
license: "MIT"
description: "使用 GitLab CI Lint API (/api/v4/ci/lint) 验证和优化 .gitlab-ci.yml 配置。检查有向无环图依赖循环,检测冗余作业定义,并通过 needs 关键字建议流水线图优化。"
github_stars: 24298
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "CI/CD Integrations"
framework: "Claude Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 24298

GitLab CI 流水线 Linter

Validates and optimizes .gitlab-ci.yml configurations using the GitLab CI Lint API (/api/v4/ci/lint). Checks for DAG dependency cycles, detects redundant job definitions, and suggests pipeline graph optimizations via the needs keyword.

Installation

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

  • 针对 GitLab CI 配置验证的实用工具,解决 DAG 循环检测和流水线优化等实际痛点
  • 面向 DevOps 专业用户,在 CI/CD 工具链中有明确应用场景
Trigger Precision85/100

Highlights

  • 触发词精准完整,涵盖 GitLab CI、lint、pipeline、DAG 等核心关键词
  • 功能边界清晰,不易与其他工具混淆
Structure and Standards60/100

Areas to improve

  • 缺少 When to Use 使用场景说明 Reported severity: Minor

    文档缺少明确的使用场景说明,用户难以判断何时使用该工具

    Recommendation: 添加 When to Use 章节,说明典型使用场景如:提交前验证、流水线优化、依赖关系检查等

  • 缺少端到端使用示例 Reported severity: Minor

    文档缺少具体的使用示例,用户难以理解如何实际操作

    Recommendation: 添加完整的使用示例,包括 API 调用方式、参数格式、结果解读等

Highlights

  • frontmatter 元数据完整,包含版本、许可证、GitHub 信息等
Execution Reliability55/100

Areas to improve

  • 缺少 API 调用细节和异常处理 Reported severity: Major

    未说明 GitLab CI Lint API 的具体调用方式、认证机制、参数格式等关键信息

    Recommendation: 补充 API 调用文档,包括认证方式、请求格式、错误码处理、网络异常处理等

Highlights

  • 工具来源明确,基于 GitLab 官方 CI Lint API
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.

  • docs.gitlab.com
  • 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.