shipit-lite

仓库创建 2026年7月6日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

降低泄密与不当提交风险,适合CI前置检查。

▸ 风险提示

可能包含运行预检查脚本,需审查脚本来源与权限。

这个 Skill 做什么

在推送前检查提交,发现秘密、临时代码与AI署名痕迹。

在把 commit 推到远端前做最后一遍检查,能发现 secrets、临时代码、乱写的草稿文件和带有 AI 共作者痕迹的提交信息。每次想问“现在可以推吗”或 pre-push 钩子报警时用它,会逐项提示问题并给出修复建议。优点是把不可逆的推送风险在本地拦截,避免泄露或留下难清理的历史记录。

▸ 展开 SKILL.md 英文原文

Use before pushing commits to any remote, when asked "is this safe to push", "check before push", or "shipit" — and whenever the pre-push hook flags findings. Catches scratch/junk files, secret-looking content, and unwanted AI co-author trailers in unpushed commits, and guides the fix for each.

开发编程预发布检查git-hook敏感信息通用
0
Stars
0
Forks
4
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/itzTiru/claude-code-skills-fable5/main/shipit-lite/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/itzTiru/claude-code-skills-fable5/main/shipit-lite/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# shipit-lite

A last look at what is about to leave the machine. Everything in a pushed commit is
permanent for practical purposes: private repos go public later, force-pushed commits
stay fetchable by SHA, and forks keep copies. Check before the first push, not after.

## Run the check

```bash
bash scripts/pre-push-check.sh <<< '{"tool_input":{"command":"cd <repo> && git push"}}'
```

Or read its three checks and run them by hand. It scans only unpushed commits
(`git log --branches --not --remotes`) for:

1. **Junk/scratch files** — scratch_*, tmp_*, sample_*, debug dumps, `*.log`, `.env`,
   caches, editor dirs, private keys (`*.pem`, `id_rsa*`).
2. **Secret-looking content** — provider 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有