public-repo-guard
Installation
SKILL.md
Public-repo guard
Everything in this repo ships to the world twice: it is a public GitHub repo, AND the whole repo is installed onto users' machines as a plugin. A leaked secret or internal detail is permanent — git history survives force-pushes in forks, caches, and mirrors. Prevention is the only cheap moment to act.
What counts as sensitive here
- Credentials of any kind: API keys, tokens, private keys, passwords — including "test" or "expired" ones (they reveal naming schemes and invite confusion).
- Personal / employee data: email addresses, personal home paths like
/Users/<name>/...(they leak usernames), real names of non-maintainers. - Internal workspace links: Notion pages, Slack archives, Discord channels, Linear issues, Google Docs, Datadog dashboards. Public GitHub links and
app.heptabase.complaceholder patterns are fine. - Real identifiers: actual card/workspace/chat UUIDs from anyone's Heptabase data. Docs must use placeholders like
<cardId>,<workspaceId>. - Infrastructure details: non-loopback IPs, internal hostnames, unreleased product details.