commit

Generate structured git commit messages with titles, motivations, and summaries.

6|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/rtfpessoa/code-factory --skill commit-rtfpessoa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/rtfpessoa/code-factory/tree/main/git/skills/commit
Command: npx skills add https://github.com/rtfpessoa/code-factory --skill commit-rtfpessoa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of well-formatted Git commit messages, ensuring consistency and clarity in your project's version history.

Core Features & Use Cases

  • Structured Commit Messages: Generates commits with a title, motivation, and summary based on code changes.
  • Contextual Information: Automatically checks branch names for ticket IDs and analyzes diffs for relevant information.
  • Use Case: After making several code changes for a new feature, use this skill to generate a commit message that clearly explains what was done and why, referencing any associated JIRA tickets.

Quick Start

Use the commit skill to commit current changes with the title "feat: Implement user authentication".

Frequently Asked Questions about commit

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

FAQPage Schema
How do I generate structured git commit messages automatically from code changes?

To generate structured git commit messages, this Skill analyzes staged and unstaged code diffs to extract context and automatically builds a commit title, motivation, and summary. It parses branch names for ticket IDs and uses markdown formatting to ensure version control history remains consistent and clear.

How does automatic commit message generation handle JIRA ticket IDs from branch names?

Automatic commit message generation handles JIRA ticket IDs by checking the current branch name for relevant contextual information. It extracts the ticket ID and incorporates it into the structured commit summary, linking your version control history directly to your project management tracking.

Can I use this skill to commit current changes with a specific title like conventional commits?

Yes, you can use this skill to commit current changes with a specific title. It supports automatic generation of structured commit titles, allowing you to explicitly provide a conventional commit message like "feat: Implement user authentication" while it handles the underlying diff analysis and formatting.

What is the best way to ensure consistent markdown formatting in git commits?

The best way to ensure consistent markdown formatting in git commits is to use an automated generation tool that enforces formatting rules during message creation. This Skill automatically structures the commit title, motivation, and summary using markdown, eliminating manual formatting errors.

Does this git commit tool exclude specific files during the staging process?

Yes, this git commit tool excludes specific files during the staging process. While analyzing staged and unstaged changes to generate the commit message, it enforces rules to omit designated files from being staged, ensuring only relevant code modifications are included in the final version control commit.