Gh Init — Git skill for Claude Code
Initialize git repo and push to GitHub.
How to install Gh Init
Installs to ~/.claude/commands/benjaminshoemaker-ai_coding_project_base-gh-init.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/benjaminshoemaker/ai_coding_project_base/HEAD/.claude/commands/gh-init.md -o ~/.claude/commands/benjaminshoemaker-ai_coding_project_base-gh-init.md Restart Claude Code, or start a new session, for it to be picked up.
What Gh Init does
description: Initialize git repo and push to GitHub. Triggers on new project setup requiring a GitHub repository. argument-hint: [target-directory] allowed-tools: Bash, Read, Write, Edit, Glob, AskUserQuestion
Initialize a git repository with smart project detection and optional GitHub remote creation.
Usage
/gh-init # Initialize in current directory
/gh-init ./my-project # Initialize in specified directory
Steps
Copy this checklist and track progress:
``
Alternatives in Git
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
- Commit Commands — Git commit workflows: commit, push, and PR creation 14k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Init Parallel
Initialize parallel git worktree directories
Workflow Init
Initialize a project for Kaola-Workflow with CLAUDE.md guidance, docs structure, and Git/GitHub issue conventi
Install Hooks
Install git hooks for this project. Triggers during project setup or after cloning.
Sp Setup
Check sp-context dependencies (claude-mem, git, bun) and guide installation. Use when sp-context features are
Setup Environment
Initialize development environment for git worktree
Woterclip Init
Initialize WoterClip in this repo (config, personas, GitHub labels)
Related Agents
Proj Init
Use this agent when bootstrapping a new project workspace during automated setup cycles. Typical triggers incl
Initialize Engagement At The Start
findings.sh init " " --client " " --type " " --scope " " findings.sh stats bash db/handoff.sh handoff_report.m
Sdd Init.Agent
Initialize SDD project context, OpenSpec persistence, testing capabilities, and skill registry.