git-commit

Automates git commits and optionally audits projects with cucumber-style tests and linting.

57|18|Updated Jul 9, 2025
One-click install
npx skills add https://github.com/mattmireles/kokoro-coreml --skill git-commit-mattmireles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/mattmireles/kokoro-coreml/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/mattmireles/kokoro-coreml --skill git-commit-mattmireles

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for comprehensive and informative Git commit messages, and the ability to stage and commit changes efficiently and securely.

Core Features & Use Cases

  • Comprehensive Commit Messages: Generates detailed commit messages that include both the 'what' and 'why' of changes, aiding in code review and maintainability.
  • Whole-Tree Staging: By default stages all changes in the working tree, including those made by other agents or in previous sessions.
  • Post-Commit Audit: After a successful commit, runs pytest and a lightweight HEAD scan for potential issues without blocking the commit process.

Quick Start

To commit your changes with a detailed message, use the 'git-commit' skill followed by the message you want to include.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I write a Git commit message that explains both what changed and why?

To write a comprehensive Git commit message, you should document both the 'what' and the 'why' of your changes. This generates detailed messages that aid in code review and long-term maintainability.

Can I stage the entire working tree before making a Git commit?

Yes, you can stage the entire working tree before a Git commit. By default, this process stages all changes in the working directory, including modifications made by other agents or in previous sessions.

Does this Git commit workflow run pytest automatically after committing?

Yes, this Git commit workflow runs pytest automatically after committing. It executes a post-commit audit with pytest and a lightweight HEAD scan to check for potential issues without blocking the commit process.

What is the best way to automate staging and committing Git changes securely?

The best way to automate staging and committing Git changes securely is using a workflow-authorized process. This ensures all working tree modifications are staged and committed efficiently with comprehensive messaging.

Will a post-commit audit block my Git commit if pytest fails?

No, a post-commit audit will not block your Git commit if pytest fails. The audit runs pytest and a lightweight HEAD scan after a successful commit to check for issues without halting the process.