Skip to content

Style Guides

Style guides help establish a shared set of conventions for how we write, structure, and communicate work across the project. They exist to reduce ambiguity, improve readability, and make collaboration smoother, especially as the number of contributors grows.

Rather than limiting creativity, these guidelines provide a common baseline so decisions don’t have to be re-debated in every pull request. The goal is consistency over preference, clarity over cleverness, and progress over perfection.

By following these style guides, contributors can:

  • Understand changes faster
  • Review code and documentation more efficiently
  • Communicate intent clearly and predictably
  • Spend less time on formatting and more time shipping quality work

These guides are living standards. They may evolve as the project grows, but they should always remain practical, lightweight, and focused on helping contributors work better together.

Contributing Code

Before committing or pushing changes, we aim to follow a set of standards to keep commits and changes easy to understand and meaningful. These standards are used to enhance communication between fellow contributors who write and read code for the project. Fewer chances of overthinking communication and a higher chance of shipping high quality contributions.

Commit Guidelines

We follow and extend this framework, we recommend to at least take a glance or skim through the specification. Basically, we make commits in this format: {emoji} {type} {(scope)<optional>}: {description}.

Emoji Type What it covers
πŸ“¦ new Adding new features, files, or capabilities
πŸ”§ update Changing existing code, refactoring, improvements, bug fixes
πŸ—‘οΈ remove Removing code, files, features, or dependencies
πŸ”’ security Security fixes, patches, vulnerability resolutions
βš™οΈ setup Project configs, CI/CD, tooling, build systems
β˜• chore Maintenance tasks, dependency updates, housekeeping
πŸ§ͺ test Adding, updating, or fixing tests
πŸ“– docs Documentation changes and updates
🏷️ release Version releases and release preparation

Examples

πŸ“¦ new: user authentication system
πŸ”§ update (api): improve error handling  # with optional scope
πŸ”’ security (auth): fix jwt token validation bypass
πŸ—‘οΈ remove (deps): unused axios dependency
β˜• chore (deps): bump react from 17.0.2 to 18.2.0
πŸ“– docs: fix typos in contributing guide

Conventional Comments

When communicating with fellow contributors, it is recommended to follow this format or communicate so in a similar format that is practical and direct to the point.