Contribution Guidelines for Medical Ocean
Welcome to the Medical Ocean community! We’re excited that you’re interested in contributing to our open-source healthcare technology projects. These guidelines will help you navigate the contribution process.
Table of Contents
- Code of Conduct
- Getting Started
- How to Contribute
- Coding Standards
- Commit Messages
- Pull Request Process
- Reporting Bugs
- Suggesting Enhancements
- Community
Code of Conduct
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
Getting Started
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/yourusername/repo-name.git
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Make your changes and commit them with a clear commit message.
- Push your changes to your fork:
git push origin feature/your-feature-name
- Create a pull request from your fork to the main repository.
How to Contribute
- Code: Implement new features or fix bugs.
- Documentation: Improve or create new documentation.
- Testing: Write and improve tests.
- Bug reports: Submit detailed bug reports.
- Feature requests: Suggest new features or improvements.
Coding Standards
- Follow the existing code style in the project.
- Write clear, commented, and testable code.
- Ensure your code adheres to our linting rules.
- Write meaningful variable and function names.
- Keep functions small and focused on a single task.
Commit Messages
- Use the present tense (“Add feature” not “Added feature”).
- Use the imperative mood (“Move cursor to…” not “Moves cursor to…").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally after the first line.
Pull Request Process
- Ensure your code adheres to the project’s coding standards.
- Update the README.md with details of changes, if applicable.
- Add tests for new features or bug fixes.
- Ensure the test suite passes.
- Make sure your code lints without errors.
- Include a clear description of the changes in your pull request.
- Link any relevant issues in the pull request description.
Reporting Bugs
- Use the GitHub Issues tracker.
- Describe the bug in detail.
- Include steps to reproduce the bug.
- Specify your environment (OS, browser, etc.).
- If possible, provide a minimal code example that reproduces the bug.
Suggesting Enhancements
- Use the GitHub Issues tracker.
- Provide a clear description of the enhancement.
- Explain why this enhancement would be useful to most users.
- List some examples of how this enhancement would be used.
Community
- Join our Slack channel for discussions.
- Follow us on Twitter for updates.
- Subscribe to our newsletter for important announcements.
Thank you for contributing to Medical Ocean! Your efforts help improve healthcare technology for everyone.