Commit

Creates clean, conventional git commits using standard git. Use when the user asks to "commit", "git commit", "create commit", or wants to commit staged or unstaged changes.

FradSer Updated 580 repo stars

File contents

Commit Skill (Standard Git)

Create clean, atomic Conventional Commits using standard git commands.

Workflow

  1. Inspect status and diff:
    git status --porcelain
    git diff --staged
    git diff
    
  2. Stage files: Stage relevant modified or untracked files explicitly:
    git add <file1> <file2> ...
    
  3. Formulate Conventional Commit Message: Follow the specification: <type>(<optional scope>): <short description> Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore.
  4. Commit: Execute standard git commit:
    git commit -m "<type>(<scope>): <summary>"
    

If a co-author trailer is required or requested, follow references/coauthor-attribution.md.

fradser/skills/tree/main/skills/commit commit 7115d0ef7c

Frequently asked questions

npx skillmds@latest add fradser/commit-2