Agent Skills: Commit Skill (Standard Git)

Creates a conventional git commit using git-agent. This skill should be used when the user requests "commit", "git commit", "create commit", or wants to commit staged and unstaged changes following the conventional commits format. When invoking, pass the calling Claude model name as argument (e.g., "Claude Opus 4.6").

UncategorizedID: fradser/dotclaude/commit

Install this agent skill to your local

pnpm dlx add-skill https://github.com/FradSer/dotclaude/tree/HEAD/git/skills/commit

Skill Files

Browse the full folder contents for commit.

Download Skill

Loading file tree…

git/skills/commit/SKILL.md

Skill Metadata

Name
commit
Description
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.

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.