caveman-commit

Generate terse Conventional Commits messages from staged changes.

1|Updated Feb 13, 2018
One-click install
npx skills add https://github.com/g-lok/gs-dotfiles --skill caveman-commit-g-lok
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caveman-commit
Source: https://github.com/g-lok/gs-dotfiles/tree/main/install.d/dotfiles/ai_skills/.agents/skills/caveman-commit
Command: npx skills add https://github.com/g-lok/gs-dotfiles --skill caveman-commit-g-lok

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces noise in commit messages by generating concise, conventional commits that preserve intent and reasoning.

Core Features & Use Cases

  • Auto-generates conventional commit messages from staged changes.
  • Enforces subject length (≤50 chars), optional scope, and body only when the why isn't obvious.
  • Supports triggering by user phrases like "write a commit", "commit message", or "/caveman-commit".

Quick Start

Invoke caveman-commit to generate a terse Conventional Commits message from your staged changes.

Frequently Asked Questions about caveman-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate conventional commit messages from staged changes?

To generate conventional commit messages from staged changes, you can use an automation tool that analyzes your diff and outputs a formatted message. This Skill auto-generates commit types, scopes, and subjects directly from staged files.

What is the best way to enforce a 50 character limit on git commit subjects?

Enforcing a 50-character limit on git commit subjects requires applying strict formatting rules to your message generation process. This Skill automatically enforces a maximum subject length of 50 characters and removes trailing periods.

How do I keep git commit messages concise while preserving the intent of code changes?

Keeping git commit messages concise while preserving intent involves generating terse subjects and only adding a body when the rationale is not obvious. This Skill minimizes noise by formatting bodies only when the 'why' needs explanation.

Can I auto-generate git commit messages for CI workflows and refactoring tasks?

Yes, you can auto-generate git commit messages for CI workflows and refactoring tasks. This Skill handles typical scenarios like features, fixes, and refactors, applying optional scopes to categorize automated code changes.

Does this commit message generator support custom scopes for conventional commits?

This commit message generator supports optional scopes for conventional commits. It applies allowed types and optional scopes to your staged changes, ensuring the generated messages fit standard formatting conventions.