First Publication

Use before a repo's first push. It is irreversible.

44 starsOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add SamueleBassoli/hermes-fleet-apps --skill first-publication
Manual install
git clone --depth 1 https://github.com/SamueleBassoli/hermes-fleet-apps.git /tmp/hermes-fleet-apps
mkdir -p ~/.claude/skills
cp -r /tmp/hermes-fleet-apps/roles/docs/skills/first-publication ~/.claude/skills/first-publication

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# First publication

Creating a remote and pushing to it for the first time. Also: rewriting
history that has already been pushed. The window where mistakes are cheap is
**before** the first push and nowhere after it.

Decide first WHICH identity (account, commit email, project folder) publishes
WHICH project, and keep that map in one private place of your own, read before
every publication. This skill covers the publication mechanics.

## The rule that drives everything else

**A force-push does NOT delete orphaned commits on GitHub.** It unlinks them
from the branch: they vanish from the history list, and they stay on the
server, reachable by anyone who knows the sha.

    github.com/<owner>/<repo>/commit/<old-sha>     still loads
    gh api repos/<o>/<r>/contents/README.md?ref=<old-sha>   still returns it

Measured, not assumed: after squashing 28 commits into 1 and force-pushing,
the orphaned commit still served the full old README. The branch listed one
sha; the object was still there.

So: **fix the README wording, the licence, the emails and the leaks BEFORE
the first push.** Afterwards the only true removal is deleting the repo.

## Order of operations

1. scan (below) — failures here cost nothing
2. `gh auth switch --user <identity>` — before touching any remote
3. `gh repo create <owner>/<repo> --private --source=. --remote=origin`
   — never `--push`; create, verify private + owner, then push
4. `git push -u origin main`
Read the full skill on GitHub

Details

Skill name
first-publication
Path
roles/docs/skills/first-publication/SKILL.md
License
MIT
Repo updated
31 October 2026

FAQ

What does the First Publication skill do?

Use before a repo's first push. It is irreversible.

How do I install the First Publication skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add SamueleBassoli/hermes-fleet-apps --skill first-publication. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is First Publication popular?

It lives in SamueleBassoli/hermes-fleet-apps, which has 44 GitHub stars and 0 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.