Skip to content
Back to skills

Publish Repo

ASecurity

Put the project on GitHub properly - license, secret and personal-data scan, private repo first, lock-down settings, then public. Use when the user wants to publish, open-source, share the code, "put it on GitHub", or make a repo public.

  • 30 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
developmentpythongogit

Works with

  • cli

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add Er2oneousbit/claude-code-game-kit --skill publish-repo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Publish Repo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Publish Repo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/er2oneousbit-publish-repo/badge)](https://www.skillsdirectory.com/skills/er2oneousbit-publish-repo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: publish-repo
description: Put the project on GitHub properly - license, secret and personal-data scan, private repo first, lock-down settings, then public. Use when the user wants to publish, open-source, share the code, "put it on GitHub", or make a repo public.
---

# Publish repo

Follow `docs/sop/SOP-13-publish-to-github.md`. Every step that creates, pushes, or changes visibility is outward-facing:
show the exact command and get a yes first. Never flip a repo to public without an explicit request in this session.

1. **License:** if `LICENSE` is missing, ask what reuse the user wants (SOP-13 step 1 table), then write the license
   file and a README "License" line that says what it covers (code, assets, or both).
2. **Redistribution:** walk `docs/ASSET_LOG.md`. List every asset whose license does not allow public redistribution
   (store packs, commercial fonts, unclear AI or music terms) and every `PLACEHOLDER` row. Propose: remove, gitignore,
   or keep the repo private.
3. **Scan:** run `python tools/publish_check.py`. Report FAIL and WARN items as a table with the fix for each.
   Ask once whether there are private words that must never go public (other projects, client names, real names):
   if so, help the user write the list outside the repo and point `PUBLISH_CHECK_TERMS` at it (SOP-13 step 3); never
   copy the words into the chat summary or any tracked file.
   Check whether a history scanner is installed (`gitleaks version`); if so run it, if not say history is unscanned.
   A real key found anywhere: tell the user to rotate it at the provider first. Do not print the key.
4. **Email:** show the emails in `git log --format=%ae | sort -u`. If any is personal, explain the noreply setup (step 3).
5. **Create private:** check `gh auth status`, then propose the `gh repo create ... --private` command.
6. **Lock down:** give the step 6 settings as a checklist with where to click. Offer `gh` commands where they exist,
   and say which settings need the web UI or a paid plan on private repos.
7. **Public:** only when asked. Re-run `publish_check.py`, then give the visibility steps.

Output: what was done, what the user still has to click, and anything left at FAIL or UNKNOWN.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.