git-commit

Create Git commits with pre-commit checks, file staging, and formatted messages.

2|Updated Aug 16, 2011
One-click install
npx skills add https://github.com/sakuro/dotfiles --skill git-commit-sakuro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/sakuro/dotfiles/tree/main/.config/claude/skills/git-commit
Command: npx skills add https://github.com/sakuro/dotfiles --skill git-commit-sakuro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the guesswork and manual effort involved in creating Git commits that strictly adhere to project conventions, saving developers time and ensuring consistent, high-quality commit history.

Core Features & Use Cases

  • Convention Enforcement: Guides you through pre-commit checks, explicit file staging, and strict commit message formatting, including required emoji codes and imperative mood.
  • Error Prevention: Helps avoid common pitfalls like incorrect staging (git add .) and malformed commit messages, ensuring a clean and compliant commit every time.
  • Use Case: A developer needs to commit changes but struggles to remember all the project's specific rules for commit messages, staging, and pre-commit checks. This skill guides them step-by-step to create a compliant commit, from running tests to crafting the final message.

Quick Start

Use the git-commit skill to create a commit for the changes in src/feature.js and test/feature.test.js with the subject :sparkles: Add new feature X.