What problem does it solve? Shell scripts often contain subtle bugs like unquoted variables, incorrect exit code checks, and non-portable constructs that only surface in production. This Skill provides guidance for configuring ShellCheck to catch these issues automatically through static analysis. ## Core Features & Use Cases - Configuration Management: Set up .shellcheckrc files, environment variables, and CLI flags to target specific shells (bash, sh, dash, ksh) and enable or disable rule sets. - Error Code Reference: Understand and fix common ShellCheck warnings (SC2086 quoting, SC2181 exit codes, SC2015 conditionals) with concrete before-and-after examples. - CI/CD Integration: Integrate ShellCheck into GitHub Actions, GitLab CI, and pre-commit hooks to enforce quality gates on every commit. - Use Case: A team migrating legacy bash scripts needs to enforce POSIX compliance. Use this Skill to configure strict-mode analysis, suppress documented false positives, and wire linting into their pipeline. ## Quick Start Ask the assistant to configure ShellCheck for your project with a .shellcheckrc targeting bash and integrate it into your CI pipeline.