Git Skill
Use git for version control. Essential for tasks that involve pulling code, making changes, and creating PRs.
Common workflow (code tasks)
- Clone or pull —
git clone <url>orgit pull origin main - Branch —
git checkout -b feature/description - Edit — Make changes (prefer coding tools: Claude Code, Gemini CLI, Codex CLI)
- Stage and commit —
git add .thengit commit -m "message" - Push —
git push -u origin <branch> - Create PR — Use
gh pr create(see github skill)
Key commands
git status
git branch --show-current
git log --oneline -5
git diff
git remote -v
GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL are set by the agent's variables for commits.