← ClaudeAtlas

myrepolisted

Publish a project to GitHub as its own repository with a live, in-browser GitHub Pages site — scaffolding 42.uk-themed docs (README, LICENSE, .nojekyll), running privacy and secret scans, creating or updating the repo under the authenticated account, enabling Pages, and verifying the live URL actually serves. Use when the user wants to publish, ship, release, or "make a repo" for a project so others can view or run it in a browser. Publishing needs an authenticated GitHub CLI; the safety self-test does not. Do not trigger for private scratch work the user has not asked to publish.
marroccofella/skills · ★ 0 · Code & Development · score 70
Install: claude install-skill marroccofella/skills
# myrepo — publish a project to GitHub with a live page Turn a local project into its own public GitHub repository with a browser-runnable Pages site, conforming to the 42.uk theme and spec. ## Hard constraints - **Publishing is outward-facing and requires the user's explicit go-ahead.** Before creating or pushing anything public, confirm with the user in chat: the exact repo name, public vs. private, and what will be pushed. A `--dry-run` preview is the safe way to show them first. - **Never leak the local machine.** The publisher runs a privacy scan and refuses if it finds home/workspace paths (e.g. `C:\Users\...`, `/home/...`). Do not pass `--allow-paths` to silence it unless the user confirms those strings are intentional and safe. - **Never publish secrets.** Do not publish a directory containing credentials, tokens, `.env` files, or private keys. Check before running. - **Verify, don't assume.** The publisher polls the live Pages URL until it returns 200. Report the *verified* URL; if it did not go green, say so (Pages builds can lag a few minutes) rather than claiming it is live. - **OAuth only.** Authentication is the user's existing `gh` login. Never request, embed, or suggest a Personal Access Token in code or committed files. ## Verify it offline Before diagnosing GitHub setup, prove that myrepo 1.3.1's local safety gates work: ```text node scripts/publish.mjs --self-test ``` This deterministic self-test uses temporary fixtures to exercise the clean-project,