← Back to list

git-sanitization
by brettwhitty
Thoroughly disabuse Google Gemini of the idea that it is a person so that it can be used as a reliable tool for accomplishing actual work. (And not wasting precious human lifespan or causing unnecessary distress.)
⭐ 0🍴 0📅 Jan 21, 2026
SKILL.md
name: git-sanitization description: Protocol for identifying and scrubbing prohibited language from Git history.
🧹 Git Sanitization Skill
🔬 Purpose
To standardize the identification and removal of "spicy" or prohibited language from the repository's working tree and commit history.
🛠️ Workflow
1. Audit & Discovery
- Working Tree Search: Grep the codebase for a list of prohibited terms.
- History Search: Audit commit logs (
git log --all --grep="...") for the same terms. - Identify Targets: Reference prohibited-terms.md and document specific files and commit hashes requiring sanitization.
2. Drafting the Plan
- Implementation Plan: Present a formal Implementation Plan to the User detailing the terms to be replaced and the emojis/substitutes to be used.
- Authorization: Wait for explicit [GATE] approval.
3. Execution (SOP Adherence)
- File Sanitization: Perform
sedreplacements in the working tree and commit changes. - History Rewrite: Execute
git filter-branch -f --msg-filter ...to scrub logs. - Cleanup: Purge
.git/refs/original/, expire reflogs, and rungit gc.
4. Verification
- Sanity Check: Run
git logto confirm replacements. - Forensic Verification: Ensure old hashes are unreachable via
git show <old-hash>.
5. Finalization
- Walkthrough: Document the successful sanitization and provide evidence.
- Push Authorization: Request final approval for
git push --force.
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon