Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.53 KB

File metadata and controls

38 lines (33 loc) · 1.53 KB
name commit
description Create a git commit with concise, bullet-point commit message

Commit

Create a git commit following these steps:

  1. Run git status and git diff to see changes
  2. Review recent commits (git log --oneline -5) to match the style
  3. Draft a concise commit message:
  • Start with type prefix: feat:, fix:, refactor:, docs:, test:, chore:
  • Focus on IMPACT and WHY, not implementation details
  • The title should describe the user-visible outcome or bug fixed
  • Use bullet points (dash prefix) only if there are multiple distinct changes
  • Keep each line under 72 characters
  • No emojis
  1. Stage relevant files with git add
  2. Create the commit with your message
  3. Run git status to confirm

Commit Message Guidelines:

  • Lead with the problem solved or capability added, not the technique used
  • BAD: "feat: add pre-edit tagging for non-agentic AI providers"
  • GOOD: "fix: OpenAI/LMStudio diffs now persist across app restarts"
  • BAD: "refactor: extract helper function for validation"
  • GOOD: "fix: prevent crash when user input is empty"
  • The body can explain HOW if it's non-obvious, but title = IMPACT

Issue Linking (for auto-close):

  • If fixing a Linear issue, include Fixes NIM-XXX on its own line after the title
  • For GitHub issues, use Fixes #XXX or Closes ``#XXX

Important:

  • Do NOT add "Co-Authored-By" or any attribution lines
  • Do NOT add marketing taglines or links
  • Be direct and factual
  • Keep it brief - avoid unnecessary details about what wasn't changed