·git-safety
</>

git-safety

shipshitdev/library

扫描 git 历史记录中的敏感文件、清理泄露的凭据并设置预防措施。当被要求“检查机密”、“扫描 git 历史记录”、“从历史记录中删除 .env”、“保护我的存储库”或“清理敏感文件”时使用。

38安装·0热度·@shipshitdev

安装

$npx skills add https://github.com/shipshitdev/library --skill git-safety

SKILL.md

Comprehensive security scanning, cleaning, and prevention for git repositories.

Removing secrets from git history does NOT make them safe!

ALWAYS rotate leaked credentials immediately. Cleaning history is NOT enough.

扫描 git 历史记录中的敏感文件、清理泄露的凭据并设置预防措施。当被要求“检查机密”、“扫描 git 历史记录”、“从历史记录中删除 .env”、“保护我的存储库”或“清理敏感文件”时使用。 来源:shipshitdev/library。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/shipshitdev/library --skill git-safety
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 git-safety?

扫描 git 历史记录中的敏感文件、清理泄露的凭据并设置预防措施。当被要求“检查机密”、“扫描 git 历史记录”、“从历史记录中删除 .env”、“保护我的存储库”或“清理敏感文件”时使用。 来源:shipshitdev/library。

如何安装 git-safety?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/shipshitdev/library --skill git-safety 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/shipshitdev/library