Skills

Commit

Smart Git commit helper that analyzes changes and creates semantic commits

Install

npx skills add clacky-ai/openclacky --skill commit -g -a claude-code -y
Repository
clacky-ai/openclacky1.2k
Category
Git and review
Updated
5d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Smart Git commit helper that analyzes changes and creates semantic commits

Smart Commit Skill

This skill helps users create well-structured, semantic git commits by analyzing changes and suggesting appropriate commit messages.

CRITICAL REQUIREMENT: SINGLE-LINE COMMITS ONLY

ALL commit messages created by this skill MUST be single-line only.

  • DO: git commit -m "feat: add user authentication"
  • DON'T: Multi-line commits with body text
  • DON'T: Multiple -m flags
  • DON'T: Commit messages with \n or additional paragraphs

Keep commits concise and focused. If more detail is needed, suggest adding it separately in PR descriptions or documentation.

Overview

This skill automates the process of reviewing git changes and creating meaningful, conventional commits following the semantic commit format (feat/fix/chore/test).

Core Philosophy

THINK IN PURPOSES, NOT FILES

This skill prioritizes understanding the OVERALL GOAL of changes before deciding how to commit them. The default approach is to:

  1. Understand what the developer is trying to achieve
  2. Group all related changes into meaningful, purpose-driven commits
  3. Prefer fewer, cohesive commits over many fragmented ones

DO NOT commit file-by-file. DO NOT separate tests from implementation. DO NOT fragment features across multiple commits.

Instead, ask: "What story do these changes tell?" and commit accordingly.

Usage

To use this skill, simply say:

  • "Help me commit my changes"
  • "Create semantic commits"
  • "Review and commit changes"
  • Use the command: /commit

Process Steps

1. Analyze Git Status

First, check the current git status to understand:

  • What files have been modified, added, or deleted
  • Which files are staged vs unstaged
  • Overall state of the working directory
git status
git diff --stat

2. HOLISTIC ANALYSIS - Understand the Overall Purpose

CRITICAL: Before diving into file-by-file analysis, step back and ask:

Read the whole SKILL.md on GitHub

More in Git and review