First off, thanks for taking the time to contribute! ❤️
All types of contributions are encouraged and valued. See the Table of Contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
- Star the project ⭐
- Tweet about it
- Refer this project in your project's readme
- Mention the project at local meetups and tell your friends/colleagues
- Code of Conduct
- Your First Code Contribution
- Asking Questions
- Opening an Issue
- Bug Reports and Other Issues
- Feature Requests
- Submitting Pull Requests
- Join The Project Team
- Credits
Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Please report unacceptable behavior to info@gradion.ai.
Read the development guide to set up your development environment and get started with the codebase.
If you want to ask a question, we assume that you have read the available Documentation.
Before you ask a question, it is best to search for existing Issues that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
If you then still feel the need to ask a question and need clarification, we recommend the following:
- Open an Issue.
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
We will then take care of the issue as soon as possible.
Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.
A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️
In short, since you are most likely a developer, provide a ticket that you would like to receive.
-
Review the documentation before opening a new issue.
-
Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have.
-
Prefer using reactions, not comments, if you simply want to "+1" an existing issue.
-
Provide all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).
-
Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.
Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!
-
Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.
-
Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.
-
Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.
We ❤️ pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.
Note: All contributions will be licensed under the project's license.
-
Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.
-
Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!
-
Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.
-
Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.
-
Include test coverage. Add tests when possible. Follow existing patterns for implementing tests.
-
Update the example project if one exists to exercise any new functionality you have added.
-
Add documentation. Document your changes with code doc comments or in existing guides.
-
Use the repo's default branch. Branch from and submit your pull request to the repo's default branch
main
. -
Resolve any merge conflicts that occur.
-
Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.
We are always looking for motivated individuals to join our team as maintainers! If you have been actively contributing to freeact and would like to take on a more significant role, we'd love to have you on board.
Please reach out to the current maintainers at info@gradion.ai. We look forward to collaborating with you!
This guide was heavily inspired by jessesquires contributing guide and contributing-gen.
We thank these projects for providing excellent resources.