{"adoption": {"forks": 446, "observed_at": "2026-08-28T04:10:26.766921+00:00", "stars": 9009}, "canonical_url": "https://ross.abutalabs.com/products/sh", "card": {"archived": false, "artifact_type": "library", "description": "A shell parser, formatter, and interpreter with bash and zsh support; includes shfmt", "domain": ["developer-tools", "parsers"], "enriched": true, "function": ["parser", "formatter", "interpreter", "cli", "linter"], "health_score": 97, "homepage": "https://pkg.go.dev/mvdan.cc/sh/v3", "language": "Go", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["mvdan/sh"], "name": "mvdan/sh", "platform": ["go", "windows", "cross-platform", "cli"], "pushed_at": "2026-08-23T23:27:47+00:00", "repo": "mvdan/sh", "stars": 9009, "tags": ["shell", "bash", "zsh", "posix", "mksh", "shfmt", "code-formatting", "static-analysis", "command-line", "automation", "linux", "macos"], "topics": ["go", "parser", "shell", "bash", "formatter", "posix", "mksh", "interpreter", "beautify", "shfmt", "zsh"], "urls": [], "use_cases": ["format shell scripts consistently", "parse bash scripts into an AST in Go", "run shell scripts from a Go program", "check shell script syntax in CI", "beautify and normalize bash code style", "evaluate shell expansions on strings"], "what_it_is": "A Go library and CLI tool (shfmt) that parses, formats, and interprets shell scripts supporting POSIX Shell, Bash, Zsh, and mksh. It exposes packages for syntax parsing, shell expansions, and script interpretation, plus a standalone formatter binary.", "when_to_avoid": ["you need a fully POSIX/Bash-faithful interpreter with process forking semantics", "you need zsh-specific advanced features beyond parsing", "you just want shell linting with shellcheck-style checks"], "when_to_choose": ["you need programmatic parsing or analysis of shell scripts in Go", "you want a deterministic formatter for bash/POSIX scripts", "you need to execute shell scripts embedded in Go applications"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sh", "repo": "mvdan/sh", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.766921+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:24:21.048616+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc5ae13e48563f35c59eff0e1d38f30616250ce82b0d837f1e07898e8242e02d", "fetched_at": "2026-08-28T04:10:26.766921+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mvdan/sh"}, {"content_hash": "e2bc5b5435bf2c1fd9b5ed4b210600dbcfad1b532ac021de440b27838143d604", "fetched_at": "2026-08-29T08:24:16.619813+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/mvdan.cc/sh/v3"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T08:24:16.622560+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T08:24:16.624476+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 54}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3882, "days_push": 10, "days_rel": 149, "gap_med": 129.0, "n_releases_24m": 5}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}