sanitize-git-repo

Community

Secure your code: Remove secrets from Git.

AuthorZurybr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a systematic approach to identify and remove sensitive information like API keys, credentials, and tokens from both the current working directory and the entire Git history of a repository, preventing accidental exposure.

Core Features & Use Cases

  • Comprehensive Secret Detection: Utilizes pattern-based, file-based, and entropy-based methods to find secrets.
  • Working Directory Sanitization: Replaces secrets in current files with placeholders.
  • Git History Sanitization: Employs tools like BFG Repo-Cleaner or git-filter-repo to remove secrets from past commits.
  • Use Case: Before releasing a private project publicly, use this skill to ensure no API keys or sensitive configuration details are present in the code or its history.

Quick Start

Execute the sanitize-git-repo skill to clean all secrets from the current repository's working directory and git history.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sanitize-git-repo
Download link: https://github.com/Zurybr/lefarma-skills/archive/main.zip#sanitize-git-repo

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.