commit

Automate Git commit and push with traditional Chinese messages.

1|Updated Sep 25, 2024
One-click install
npx skills add https://github.com/Richie1129/SDLs_fullStack_remix --skill commit-richie1129
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/Richie1129/SDLs_fullStack_remix/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/Richie1129/SDLs_fullStack_remix --skill commit-richie1129

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the entire Git commit and push process, ensuring well-formatted commit messages and successful remote synchronization, saving developers time and reducing errors.

Core Features & Use Cases

  • Automated Commit Message Generation: Creates structured, traditional Chinese commit messages based on code changes.
  • Guided Staging: Prompts users to confirm which changes should be included in the commit.
  • Conflict Resolution Assistance: Provides guidance for resolving push conflicts.
  • Verification: Confirms that the commit was successfully pushed and synchronized with the remote repository.
  • Use Case: A developer finishes a feature and wants to commit and push their changes. They run /commit, and the skill analyzes the changes, helps them craft a feat: 新功能 commit message, adds the files, commits, pushes, and confirms success.

Quick Start

Execute the commit skill to add all staged changes, commit them with an automatically generated message, and push to the current branch.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate my Git commit and push workflow?

Automating your Git commit and push workflow involves analyzing staged changes, generating structured traditional Chinese commit messages, staging files, committing, pushing to the remote branch, and verifying successful synchronization.

Can I automatically generate traditional Chinese commit messages for Git?

Yes, automatically generating traditional Chinese commit messages for Git is supported. The skill analyzes your code changes and creates structured messages adhering to commit message formatting standards.

What should I do when a Git push fails due to remote conflicts?

When a Git push fails due to remote conflicts, guided conflict resolution assistance is provided. The skill walks users through the necessary rebase and subsequent push operations to synchronize with the remote repository.

How do I prevent accidentally committing sensitive files in Git?

Preventing accidentally committing sensitive files in Git is handled through verification checks during the staging process. The skill prompts users to confirm which specific changes should be included before finalizing the commit.

Does this Git workflow automation tool verify remote synchronization?

Yes, this Git workflow automation tool verifies remote synchronization. It confirms that the local commit was successfully pushed and fully synchronized with the remote repository after completing the push operation.