PR Title Conventions
Well-structured commit messages provide a clear project history and make it easier for maintainers and contributors to understand the changes. We use the conventional commits format to ensure consistency across all commits. Here's how you can structure your commit messages:
Commit Message Structure#
A commit message using the conventional commit format looks like this:
<type>classifies the kind of change being made.
<scope>(optional) describes where the change was made.
<subject>is a brief description of the change.
Here are the types you can use to classify your changes:
|A new feature.|
|A bug fix.|
|A code change that neither fixes a bug nor adds a feature.|
|Adding or updating tests.|
|Routine tasks like updating dependencies or other non-code changes.|
|Changes related to Continuous Integration.|
Scopes help in pinpointing where exactly in the codebase the change happened:
|No scope||General changes to the core |
|Changes specific to the |
|Modifications in the |
|Updates concerning the |
|Commits related to version releases.|
Following the convention, a commit that adds a new command to the CLI package would be:
_Example:_ `feat(cli): add new CLI command`
By adhering to these conventions, you make the project's history more readable and accessible, making it easier for maintainers and contributors to navigate through changes.