commit

Commits with perfect messages. Use when making a commit.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "commit" with this command: npx skills add aravhawk/claude-code-utils/aravhawk-claude-code-utils-commit

Git Commit Command

Create atomic git commits following Conventional Commits.

Flow

  1. Check state: git status --porcelain

    • Empty → STOP, report "No changes to commit"
    • Merge conflict markers → STOP, report conflict
  2. Verify .gitignore excludes: secrets/.env, build artifacts, OS files (.DS_Store), IDE configs

  3. Stage: git add -A (or specific files for atomic commits)

  4. Analyze: git diff --cached --stat and git diff --cached

    • If unrelated changes exist, split into separate commits via git reset HEAD <file>
  5. Commit: Use Conventional Commits format

<type>(<scope>): <summary>

[body: what/why, wrap 72 chars]

[footer: BREAKING CHANGE: or Fixes #123]

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

Summary rules: imperative mood (e.g., "add", "fix", "refactor"), lowercase, no period, max 72 chars

  1. Confirm: git log -1 --oneline → report hash and summary

Output

Success: Committed: <hash> <type>(<scope>): <summary> Failure: explain why and required action

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

prod-ready

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

arch-mmd

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Gitai - Git Commit Automation

Boost developer productivity with Gitai: An AI-powered Git automation tool that analyzes code changes and generates semantic Conventional Commits instantly. Supports Node.js, Python, Java, Go, PHP, and more. Compatible with OpenAI, Anthropic, and Groq.

Registry SourceRecently Updated
12.6K
Profile unavailable