Contributing¶
Thank you for considering contributing to SystemChecks!
How to Contribute¶
- Fork the repository on GitHub
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Make your changes with clear, descriptive commits
- Add tests for new functionality
- Update documentation as needed
- Push to your fork (
git push origin feature/AmazingFeature) - Open a Pull Request
Development Setup¶
# Clone your fork
git clone https://github.com/YOUR-USERNAME/systemchecks.git
cd systemchecks
# Import the module for development
Import-Module .\src\systemchecks.psd1
Code Standards¶
- Follow PowerShell best practices
- Write clear, self-documenting code
- Include comment-based help for all public functions
- Use approved PowerShell verbs for function names
Testing¶
All code must include appropriate Pester tests:
# Run all tests
Invoke-Pester
# Run tests with coverage
Invoke-Pester -CodeCoverage '.\src\**\*.ps1'
Documentation¶
- Update README.md for user-facing changes
- Add/update function documentation
- Include usage examples where appropriate
Code Review Process¶
- All submissions require review
- Automated tests must pass
- Code must follow style guidelines
- Documentation must be updated
Reporting Issues¶
- Use GitHub Issues
- Include clear reproduction steps
- Provide environment details (OS, PowerShell version)
- Include relevant error messages
Questions?¶
Feel free to open an issue for questions or discussion!