vibecoded yaml document schema checker
  • Go 97.4%
  • Dockerfile 2.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-12 23:27:48 +02:00
samples add pre-commit config 2025-11-20 10:17:33 +01:00
.build.yaml fix: update module path to git.karolak.fr/nicolas/yamlscheck 2026-03-28 09:25:27 +01:00
.editorconfig add pre-commit config 2025-11-20 10:17:33 +01:00
.gitignore chore: ignore dist dir 2026-09-12 18:55:04 +02:00
.hadolint.yaml add pre-commit config 2025-11-20 10:17:33 +01:00
.pre-commit-hooks.yaml feat: rewrite as standalone Go binary without external deps 2026-09-12 17:21:17 +02:00
.semrel.yaml chore(release): replace goreleaser by semrel plugin 2026-09-12 19:31:35 +02:00
.yamllint.yml add pre-commit config 2025-11-20 10:17:33 +01:00
Dockerfile build(docker): add missing go.sum into build stage 2026-09-12 23:27:48 +02:00
go.mod feat: rewrite as standalone Go binary without external deps 2026-09-12 17:21:17 +02:00
go.sum feat: rewrite as standalone Go binary without external deps 2026-09-12 17:21:17 +02:00
LICENSE add license 2025-11-18 22:53:03 +01:00
prek.toml ci(pre-commit): add hadolint hook 2026-09-12 23:25:18 +02:00
README.md feat: rewrite as standalone Go binary without external deps 2026-09-12 17:21:17 +02:00
Taskfile.yml chore(release): replace goreleaser by semrel plugin 2026-09-12 19:31:35 +02:00
yamlscheck.go feat: rewrite as standalone Go binary without external deps 2026-09-12 17:21:17 +02:00
yamlscheck_test.go feat: rewrite as standalone Go binary without external deps 2026-09-12 17:21:17 +02:00

yamlscheck

Validates YAML documents against JSON schemas defined in their head comments.

Usage

yamlscheck [flags] <yaml-file>...

Available flags:

  • -debug: Enable debug output

Each YAML document should have a head comment defining its schema. Two formats are supported:

# yaml-language-server: $schema=<schema-path-or-url>
# $schema: <schema-path-or-url>

With Docker:

docker run \
  --rm \
  --volume "$(pwd)/samples:/tmp/samples" \
  docker.io/nikaro/yamlscheck:latest \
  /tmp/samples/test.yml