Codewerk
shellcheck
Runs the official statically linked ShellCheck 0.11.0 release binary (GPL-3.0, SHA-256 checked against the GitHub release digest) on your script in an isolated, resource-limited child process without network, shell or configuration files (--norc, sourced files are never followed). The dialect comes from the shebang or the shell field (sh, bash, dash, ksh, busybox). Results are taken from ShellCheck JSON output (json1); with fix=true the unified diff of ShellCheck's own auto-fixes is.
POST https://code.halowerk.com/v1/shellcheckInputs
| Field | Type | Required | Description |
|---|---|---|---|
| script | string | Yes | The shell script text (UTF-8, max. 1 MB). |
| shell | string | No | Dialect; default: taken from the shebang. |
| severity | string | No | Minimum severity to report. |
| exclude | array | No | SC codes to suppress, e.g. ["SC2086"]. |
| enable | array | No | Optional checks to enable (shellcheck --list-optional). |
| fix | boolean | No | Also return ShellCheck's auto-fix as unified diff. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"script"
],
"properties": {
"script": {
"type": "string",
"minLength": 1,
"maxLength": 1000000,
"description": "The shell script text (UTF-8, max. 1 MB)."
},
"shell": {
"type": "string",
"enum": [
"sh",
"bash",
"dash",
"ksh",
"busybox"
],
"description": "Dialect; default: taken from the shebang."
},
"severity": {
"type": "string",
"enum": [
"error",
"warning",
"info",
"style"
],
"default": "style",
"description": "Minimum severity to report."
},
"exclude": {
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^SC[0-9]{4}$"
},
"description": "SC codes to suppress, e.g. [\"SC2086\"]."
},
"enable": {
"type": "array",
"maxItems": 20,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"add-default-case",
"avoid-negated-conditions",
"avoid-nullary-conditions",
"check-extra-masked-returns",
"check-set-e-suppressed",
"check-unassigned-uppercase",
"deprecate-which",
"quote-safe-variables",
"require-double-brackets",
"require-variable-braces",
"useless-use-of-cat",
"all"
]
},
"description": "Optional checks to enable (shellcheck --list-optional)."
},
"fix": {
"type": "boolean",
"default": false,
"description": "Also return ShellCheck's auto-fix as unified diff."
}
}
}Published input example
{
"script": "#!/bin/bash\nfor f in $(ls *.txt); do\n cat $f\ndone\n",
"fix": true
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea