Toolverse
All skills

shellcheck-configuration

by wshobson

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

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
wshobson
Category
DevOps
Views
113

About this skill

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

How to use

  1. Zainstaluj ShellCheck na swoim systemie: na macOS użyj brew install shellcheck, na Ubuntu/Debian uruchom apt-get install shellcheck, lub skompiluj ze źródła klonując repozytorium i wykonując make build && make install. Sprawdź instalację poleceniem shellcheck --version.

  2. Utwórz plik .shellcheckrc w katalogu głównym projektu, aby skonfigurować ShellCheck dla swoich potrzeb. Określ docelową powłokę (np. shell=bash), włącz dodatkowe sprawdzenia za pomocą enable=nazwa-sprawdzenia i wyłącz fałszywe alarmy poprzez disable=kod-błędu.

  3. Uruchom ShellCheck na swoim skrypcie poleceniem shellcheck nazwa-skryptu.sh, aby otrzymać listę wykrytych problemów wraz z kodami błędów i wyjaśnieniami.

  4. Przejrzyj raporty ShellCheck i zrozum kody błędów (np. SC1091, SC2086), aby wiedzieć, które ostrzeżenia są krytyczne dla Twojego projektu, a które można bezpiecznie pominąć.

  5. Zintegruj ShellCheck z pipelinami CI/CD, dodając polecenie shellcheck do etapu walidacji kodu, aby automatycznie sprawdzać wszystkie nowe skrypty shell przed mergowaniem.

  6. Dostosuj konfigurację za pomocą zmiennych środowiskowych takich jak SHELLCHECK_SHELL=bash lub SHELLCHECK_STRICT=true, aby wymusić bardziej rygorystyczne standardy w całym zespole.

Related skills

miniprogram-development

by TencentCloudBase

WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.

DevOps
1955

docker-containerization

by openclaw

This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms. Ideal for Next.js, React, Node.js applications requiring containerization for development, production, or

DevOps
1334

context7

by mikha08-rgb

Search GitHub issues, pull requests, and discussions across any repository. Activates when researching external dependencies (whisper.cpp, NAudio), looking for similar bugs, or finding implementation examples.

DevOps
51166

lambda

by itsmostafa

AWS Lambda serverless functions for event-driven compute. Use when creating functions, configuring triggers, debugging invocations, optimizing cold starts, setting up event source mappings, or managing layers.

DevOps
127

drawio-diagrams-enhanced

by jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams,

DevOps
918943

crawl4ai

by basher83

This skill should be used when users need to scrape websites, extract structured data, handle JavaScript-heavy pages, crawl multiple URLs, or build automated web data pipelines. Includes optimized extraction patterns with schema generation for efficient, LLM-free extraction.

DevOps
11128