ai-commit

Generate git commit messages from working tree diffs and style guides.

1|Updated May 21, 2020
One-click install
npx skills add https://github.com/ahandsel/debugging_log --skill ai-commit-ahandsel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-commit
Source: https://github.com/ahandsel/debugging_log/tree/main/skills/ai-commit
Command: npx skills add https://github.com/ahandsel/debugging_log --skill ai-commit-ahandsel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill removes the friction of writing consistent, high-quality git commit messages by automating the analysis of code changes and enforcing project-specific style guides.

Core Features & Use Cases

  • Context-Aware Drafting: Automatically gathers git diffs and incorporates user notes to generate accurate commit titles and bodies.
  • Style Enforcement: Uses repository-specific style guides to ensure all commits follow team standards, including emoji usage and formatting.
  • Workflow Flexibility: Supports standard commits, amending the HEAD commit, or rewording past commits with built-in safety checks and linting.

Quick Start

Run the ai-commit skill to analyze the current staged changes and draft a commit message based on the repository style guide.

Frequently Asked Questions about ai-commit

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

FAQPage Schema
How do I automate git commit message generation based on staged changes?

You can automate git commit message generation by analyzing working tree diffs and repository-specific style guides. This Skill drafts accurate commit titles and bodies while enforcing team standards, including emoji usage and formatting, through integrated linting and validation.

What dependencies do I need to generate style-compliant git commit messages?

You need git and pnpm installed in your environment to generate style-compliant commit messages. These dependencies are required to perform repository analysis, execute integrated linting, and ensure code quality before drafting the final commit messages.

Can I enforce repository-specific style guides when writing git commit messages?

Yes, you can enforce repository-specific style guides when writing git commit messages. The Skill uses your project's style configurations to ensure all drafted commits follow team standards, including specific emoji usage and formatting rules, before validation.

Does the automated commit workflow support amending HEAD and rewording historical commits?

Yes, the automated commit workflow supports amending HEAD and rewording historical commits. It provides workflow flexibility with built-in safety checks and integrated linting to ensure all modified commit messages meet your repository's style standards.