# Git

> Use when committing or creating branches

- Skill: `tomevault-io/git-18` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/git-18`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/git-18/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/git-18

---


# 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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/lineofflight) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

