Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

actionlint

$ actionlint Community Low Risk
rhysd · Code & DevOps · MIT · macos / linux / windows

Fast single-binary Go static analyzer for .github/workflows/*.yml files, validating YAML syntax, ${{ }} expressions, runner labels, matrix combinations, and embedded run: shell/Python scripts. Supports JSON output via Go templates (-format '{{json .}}').

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install actionlint
CLI vs MCP Decision CLI Only

Pure local static checker on .github/workflows/ YAML files; runs in milliseconds via CLI.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports -format '{{json .}}' JSON serialization, -no-color, stdin input (-), and clear non-zero exit codes in non-TTY execution.

  • -format '{{json .}}' outputs structured JSON error arrays
  • Supports -no-color and -ignore regex filtering
Trust & Safety 25 / 25

Strictly read-only static analyzer; never writes files or makes network requests.

  • Zero file mutations and zero external network calls
Setup & Portability 15 / 15

Single static Go binary across macOS, Linux, and Windows via Homebrew, go install, and GitHub Releases.

  • Static Go binary with optional shellcheck/pyflakes integration
Utility & Efficiency 13 / 15

Catches subtle GitHub Actions expression typos, invalid matrix contexts, and shell quoting bugs locally before pushing.

  • Type-checks ${{ ... }} expressions and workflow schemas offline
Maintenance & Lineage 7 / 10

Widely adopted community Go project (rhysd/actionlint) under MIT license.

  • Established MIT-licensed repository
Docs & Verifiability 8 / 10

Detailed docs/usage.md, checks.md, and online playground.

  • Comprehensive markdown docs in repository

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Purely local static analysis; no credentials stored or required.

Side Effects
Read-Only
Cost & Quotas

MIT open-source Go binary; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# actionlint Agent Rules
- Always run `actionlint -format '{{json .}}'` after creating or editing `.github/workflows/*.yml`.
- Note that `actionlint` invokes `shellcheck` and `pyflakes` if installed on `PATH` for deeper `run:` script checks.

Agent-Ready Command Recipes

Safe Read-Only Queries

Lint all GitHub Actions workflows with JSON output
actionlint -format '{{json .}}' -no-color

Checks every .github/workflows/*.yml file and outputs structured JSON diagnostics with file, line, column, and rule kind.

Check a specific workflow file
actionlint -format '{{json .}}' .github/workflows/ci.yml

Validates a single modified workflow file cleanly without touching disk.

Strengths for Agents

  • + Strictly read-only offline validator for GitHub Actions YAML, expressions, and embedded shell scripts.
  • + -format '{{json .}}' produces clean structured JSON diagnostics.

Caveats & Pitfalls

  • ! JSON output requires passing the Go template -format '{{json .}}' rather than a simple --json flag.
  • ! Deep shell/Python checks inside run: steps require shellcheck and pyflakes to be present on PATH.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI