# Git

> Use when committing or creating branches

- Skill: `lineofflight/git` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lineofflight/git`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lineofflight/git/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: lineofflight (https://skillmd.com/u/lineofflight)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lineofflight/git

---


# Git Conventions

## Commits

- Stage the files you changed, then use Task tool (model: haiku, run_in_background: true) for the commit message and commit
- If there are unstaged changes to tracked files after staging, mention them before handing off
- If the user asks to include missed files, stage them and amend the previous commit
- Follow existing project conventions (check recent commits, commitlint config, etc.)
- Match the user's style: casing (e.g. lowercase acronyms), punctuation, tense, verbosity
- If no conventions found: imperative mood, capitalized, max 50 chars
- Body only when necessary (blank line, 72 char wrap)

## Branches

- Work on feature branches, not main
- Use worktrees for parallel work; clean up when done

