Skip to content

Sky

Lint, format, test, and analyze your Starlark code with confidence.

Linting

Catch bugs and enforce best practices with skylint. Configurable rules and multiple output formats.

Formatting

Consistent code style with skyfmt. Compatible with Buildifier.

Testing

Full-featured test runner with skytest. Built-in assertions, setup/teardown, JSON and JUnit output.

Coverage

Code coverage collection with skycov. Supports text, JSON, Cobertura, and LCOV formats.

Documentation

Generate docs from docstrings with skydoc. Markdown and HTML output.

Analysis

Deep static analysis with skycheck. Type inference and cross-file analysis.

Terminal window
# Install
go install github.com/albertocavalcante/sky/cmd/...@latest
# Lint your code
skylint src/
# Run tests with coverage
skytest --coverage tests/
skycov coverage.json

Sky uses starlark-go-x, our enhanced fork of the official interpreter with:

  • OnExec hook for coverage instrumentation
  • Type annotation parsing support

Learn more →