Thanks for your interest in contributing!
- Create
scripts/your_script.sh - Source shared helpers:
source "$SCRIPT_DIR/_common.sh" - Implement
--helpwith usage info and examples - Implement
--jsonfor structured JSON output - Add a file header:
#!/usr/bin/env bash # Brief description of what this script does # MIT License — Copyright 2026 Paul van Oorschot
- Use
set -euo pipefail(inherited from_common.sh) - Run
shellcheck -x scripts/*.shbefore submitting - Quote all variables
- Use
[[ ]]over[ ] - Handle errors with meaningful messages to stderr
- Ensure
gh auth statusworks before testing - Test both human-readable and
--jsonoutput - Test
--helpoutput - Test with edge cases (empty results, bad input)
- Fork the repo
- Create a feature branch
- Make your changes
- Run shellcheck
- Open a pull request with a clear description