ciactionlintgithubactions

When an agent needs to validate GitHub Actions workflow files before pushes or pull-request merges, uses actionlint to check syntax, expressions, action inputs, runner labels, cron patterns, and some security pitfalls so bad workflow changes can be blocked before wasting CI time.

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 "ciactionlintgithubactions" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-501a86e9878942ccd8a1951d599bcdfddacbd0209c46cfce40e7aad87f686e2c. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/prevent-broken-github-actions-workflows-before-ci-runs-with-actionlint 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

When an agent needs to validate GitHub Actions workflow files before pushes or pull-request merges, uses actionlint to check syntax, expressions, action inputs, runner labels, cron patterns, and some security pitfalls so bad workflow changes can be blocked before wasting CI time.

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
actionlint binary, plus optional shellcheck and pyflakes for deeper inline script checks
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: "在CI运行前使用actionlint防止GitHub Actions工作流程中断"
slug: "prevent-broken-github-actions-workflows-before-ci-runs-with-actionlint"
version: "1.0.0"
displayName: "在CI运行前使用actionlint防止GitHub Actions工作流程中断"
summary: "当代理需要在推送或拉取请求合并前检查 GitHub Actions 工作流文件时,请使用 actionlint。该技能可以检查语法、表达式、动作输入、运行器标签、cron 模式以及一些安全陷阱,从而使代理能够在 CI 浪费时间之前阻止不良的工作流更改。"
license: "MIT"
description: "当代理需要在推送或拉取请求合并前检查 GitHub Actions 工作流文件时,请使用 actionlint。该技能可以检查语法、表达式、动作输入、运行器标签、cron 模式以及一些安全陷阱,从而使代理能够在 CI 浪费时间之前阻止不良的工作流更改。"
github_stars: 3782
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 3782

在CI运行前使用actionlint防止GitHub Actions工作流程中断

Use actionlint when an agent needs to inspect GitHub Actions workflow files before a push or pull request lands. The skill checks syntax, expressions, action inputs, runner labels, cron patterns, and a few security footguns so the agent can stop bad workflow changes before CI burns time.

Prerequisites

actionlint binary, plus optional shellcheck and pyflakes for deeper inline script checks

Installation

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

  • go install github.com/rhysd/actionlint/cmd/actionlint@latest

Requirements and caveats from upstream:

  • uses: actions/setup-node@v4
  • key: ${{ matrix.platform }}-node-${{ hashFiles('**/package-lock.json') }}
  • test.yaml:17:11: input "node_version" is not defined in action "actions/setup-node@v4". available inputs are "always-auth", "architecture", "cache", "cache-dependency-path", "check-latest", "node-version", "node-versi...

Basic usage or getting-started notes:

Documentation

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

  • 提供 GitHub Actions 工作流静态检查能力,有效防止 CI/CD 流程中断
  • 覆盖语法、表达式、动作输入、安全陷阱等多维度检查
Trigger Precision85/100

Highlights

  • 触发描述清晰完整,明确指向 GitHub Actions 工作流检查场景
  • 使用场景边界清晰,不易与其他技能混淆
Structure and Standards60/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档中缺少明确的使用时机说明章节

    Recommendation: 建议添加 When to Use 章节,明确说明在什么情况下使用此技能

  • 无明确步骤划分 Reported severity: Minor

    文档结构缺少清晰的 Phase 或步骤划分

    Recommendation: 建议将执行流程划分为清晰的步骤,如:1. 安装 actionlint 2. 检查工作流文件 3. 处理检查结果

Highlights

  • frontmatter 信息完整,包含版本、作者、分类等必要信息
Execution Reliability70/100

Highlights

  • 工具来源明确,提供了官方安装方式
  • 引用了上游文档和实际示例,增强可信度
Evidence Verifiability (mean of the first four)73/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.

actionlint binary, plus optional shellcheck and pyflakes for deeper inline script checks

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