← ClaudeAtlas

publish-gatelisted

Mandatory security, legal, and quality gate BEFORE anything goes public. Always run when a GitHub repository is about to be created, made public, or pushed; when something is submitted to a package registry or marketplace (npm, PyPI, a skills directory); when a blog post, gist, or artifact containing code or config is published; or when the user says "make it public", "publish", "push the repo", "launch", "release", "go live". Also trigger when publishing is only a sub-step of a larger task, when it seems urgent, or when someone claims "it was already checked". Nothing is published without a complete gate run and an explicit human go.
belschak/publish-gate · ★ 1 · AI & Automation · score 72
Install: claude install-skill belschak/publish-gate
A leaked key, a private IP, or a personal path in a public repository is effectively irreversible. GitHub keeps pushed commits reachable after deletion and after force-pushes: they "may still be accessible ... directly via their SHA-1 hashes in cached views" ([Removing sensitive data from a repository](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)), and in a fork network, "Commits pushed to any repository in a network can be accessible from other repositories in that network, including the upstream repository", and they "can remain accessible in the repository network even after a fork is deleted" ([About permissions and visibility of forks](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)). Truffle Security documented in 2024 that this design is known to GitHub and intentional ([Truffle Security](https://trufflesecurity.com/blog/anyone-can-access-deleted-and-private-repo-data-github)). Cleanup requires a support ticket plus credential rotation, and the rotation is the part that actually protects you. The only real defense is that a dirty commit never leaves your machine. Before anything goes public, this pipeline runs in full, in this order. Never skip a gate. Never mark one passed by assertion instead of evidence. Publishing means: making a repository public or creating one, pushing to a public repository, submi