google/yamlfmt
An extensible command line tool or library to format yaml files. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 95
- Release rhythm 64
- 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: 27.5
- age_days: 1484
- days_rel: 240
- days_push: 34
- n_releases_24m: 11
Adoption not part of the score
1815 stars · 75 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
yamlfmt is an extensible command line tool and Go library for formatting YAML files, distributed as a single self-sufficient binary. It supports configurable formatters, glob-based path matching, lint mode, pre-commit hooks, and CI/CD usage via a Docker image.
Use cases
- format yaml files in a repo
- enforce consistent yaml style in ci
- add a yaml formatter pre-commit hook
- lint yaml files in gitlab ci
- build a custom yaml formatting tool as a go library
When to choose
- you need a fast, dependency-free single-binary yaml formatter
- you want yaml style enforcement in pre-commit or CI pipelines
- you want to embed yaml formatting into a Go program
When to avoid
- you need formatting for formats other than yaml
- you require officially supported Google-backed tooling with guaranteed maintenance
Facets
cli-tool · maturity active
formatter cli yaml developer-tools files cli cross-platform go yaml-formatter pre-commit-hook code-style linting single-binary command-line docker
1 source
- readme: https://github.com/google/yamlfmt · fetched 2026-08-28 · f59998b95096
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/yamlfmt | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem