Skip to content
Back to skills

Shellcheck Configuration

ASecurity

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

  • 508 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
developmentgoshellbashgitci/cd

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill shellcheck-configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shellcheck Configuration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shellcheck Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-shellcheck-configuration/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-shellcheck-configuration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
version: 4.1.0-fractal
name: shellcheck-configuration
description: Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.
---

# 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

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [What is ShellCheck?](./sub-skills/what-is-shellcheck.md)
### 2. [Installation](./sub-skills/installation.md)
### 3. [.shellcheckrc (Project Level)](./sub-skills/shellcheckrc-project-level.md)
### 4. [Environment Variables](./sub-skills/environment-variables.md)
### 5. [SC1000-1099: Parser Errors](./sub-skills/sc1000-1099-parser-errors.md)
### 6. [SC2000-2099: Shell Issues](./sub-skills/sc2000-2099-shell-issues.md)
### 7. [SC2100-2199: Quoting Issues](./sub-skills/sc2100-2199-quoting-issues.md)
### 8. [SC3000-3999: POSIX Compliance Issues](./sub-skills/sc3000-3999-posix-compliance-issues.md)
### 9. [Minimal Configuration (Strict POSIX)](./sub-skills/minimal-configuration-strict-posix.md)
### 10. [Development Configuration (Bash with Relaxed Rules)](./sub-skills/development-configuration-bash-with-relaxed-rules.md)
### 11. [CI/CD Integration Configuration](./sub-skills/cicd-integration-configuration.md)
### 12. [.shellcheckrc for Project](./sub-skills/shellcheckrc-for-project.md)
### 13. [Pre-commit Hook Configuration](./sub-skills/pre-commit-hook-configuration.md)
### 14. [GitHub Actions Workflow](./sub-skills/github-actions-workflow.md)
### 15. [GitLab CI Pipeline](./sub-skills/gitlab-ci-pipeline.md)
### 16. [Suppressing Specific Warnings](./sub-skills/suppressing-specific-warnings.md)
### 17. [Common Violations and Fixes](./sub-skills/common-violations-and-fixes.md)
### 18. [Checking Multiple Files](./sub-skills/checking-multiple-files.md)
### 19. [Caching Results](./sub-skills/caching-results.md)
### 20. [Default Format](./sub-skills/default-format.md)
### 21. [GCC Format (for CI/CD)](./sub-skills/gcc-format-for-cicd.md)
### 22. [JSON Format (for parsing)](./sub-skills/json-format-for-parsing.md)
### 23. [Quiet Format](./sub-skills/quiet-format.md)

Files in this skill

  • SKILL.md3.1 KB
  • sub-skills/caching-results.md581 B
  • sub-skills/checking-multiple-files.md222 B
  • sub-skills/cicd-integration-configuration.md332 B
  • sub-skills/common-violations-and-fixes.md955 B
  • sub-skills/default-format.md132 B
  • sub-skills/development-configuration-bash-with-relaxed-rules.md199 B
  • sub-skills/environment-variables.md258 B
  • sub-skills/gcc-format-for-cicd.md144 B
  • sub-skills/github-actions-workflow.md323 B
  • sub-skills/gitlab-ci-pipeline.md220 B
  • sub-skills/installation.md291 B
  • sub-skills/json-format-for-parsing.md188 B
  • sub-skills/minimal-configuration-strict-posix.md183 B
  • sub-skills/pre-commit-hook-configuration.md357 B
  • sub-skills/quiet-format.md857 B
  • sub-skills/sc1000-1099-parser-errors.md255 B
  • sub-skills/sc2000-2099-shell-issues.md614 B
  • sub-skills/sc2100-2199-quoting-issues.md544 B
  • sub-skills/sc3000-3999-posix-compliance-issues.md318 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…