> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apowerb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Contributing

> How to propose a change.

Contributions go through pull requests on the relevant repository. The core is
[`apowerb/apowerb`](https://github.com/apowerb/apowerb); documentation lives in
[`apowerb/apowerb-docs`](https://github.com/apowerb/apowerb-docs).

## Before you open a pull request

**1. Open an issue first for anything non-trivial**

A bug report with a reproduction, or a short design note for a feature. It is
cheaper to disagree about the approach before the code exists.

**2. Keep the change scoped**

One concern per pull request. Refactors that ride along with a fix make both harder
to review and to revert.

**3. Write the test with the change**

A bug fix comes with a test that fails before it and passes after.

**4. Run the checks the CI will run**

The core ([`apowerb/apowerb`](https://github.com/apowerb/apowerb)):

```bash theme={null}
ruff check .
ruff format .
DB_SCHEMA="" uv run pytest -q -m "not integration"
```

This documentation site ([`apowerb/apowerb-docs`](https://github.com/apowerb/apowerb-docs)):

```bash theme={null}
mint validate
mint broken-links
```

## Conventions

* **Everything in the codebase is written in English** — code, comments, commit
  messages, pull request descriptions, documentation.
* Branches are named `<type>/<slug>`, matching the commit type:
  `fix/sync-engines-pre-ping`, `docs/kubernetes-step-by-step`.
* Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/).
  The types in use are `feat`, `fix`, `docs`, `chore`, `test`, `refactor`, `perf`,
  `ci` and `style`; append `!` for a breaking change. Subjects describe the behaviour
  that now holds rather than the edit that was made.
* Python is type-annotated; new modules should pass `ruff` without exemptions.

Each repository states its own specifics in a `CONTRIBUTING.md` at its root:
[the core](https://github.com/apowerb/apowerb/blob/main/CONTRIBUTING.md),
[this site](https://github.com/apowerb/apowerb-docs/blob/main/CONTRIBUTING.md).

## Reporting a security issue

Do not open a public issue or a pull request for a vulnerability. Submit a private
report through
[GitHub Security Advisories](https://github.com/apowerb/apowerb/security/advisories/new),
which keeps it confidential until a fix ships. The full policy is in
[SECURITY.md](https://github.com/apowerb/apowerb/blob/main/SECURITY.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.