S

shellcheck-configuration

Настройка и применение ShellCheck

Настройка и применение статического анализатора ShellCheck для качества shell-скриптов. Подключается при организации линтинга, исправлении замечаний и обеспечении переносимости скриптов.

Установка

$npx skills add https://github.com/wshobson/agents/tree/156b7a5e7a8b93642628a339ee4039c925b34c7f/plugins/shell-scripting/skills/shellcheck-configuration

Ставит скилл в текущий проект, CLI спросит, для каких агентов. С флагом -g - для всех проектов. Нужен Node.js.

Описание автора

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.

When to Use This Skill

  • 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

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

  1. Run ShellCheck in CI/CD - Catch issues before merging
  2. Configure for your target shell - Don't analyze bash as sh
  3. Document exclusions - Explain why violations are suppressed
  4. Address violations - Don't just disable warnings
  5. Enable strict mode - Use --enable=all with careful exclusions
  6. Update regularly - Keep ShellCheck current for new checks
  7. Use pre-commit hooks - Catch issues locally before pushing
  8. Integrate with editors - Get real-time feedback during development

Ещё из wshobson/agents 184

  1. Aaccessibility-complianceв один кликДоступные интерфейсы по WCAG 2.2wshobson/agents★ 40,2 тыс.
  2. Aai-debt-detectorв один кликАудит техдолга после кода от ИИwshobson/agents★ 40,2 тыс.
  3. Aairflow-dag-patternsв один кликПайплайны на Apache Airflowwshobson/agents★ 40,2 тыс.
  4. Aangular-migrationв один кликМиграция с AngularJS на Angularwshobson/agents★ 40,2 тыс.
  5. Aanti-reversing-techniquesв один кликАнти-реверс и защита от отладкиwshobson/agents★ 40,2 тыс.
  6. Aapi-design-principlesв один кликПроектирование REST и GraphQL APIwshobson/agents★ 40,2 тыс.
  7. Aarchitecture-decision-recordsв один кликЗаписи архитектурных решений (ADR)wshobson/agents★ 40,2 тыс.
  8. Aarchitecture-patternsв один кликПаттерны архитектуры бэкенда: Clean и DDDwshobson/agents★ 40,2 тыс.
  9. Aasync-python-patternsв один кликАсинхронный Python: asyncio и паттерныwshobson/agents★ 40,2 тыс.
  10. Aattack-tree-constructionв один кликДеревья атак для карты угрозwshobson/agents★ 40,2 тыс.
Все скиллы wshobson/agents →

Похожие скиллы

  1. Aandrej-karpathy-skillsПравила CLAUDE.md против ошибок LLMmultica-ai/andrej-karpathy-skills★ 216,5 тыс.
  2. Rreceiving-code-reviewв один кликПриём код-ревью с проверкой замечанийobra/superpowers★ 294,2 тыс.
  3. Rrequesting-code-reviewв один кликЗапрос код-ревью у подагентаobra/superpowers★ 294,2 тыс.
  4. PPlannotatorВизуальная аннотация планов и диффовbacknotprop/plannotator★ 9,1 тыс.
  5. CClaude Code Security ReviewРевью безопасности через GitHub Actionanthropics/claude-code-security-review★ 6,3 тыс.
  6. Ggh-address-commentsв один кликОтветы на комментарии в GitHub PRopenai/skills★ 27,8 тыс.
  7. GGanyuanRan/AegisАрхитектурная осведомлённость агентаGanyuanRan/Aegis★ 1,3 тыс.
  8. Ssecurity-best-practicesв один кликРевью безопасности под язык и фреймворкopenai/skills★ 27,8 тыс.
Все скиллы раздела «Код-ревью и рефакторинг» →