Commit

From FradSer/dotclaude · View interactive version

Commit is an AI agent skill from the GitHub repository FradSer/dotclaude. 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.

How to use this skill

Skill file

Commit Skill (Standard Git)

Create clean, atomic Conventional Commits using standard git commands.

Workflow

  1. Inspect status and diff:

```bash

git status --porcelain

git diff --staged

git diff

```

  1. Stage files:

Stage relevant modified or untracked files explicitly:

```bash

git add <file1> <file2> ...

```

  1. Formulate Conventional Commit Message:

Follow the specification: <type>(<optional scope>): <short description>

Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore.

  1. Commit:

Execute standard git commit:

```bash

git commit -m "<type>(<scope>): <summary>"

```

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.