commit

Automate git commits with user-defined messages and optional file staging.

Updated Feb 28, 2019
One-click install
npx skills add https://github.com/rjschie/dotfiles --skill commit-rjschie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/rjschie/dotfiles/tree/main/files/claude/skills/commit
Command: npx skills add https://github.com/rjschie/dotfiles --skill commit-rjschie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, bash, and includes scripts (resource) components.

What problem does it solve?

This Skill helps users create git commits with precision and clarity, ensuring that changes are documented effectively and that the process is efficient.

Core Features & Use Cases

  • Git Commit Creation: Automates the process of creating git commits with the option to stage files manually or automatically.
  • Commit Message Context: Provides context about the current git state, including status, diff, branch, and recent commits.
  • User Control: Allows users to decide whether to stage files or commit directly from the git status output.
  • Use Case: Ideal for developers who want to streamline their commit process and ensure that every commit is well-documented and reflects the actual changes made.

Quick Start

To create a git commit with the current changes, run the commit skill.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate a git commit with a custom message?

To automate a git commit with a custom message, this skill executes bash scripts to stage files and create commits. It handles the git status and diff to provide context for the commit process.

Does this skill require bash and git to create commits?

Yes, creating commits requires both git and bash environments to execute the necessary scripts. You must have these dependencies installed to run the commit automation process.

What is the best way to include git status and diff context before committing?

The best way to include git status and diff context is using an automated commit skill that retrieves branch and recent commit data. This ensures your commit message accurately reflects the actual changes made.

Can I stage files manually when automating a git commit?

Yes, you can stage files manually or allow the tool to automatically stage them directly from the git status output. This provides precise user control over the code management workflow.

How to generate a well-documented git commit from recent branch changes?

To generate a well-documented git commit from recent branch changes, the skill analyzes recent commits and diffs to build context. It ensures every commit is documented effectively and efficiently.