Thank you for your interest in contributing to DomainSecurityAuditor!
- Fork and clone the repository
- Install dependencies:
Install-Module -Name DomainDetective, Pester, PSScriptAnalyzer -Scope CurrentUser
- Import the module:
Import-Module ./DomainSecurityAuditor.psd1 -Force
-
Branch from
develop— All work should branch fromdevelop, notmain -
Make your changes — Follow the coding standards in AGENTS.md
-
Test your changes:
Invoke-Pester -Path ./Tests Invoke-ScriptAnalyzer -Path . -Settings ./PSScriptAnalyzerSettings.psd1
-
Commit with conventional format:
<type>(<scope>): <description>Types:
feat,fix,docs,refactor,test,chore,build -
Open a pull request to
develop
See AGENTS.md for detailed coding standards including:
- PowerShell module structure (
Public/,Private/,Tests/) - Naming conventions (approved verbs, descriptive variables)
- Error handling patterns (
try/catch/finally) - Documentation requirements (comment-based help)
- Testing requirements (Pester 5+)
All contributions must:
- Pass
Invoke-Pesterwith no failures - Pass
Invoke-ScriptAnalyzerwith the repo settings - Include tests for new functionality
- Maintain or improve code coverage
- Ensure all tests pass locally
- Update documentation if behavior changes
- Fill out the PR template completely
- Link any related issues
- Wait for CI checks to pass
- Address review feedback
Open a discussion or check the README for more information.