← ClaudeAtlas

github-createlisted

Create a GitHub repository for a local project that already has content but no remote yet. Picks a name, creates the repo (public by default), seeds a LICENSE-only initial commit — MIT, or all rights reserved for a project whose rights stay closed — wires origin, rebases local history onto that commit, and enables email notifications for new issues. Never commits or pushes the project's own files. TRIGGER when: user asks to "create a github repo", "publish this to github", "put this project on github", or runs /github-create in a project with no origin. DO NOT TRIGGER when: the project already has an origin remote (use /commit to push), the user wants to clone or fork an existing repo, or the user wants to cut a release (use /release).
AnotherSava/claude-code-common · ★ 1 · Code & Development · score 74
Install: claude install-skill AnotherSava/claude-code-common
# Create a GitHub repository Read `~/.claude/skills/shared/bash-rules.md` for bash command constraints. ## Context - Repo root: !`git rev-parse --show-toplevel 2>/dev/null || pwd` - Folder name: !`basename "$PWD"` - Is a git repo: !`git rev-parse --is-inside-work-tree 2>/dev/null || echo NO` - Current branch: !`git branch --show-current 2>/dev/null || echo "(none)"` - Commit count: !`git rev-list --count HEAD 2>/dev/null || echo 0` - Blocking changes: !`git status --porcelain 2>/dev/null | grep -v '^??' || echo "(none)"` - Existing remotes: !`git remote -v 2>/dev/null | grep . || echo "(none)"` - LICENSE on disk: !`test -f LICENSE && echo PRESENT || echo MISSING` - README opening: !`head -n 5 README.md 2>/dev/null || echo "(no README.md)"` - Manifest name field: !`grep -m1 '"name"' package.json 2>/dev/null || grep -m1 '^name' pyproject.toml Cargo.toml 2>/dev/null || echo "(none)"` - Top-level entries: !`ls -A1 2>/dev/null | head -n 30` - GitHub account: !`gh api user --jq .login 2>/dev/null || echo NOT-AUTHENTICATED` - Git protocol: !`gh config get git_protocol --host github.com 2>/dev/null || echo https` - Copyright holder: !`git config user.name 2>/dev/null || echo "(unset)"` - Existing repo names: !`gh repo list --limit 200 --json name --jq '.[].name' 2>/dev/null || echo "(unavailable)"` ## End state When this skill finishes: - A GitHub repo exists whose entire history is one root commit, `Initial commit`, containing only `LICENSE` — MIT or all rights reserved, as cho