Agent skill · data analytics · aiskillstore

shellcheck-configuration

Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.

Why this skill is useful

Provides specific ShellCheck configuration patterns and error codes that improve script quality and enforce best practices.

What it needs

Requires shellcheck installed locally. About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

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 Enforcing consistent code quality standards Migrating scripts to meet quality gates ShellCheck Fundamentals What is ShellCheck? ShellCheck is a static analysis tool that analyzes shell scripts and detects problematic patterns. It supports: Bash, sh, dash, ksh, and other POSIX shells Over 100 different warnings and errors Configuration for target shell and flags Integration with editors and CI/CD systems Installation Configuration Files .shellcheckrc (Project Level) Create .shellcheckrc in your project root: Environment Variables Common ShellCheck Error Codes SC1000-1099: Parser Errors SC2000-2099: Shell Issues SC2100-2199: Quoting Issues SC3000-3999: POSIX Compliance Issues Practical Configuration Examples Minimal Configuration (Strict POSIX) Development Configuration (Bash with Relaxed Rules) CI/CD Integration Configuration .shellcheckrc for Project Integration Patterns Pre-commit Hook Configuration GitHub Actions Workflow GitLab CI Pipeline Handling ShellCheck Violations Suppressing Specific Warnings Common Violations and Fixes SC2086: Double qu …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/shellcheck-configuration

View the source on GitHub

Browse the @skills marketplace