caveman-commit

Converts verbose commit messages into terse, standards-compliant Conventional Commits.

1|1|Updated Apr 9, 2024
One-click install
npx skills add https://github.com/navikt/helved-utbetaling --skill caveman-commit-navikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caveman-commit
Source: https://github.com/navikt/helved-utbetaling/tree/main/.agents/skills/caveman-commit
Command: npx skills add https://github.com/navikt/helved-utbetaling --skill caveman-commit-navikt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces commit message noise by generating terse, conventional-commits-compliant messages that preserve intent and reasoning.

Core Features & Use Cases

  • Conventional Commit formatting: subject line ≤50 chars with optional scope and descriptive type.
  • Auto-guided messaging: when changes are staged, messages are generated without manual drafting.
  • Use across small to large codebases to enforce consistent history and readability.

Quick Start

Provide a concise conventional commit message for the current 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 generate conventional commit messages automatically from staged changes?

To generate conventional commit messages automatically, stage your file changes and let the automation convert them into terse messages. It enforces standard rules like a subject line under 50 characters and optional body text explaining the reasoning.

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

Enforcing a 50 character limit on git commit subject lines requires formatting staged changes into strict conventional commits. The generated messages omit trailing periods and optionally include scopes and types to maintain professional repository history.

Can I automate commit message generation for large codebases with multiple modules?

Yes, you can automate commit message generation across small to large codebases spanning multiple modules. It processes staged features, fixes, refactors, docs, and chores to reduce noise while preserving the original intent.

How does conventional commit formatting handle optional body and Closes references?

Conventional commit formatting includes an optional body to explain why a change was made and supports optional 'Closes' references. This structure ensures readability and tracks issue resolutions directly within the terse commit history.

Why should I use terse commit messages instead of detailed descriptions in professional repositories?

Terse commit messages reduce noise and enforce consistent readability across professional repositories. By preserving intent and reasoning through tight subject lines and optional bodies, they maintain a clean project history without unnecessary fluff.