Skip to content
Back to skills

Lint

ASecurity

Run shellcheck and actionlint on shell scripts and GitHub Actions workflows. Use before pushing or when fixing lint issues.

  • 225 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
toolsshellbashgit

Security analysis

A100/100

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

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint?

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

Security grade badge for Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-lint/badge)](https://www.skillsdirectory.com/skills/neversight-lint)

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
---
name: lint
description: Run shellcheck and actionlint on shell scripts and GitHub Actions workflows. Use before pushing or when fixing lint issues.
---

Run linting tools on shell scripts and GitHub Actions workflows in this project.

## Your Task

Run the following checks on changed files (relative to main branch):

### 1. Shell Scripts (shellcheck)

```bash
# Find changed shell scripts
changed_scripts=$(git diff --name-only main...HEAD 2>/dev/null | grep -E '\.sh$')

# Run shellcheck on each
for script in $changed_scripts; do
    if [[ -f "$script" ]]; then
        shellcheck -f gcc "$script"
    fi
done
```

### 2. GitHub Actions Workflows (actionlint)

```bash
# Find changed workflow files
changed_workflows=$(git diff --name-only main...HEAD 2>/dev/null | grep -E '\.github/workflows/.*\.ya?ml$')

# Run actionlint on each
for workflow in $changed_workflows; do
    if [[ -f "$workflow" ]]; then
        actionlint "$workflow"
    fi
done
```

## Handling Issues

When lint issues are found:

1. **Fix the issues** - Correct the code to resolve warnings/errors
2. **Only use disable directives as a last resort** - If a warning is a false positive or truly unavoidable, add a disable comment with explanation:
   ```bash
   # shellcheck disable=SC2034  # Variable used by sourcing script
   ```
3. **Report what was fixed** - Summarize the changes made

## Optional Guidance

$ARGUMENTS

Files in this skill

  • SKILL.md1.4 KB
  • description_ar.txt177 B
  • description_cn.txt134 B
  • description_de.txt161 B
  • description_en.txt124 B
  • description_es.txt155 B
  • description_fr.txt172 B
  • description_it.txt168 B
  • description_ja.txt207 B
  • description_ko.txt166 B
  • description_ru.txt260 B
  • description_tw.txt134 B
  • stats.json66 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.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.