commit

Generate deterministic commit messages referencing feature spec REQ numbers.

2|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/ByeongminLee/nextjs-claude-code --skill commit-byeongminlee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/ByeongminLee/nextjs-claude-code/tree/main/template/.claude/skills/commit
Command: npx skills add https://github.com/ByeongminLee/nextjs-claude-code --skill commit-byeongminlee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generate commit messages that align with the project's commit convention, ensuring every change is properly described and linked to relevant feature spec REQ numbers when provided.

Core Features & Use Cases

  • Generate deterministic commit messages from code changes that reference spec REQ numbers when available.
  • Enforce consistency with the repository's commit conventions for clear history.
  • Support traceability in code reviews by mapping changes to requirements.

Quick Start

Provide the changes and an optional feature name to generate and apply a compliant commit message.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I auto-generate git commit messages from code changes?

Auto-generating git commit messages from code changes involves analyzing your staged files and applying a deterministic format. This skill reads your provided changes and optional feature name to produce a compliant message automatically.

How do I link git commits to requirements and spec numbers?

Linking git commits to requirements is done by reading a spec.md file to map your code changes to specific REQ numbers. This ensures every generated commit message references the relevant feature spec for clear traceability.

Can I enforce a consistent commit convention across my repository history?

Enforcing a consistent commit convention across your repository is achieved by applying a deterministic message format to every change. This skill analyzes your code modifications and generates messages that align with your project's defined conventions.

What is the best way to map code changes to feature specs for code review?

Mapping code changes to feature specs for code review requires referencing specific REQ numbers in your commit history. This skill automatically analyzes changes and generates commits with messages that reference your spec.md requirements.

Do I need a spec.md file to generate commit messages with this automation?

You do not strictly need a spec.md file to generate commit messages, but providing one is required to link changes to requirements and include REQ numbers. You can simply provide the code changes and an optional feature name to generate a compliant message.