commit

Automate Git commits with generated messages and branch validation.

Updated Jul 20, 2021
One-click install
npx skills add https://github.com/mokekuma-git/JLeague_Matches-Bar_Graph --skill commit-mokekuma-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/mokekuma-git/JLeague_Matches-Bar_Graph/tree/main/skills/commit
Command: npx skills add https://github.com/mokekuma-git/JLeague_Matches-Bar_Graph --skill commit-mokekuma-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates and standardizes the process of staging, committing, and preparing code changes for integration, ensuring adherence to project conventions and reducing manual Git overhead.

Core Features & Use Cases

  • Intelligent Commit Messaging: Auto-generates commit messages from diffs or accepts user-provided hints.
  • Branch Workflow Enforcement: Validates branch naming and suggests appropriate branching strategies based on change scope.
  • Issue Integration: Facilitates the creation of GitHub Issues and links commits to them.
  • PR Preparation: Guides the creation of Pull Requests with appropriate titles, bodies, and base branches.
  • Use Case: After making several related code changes, you can invoke this Skill to automatically generate a descriptive commit message, ensure your branch is correctly named (e.g., fix/issue-123-bug-description), and prepare a Pull Request targeting the main development branch.

Quick Start

Use the commit skill to stage and commit your changes with the message "Implement user authentication flow".

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automatically generate commit messages from git diffs?

You can automatically generate commit messages by analyzing code diffs. The skill inspects your staged changes and creates descriptive messages, or it can accept user-provided hints to guide the generation process.

What's the best way to enforce branch naming conventions in a git workflow?

Enforcing branch naming conventions requires validating branch names against project rules. This skill validates your branch naming and suggests appropriate branching strategies based on the scope of your code changes.

Can I link a git commit to a GitHub issue automatically?

Yes, you can link commits to GitHub issues automatically. The skill integrates with GitHub issue tracking to facilitate issue creation and connect your commits directly to relevant issues.

How do I prepare a pull request with the correct title and base branch?

Preparing a pull request involves generating appropriate titles, bodies, and target branches. This skill guides PR creation by analyzing your changes and determining the correct base branch for integration.

Does this git commit automation tool support GPG signing?

Yes, GPG signing is supported for secure commits. The skill integrates GPG signing into its automated commit operations to ensure your changes are cryptographically verified.

How do I stage and commit code changes with a custom message?

You can stage and commit code changes by invoking the skill with a specific message hint. It automates the staging process and applies your provided message to finalize the commit operation.