Git

Use when committing or creating branches

lineofflight 5f78bc4 814 B Updated

File contents

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

lineofflight/claude-code-plugins/tree/main/plugins/git/skills/git commit 5f78bc4202

Frequently asked questions

npx skillmds@latest add lineofflight/git