hadolint/hadolint
GitHubDockerfile linter, validate inline bash, written in Haskell
- docker
- dockerfile
- dockerfile-linter
- haskell
- linter
- shellcheck
- static-analysis
- Stars:
- 12.5k
- Language:
- Haskell
- Default branch:
- master
- Last scored:
At a glance
- Rank
- #343 of 401
- #7 of 7 Haskell repos
- Checks passed
- 7 of 16
- Full list below
- Best set up for
- GPT-5 Codex
- Score 60.0
- Needs most work for
- Aider
- Biggest fix: .aider.conf.yml (+14.1 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1AGENTS.md / CLAUDE.mdAdd an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).+13.2 pts
- 2Reproducible dev envAdd a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.+11.8 pts
- 3Linter / formatter configConfigure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.+7.9 pts
Score for each AI agent
Each agent looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most; the agent's name links to its leaderboard. How each agent is scored →
Does hadolint/hadolint have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
- None at the root (no AGENTS.md, CLAUDE.md or AGENT.md)
- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh or .aider.conf.yml
- Repos that have one
- 0 of 7 Haskell repos · 214 of 401 repos on the leaderboard · See examples →
All 16 checks · 7 passed
How hadolint/hadolint compares
- vs leaderboard average
- 12.6 pts below
- Average 68.9
- vs Haskell average
- 7.7 pts below
- Average 64.0
- Stars among Haskell repos
- #5 of 7
Missing here, and how many repos have it
- CONTRIBUTING guide · passed by 86% of leaderboard repos, 71% of Haskell repos
- Linter / formatter config · passed by 66% of leaderboard repos, 0% of Haskell repos
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 0% of Haskell repos
Passes checks most repos miss
- Manageable size · only 17% of repos pass it
One fix for the most agents: AGENTS.md / CLAUDE.md would raise the score for all 9 agents, by up to 14.1 points.
Similar repos
Same language and host as this repo, closest in overall score.
- Haskell · 27.7k ★
- jgm/pandoc67.6Haskell · 46.6k ★
- Haskell · 19.6k ★
- Haskell · 8.9k ★
- haskell/cabal62.9Haskell · 1.7k ★
- Haskell · 40.2k ★
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/hadolint/hadolint)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.