← ClaudeAtlas

pre-pushlisted

Pre-flight safety gate that checks whether the project is actually safe to commit/push to GitHub (or any remote) RIGHT NOW. Use when the user asks "is this ready to push?", "can I commit this?", "check before I push", "did I leave any secrets in", "ready for GitHub?". Inspects the real git state — staged diff, tracked files, source, and history — for secrets/API keys, .env/.venv being tracked, PII, leftover debug/conflict markers, and .gitignore gaps. Read-only; reports a clear ready/blockers verdict and defers to the gitignore and security-audit skills for fixes.
POSTTTT/SKILLs · ★ 0 · Code & Development · score 72
Install: claude install-skill POSTTTT/SKILLs
# Pre-Push Readiness Gate Answer one question: **"If I push right now, will I regret it?"** This is a fast, focused pre-flight check of what is *actually about to be published* — not a deep code review. Run read-only, then give a clear verdict. Key principle: **a file being in `.gitignore` does NOT mean it's safe.** `.gitignore` only affects *untracked* files. A secret that was committed before being ignored, a key hardcoded in source, or a secret in history will still push. This gate checks **reality** (git state), not just the rules. ## What this skill is (and isn't) - It **is** a gate: a quick checklist run right before commit/push. - It is **not** the `gitignore` skill (which writes ignore rules) or `security-audit` (deep OWASP review). When this gate finds a rules gap or wants depth, it **defers**: "Your `.gitignore` is missing X — want me to run the `gitignore` skill?" Skills can't call each other programmatically, so recommend and let the user trigger them. ## Step 1 — Read the real git state - `git status --porcelain` — what's staged / modified / untracked. - `git diff --cached` — exactly what the next commit will contain. - `git ls-files` — what's already tracked (the stuff `.gitignore` can't save you from). - Current branch (`git branch --show-current`) and whether commits are ahead of remote. ## Step 2 — Run the checklist ### A. Secrets about to ship (highest priority) Scan the staged diff, tracked files, AND source contents for: - API keys / tokens: