Contributing to prismAId
Thank you for your interest in contributing to prismAId! We welcome contributions from everyone and value your input and efforts to improve this project. Below, you will find guidelines and instructions on how to contribute effectively and ensure a smooth collaboration process.
Ways to Contribute
There are many ways to contribute to our project:
- Reporting bugs: File issues for any bugs you encounter.
- Feature suggestions: Suggest new features or improvements to existing features.
- Documentation: Help improve the project documentation.
- Code contributions: Contribute bug fixes or implement new features.
Code of Conduct
Participation in this project is governed by our Code of Conduct, which sets expectations for collaboration and communication. You can read the full text at CODE_OF_CONDUCT.md.
Getting Started
Here’s how to set up your development environment to start contributing:
- Fork and clone the repository:
- Fork the project on GitHub and then clone your fork locally.
- Install dependencies:
- Ensure you have Go installed on your system. Use
go versionto check your current Go version. - Download and install necessary Go packages with
go getor manage dependencies withgo mod.
- Ensure you have Go installed on your system. Use
- Run tests:
- Run
go test ./...to execute all tests and ensure they pass before you make changes.
- Run
Submitting Contributions
Please follow these steps to submit your contributions:
- Create a branch for your changes.
- Make your changes: Follow our coding guidelines and write clean, testable Go code.
- Write tests: Add or update tests as necessary for your changes.
- Run all tests to ensure nothing else was accidentally broken.
- Submit a pull request:
- Push your branch to GitHub and open a pull request against the main branch.
- Provide a clear description of the changes and any relevant issue numbers.
Style Guide and Coding Conventions
We follow the Go Code Review Comments and the Go Proverbs for best practices and coding conventions. Please make sure your code adheres to the Go style guide and use gofmt for code formatting.
- Use clear and descriptive variable names.
- Document all public functions and packages.
- Keep functions focused and well-organized within packages.
Review Process
Our team will review all pull requests as soon as possible. During the review, we may ask for additional changes or clarification. Pull requests must be approved by at least one maintainer before merging.
Contributions that include new features or substantial changes should be discussed in the issue tracker or discussions before starting work.
Thank you again for considering contributing to prismAId. We look forward to your contributions and are excited to see what we can achieve together!