commit-with-validation
CommunityCreate atomic commits, enforce git discipline.
Software Engineering#code quality#git#version control#development workflow#commit#validation#pre-commit
AuthorBerryKuipers
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Inconsistent commit messages, missing issue links, and bypassing pre-commit hooks lead to poor git history and quality issues. This Skill ensures every commit adheres to strict git discipline and project standards.
Core Features & Use Cases
- Standardized Commit Messages: Builds commit messages with conventional format (e.g.,
feat: subject) and proper GitHub issue linking (Fixes #<issue-number>). - Pre-Commit Hook Enforcement: Automatically stages all changes and executes pre-commit hooks, handling failures and auto-fixes without allowing bypass.
- Atomic Commits: Designed to create a single, atomic commit per feature, ensuring a clean and traceable history.
- Use Case: As the final step after completing feature implementation and passing all quality gates, use this Skill to create a perfectly formatted and validated commit before pushing.
Quick Start
Example: Create a commit for issue 137 with a subject and body
The skill will prompt for commit type if not provided.
commit-with-validation "Add user dark mode preference toggle" "Implemented dark mode toggle with state management"
This will execute:
git add .
git commit -m "feat: Add user dark mode preference toggle
Implemented dark mode toggle with state management
Fixes #137
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com"
Dependency Matrix
Required Modules
gitjq
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: commit-with-validation Download link: https://github.com/BerryKuipers/claude-code-toolkit/archive/main.zip#commit-with-validation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.