public-repo-guard
Use when a git repository is or will become public and must not leak personal data - setting up a pre-commit privacy or personal-data check, before committing or publishing files, auditing a repo for absolute home paths or e-mail addresses, or stripping image metadata (PNG text chunks). Covers code, docs, images and zip-based archives (FreeCAD FCStd, 3mf, docx/xlsx/pptx, odt, epub, zip) whose members and metadata a plain text grep misses. Ships a stdlib-only checker, a pre-commit hook template and a PNG text-chunk stripper.
Pinned to revision 52ad17095886, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/public-repo-guard/SKILL.md
- skills/public-repo-guard/assets/pre-commit
- skills/public-repo-guard/scripts/check_private.py
- skills/public-repo-guard/scripts/strip_png_text.py
- skills/public-repo-guard/tests/test_check_private.py
Every link opens the file at its source, pinned to the revision this page describes.