dot_claude/skills/git-history-purge/SKILL.md
Use when purging sensitive data, large files, or private content from the full git history.
npx skillsauth add nijaru/dotfiles git-history-purgeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Rewriting history creates a brand-new commit tree. Use this command to re-apply cryptographic signatures while force-syncing committer dates to original author dates. This is CRUCIAL for maintaining "Verified" status and correct GitHub activity history: ```bash git rebase --root --rebase-merges --exec 'GIT_COMMITTER_DATE="$(git log -1 --format=%aI)" git commit --amend --no-edit -n -S' ```
| Check | Command | Expected | | :---------------- | :---------------------------- | :------------------------ | | Path Purged | git log --all -- <path> | (Empty) | | Dates Aligned | git log -n 5 --format=fuller | AuthorDate == CommitDate | | Signed | git log -n 5 --show-signature | Valid signature (GPG/SSH) |
| Excuse | Reality | | :------------------------- | :-------------------------------------------------------------------------------------------- | | "The date doesn't matter." | Seeing 100 commits from "2 minutes ago" on GitHub activity graphs looks suspicious or broken. | | "I don't need to sign." | Losing "Verified" status on the entire project history removes a key layer of trust. | | "Force push is scary." | It is necessary for historical purges. Just verify your work locally before pushing. |
development
Use after completing a bug fix, feature, refactor, or tk task when the first implementation taught enough context to replace it with a simpler, cleaner, or more coherent version before finalizing.
development
Use when writing, migrating, or reviewing Zig code across recent stable versions (0.14-0.16), especially to correct stale syntax or stdlib, build.zig, allocator, formatting, or runtime API knowledge.
documentation
Use when reviewing or revising text (prose, docs, commits) to remove AI patterns and improve voice/clarity.
content-media
Use when fetching X/Twitter post content by URL, or searching for recent X posts.