DefaultPerson

Publish — Git skill for Claude Code

Git community

Publish repository to GitHub with full setup.

How to install Publish

Installs to ~/.claude/commands/defaultperson-claude-code-setup-publish.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/DefaultPerson/claude-code-setup/HEAD/.claude/commands/publish.md -o ~/.claude/commands/defaultperson-claude-code-setup-publish.md

Restart Claude Code, or start a new session, for it to be picked up.

What Publish does


allowed-tools: Bash(git *), Bash(gh *), Bash(mkdir *) description: Publish repository to GitHub with full setup.

Context

  • Remote: !git remote -v 2>/dev/null || echo "No remote"
  • Branch: !git branch --show-current 2>/dev/null || echo "Not a git repo"
  • GitHub repo: !gh repo view --json nameWithOwner,visibility,description --jq '"\(.nameWithOwner) (\(.visibility)) — \(.description)"' 2>/dev/null || echo "Not on GitHub yet"

Interactive repo publication workflow. Uses `gh` CLI

Alternatives in Git

Full documentation available on GitHub

View Source Repository