Git Commit

Guide for preparing git commits in this repository, including context gathering and repository-specific commit message conventions. Use when this capability is needed.

tomevault-io Updated

File contents

Git Commit Workflow

Use this skill when preparing or creating commits.

Workflow

  1. Gather commit context in one tool call

    • Run: git status && git diff && git log -n 3 --format="---%n%B".
  2. Write commit title and description

    • Use a concise summary on the first line (the title) in present simple tense (example: Fix cursor offset).
    • Leave one blank line between the title and the body.
    • Add a body only when it improves clarity.
    • Explain why and how in present simple tense.
    • If there are multiple points, format them as - bullet lines with one point per line.
  3. Avoid Conventional Commit prefixes

    • Do not use prefixes such as feat: or fix: in commit titles.
  4. Apply repository-specific commit rules

    • Never use --no-verify with git commands to bypass pre-commit hooks.
    • Do not add Co-Authored-By trailers or AI attribution to commit messages.

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/opencloudtool--agentty--git-commit commit f1c25481fb

Frequently asked questions

npx skillmds@latest add tomevault-io/git-commit-18