Welcome to the MAWI MAN ecosystem! We appreciate your interest in contributing to our projects. This document provides guidelines and instructions for contributing to any repository under the MAWI MAN organization.
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
- Git installed on your machine
- Node.js (if applicable to the project)
- A GitHub account
- Basic understanding of the project's technology stack
- Fork the repository to your GitHub account
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git cd REPOSITORY_NAME - Add the original repository as upstream:
git remote add upstream https://github.com/mawi-officiel/REPOSITORY_NAME.git
- Install dependencies (if applicable):
npm install # or yarn install
- Search existing issues to avoid duplicates
- Use the bug report template when creating a new issue
- Provide detailed information including:
- Steps to reproduce
- Expected vs actual behavior
- Environment details
- Screenshots (if applicable)
- Check existing feature requests to avoid duplicates
- Use the feature request template
- Clearly describe the feature and its benefits
- Provide mockups or examples if possible
-
Create a new branch for your feature/fix:
git checkout -b feature/your-feature-name # or git checkout -b fix/your-bug-fix -
Make your changes following our coding standards
-
Test your changes thoroughly
-
Commit your changes with clear, descriptive messages:
git commit -m "feat: add new feature description" # or git commit -m "fix: resolve issue with specific component"
-
Push to your fork:
git push origin feature/your-feature-name
-
Create a Pull Request using our PR template
- Follow existing code style and conventions
- Write clear, self-documenting code
- Add comments for complex logic
- Use meaningful variable and function names
- Keep functions small and focused
We follow the Conventional Commits specification:
type(scope): description
[optional body]
[optional footer]
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code refactoringtest: Adding or updating testschore: Maintenance tasks
Examples:
feat(auth): add user authentication system
fix(ui): resolve button alignment issue
docs(readme): update installation instructions
- Write tests for new features and bug fixes
- Ensure all tests pass before submitting PR
- Maintain or improve code coverage
- Test across different environments when applicable
- Update documentation for any changes
- Add inline comments for complex code
- Update README if necessary
- Include examples for new features
- Automated checks must pass (CI/CD, linting, tests)
- Code review by maintainers
- Address feedback promptly
- Approval and merge by project maintainers
bug: Something isn't workingenhancement: New feature or requestdocumentation: Improvements or additions to documentationgood first issue: Good for newcomershelp wanted: Extra attention is neededneeds-review: Requires review from maintainerspriority-high: High priority itempriority-low: Low priority item
If you have questions about contributing:
- Check existing documentation and issues
- Create a discussion in the repository
- Contact us at ayoub@mawiman.com
All contributors will be recognized in our project documentation and release notes. We appreciate every contribution, no matter how small!
By contributing to MAWI MAN projects, you agree that your contributions will be licensed under the same license as the project.
Thank you for contributing to MAWI MAN projects!
© MAWI MAN (Ayoub Alarjani) — All Rights Reserved