anordal/shellharden
The corrective bash syntax highlighter observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 91
- Release rhythm 58
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3513
- days_rel: 67
- days_push: 55
- n_releases_24m: 1
Adoption not part of the score
4799 stars · 133 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Shellharden is a Rust CLI tool that syntax-highlights bash scripts and semi-automatically rewrites them to ShellCheck conformance, mainly by fixing quoting. It can display suggested changes with colored diff-like highlighting or apply them via a --transform mode.
Use cases
- fix unquoted variable expansions in bash scripts
- highlight bash syntax in the terminal
- automatically apply ShellCheck-style quoting fixes
- audit shell scripts for unsafe quoting
- rewrite legacy shell scripts to be safer
When to choose
- you want to automatically fix quoting issues that ShellCheck only reports
- you need terminal syntax highlighting for bash with suggested corrections
- you maintain many shell scripts and want semi-automated hardening
When to avoid
- you need full ShellCheck lint coverage rather than quoting-focused fixes
- your scripts intentionally depend on unquoted word-splitting behavior
- you need linting for POSIX sh or other shells beyond bash
Facets
cli-tool · maturity stable
linter formatter developer-tools developer-tools windows cli cross-platform bash shell-scripting syntax-highlighting shellcheck quoting code-hardening command-line automation linux macos
2 sources
- readme: https://github.com/anordal/shellharden · fetched 2026-08-28 · b3c3865d7842
- registry_crates: https://crates.io/api/v1/crates/shellharden · fetched 2026-08-29 · 4e820d79c8e5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| anordal/shellharden | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="anordal/shellharden")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem