Skip to content

Contribution guide

Contributions run through uv for Python and npm for the docs site. Read CONTRIBUTING.md in the repository root for the pull-request process; this page covers the local gates.

Terminal window
git clone https://github.com/dynatrace-oss/kimera
cd kimera
uv sync --all-extras

Run these before opening a pull request. pre-commit is the gate CI runs, so a clean local run of it means a clean CI run:

Terminal window
uv run pytest # test suite with coverage
uv run ruff format . && uv run ruff check . # format and lint
uv run mypy . # strict type check
uv run pre-commit run --all-files # everything above, as CI runs it

The technique catalog page is generated from the registry, so edit the YAML rather than the Markdown. After changing a technique, regenerate the catalog:

Terminal window
uv run python scripts/gen_technique_catalog.py

The test suite runs the generator with --check and fails on drift, which keeps the catalog, the phase counts and the tool and command coverage honest. See write a technique.

The site is an Astro Starlight project under docs/ with its own Node package. Node 22.23.4 or later is required. Run it locally with:

Terminal window
cd docs
npm ci
npm run dev

npm run build produces the static site that CI deploys to GitHub Pages.

Every user-visible change gets an entry under [Unreleased] in CHANGELOG.md, in the same commit that makes the change. The file follows the Keep a Changelog format, grouped Added, Changed, Fixed, Removed and Security. RELEASING.md describes how a release moves the [Unreleased] entries into a version section.

All product names and logos are trademarks of their respective owners, used for identification only. No endorsement is implied.