Master ShellCheck static analysis configuration and usage for shell script quality.
NewMaintained
Automatic
◆QA & Test Engineering pack
Last verified 8/30/2026
What it changes
Passed 9 of 22 test cases with the skill, and 13 of 22 without it.
Without skill60%
With skill40%
Checks it passed that the model alone missed
Specifies the -S warning severity threshold flag.
Specifies the gcc output format flag -f gcc for continuous integration log formatting.
2 fixed17 passed either way0 still failing3 broke
Pass-rate lift
-20 pp
Tokens
+51%
Agent turns
0%
Response time
-1%
Model gemini-3.6-flashMeasured 8/30/2026v119 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
We want to enforce shell script quality gates in our continuous integration pipeline using GitHub Actions. Could you supply a complete GitHub workflow YAML snippet that runs static analysis on all `.sh` files during pull requests? Please include the necessary setup steps, recommended output formatting for CI logs, and instructions for handling non-zero exit codes when violations are found.
What was checked, without and with the skill
Checked
Without skill
With skill
Specifies the gcc output format flag -f gcc for continuous integration log formatting.
Missed
Passed
case-01 · gemini-3.6-flash · 8/30/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md54 linessingle file
ShellCheck Configuration and Static Analysis
Comprehensive guidance for configuring and using ShellCheck to improve shell script quality, catch common pitfalls, and enforce best practices through static code analysis.
Do not use this skill when
The task is unrelated to shellcheck configuration and static analysis
You need a different domain or tool outside this scope
Instructions
Clarify goals, constraints, and required inputs.
Apply relevant best practices and validate outcomes.
Provide actionable steps and verification.
If detailed examples are required, open resources/implementation-playbook.md.
Use this skill when
Setting up linting for shell scripts in CI/CD pipelines
Analyzing existing shell scripts for issues
Understanding ShellCheck error codes and warnings
Configuring ShellCheck for specific project requirements
Integrating ShellCheck into development workflows
Suppressing false positives and configuring rule sets