commit

Review staged changes and create standardized Git commit messages.

2|1|Updated Jan 10, 2024
One-click install
npx skills add https://github.com/phalanx-hk/dotfiles --skill commit-phalanx-hk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/phalanx-hk/dotfiles/tree/main/config/agent/skills/commit
Command: npx skills add https://github.com/phalanx-hk/dotfiles --skill commit-phalanx-hk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of making safe, well-structured Git commits, reducing errors and improving version history clarity.

Core Features & Use Cases

  • Branch safety checks: Confirms users are on feature branches before committing.
  • Staged and diff review: Assists in reviewing changes, splitting commits if needed.
  • Commit message crafting: Guides in writing clear, conventional commit messages.
  • Use Case: A developer who wants to ensure their commits follow project standards and are logically structured for easier review and rollback.

Quick Start

Use the commit skill to review your current changes and create a clear, standards-compliant commit.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I create a safe and structured Git commit?

To create a safe Git commit, use a guided workflow that verifies your current branch, reviews staged diffs, and helps structure standards-compliant commit messages to ensure version control safety.

What is the best way to write conventional commit messages for code review?

The best way to write conventional commit messages is to follow a guided workflow that reviews your changes and assists in crafting clear, structured messages suitable for collaborative development environments.

How do I ensure I am on a feature branch before committing changes?

To ensure you are on a feature branch before committing changes, use a workflow tool that performs branch safety checks, confirming your current branch to prevent accidental direct commits to protected branches.

Can I split my staged changes into multiple logical commits?

Yes, you can split staged changes into multiple logical commits by reviewing your diffs during the workflow process, allowing you to separate changes into distinct, structured commits for easier rollback and review.

Does a guided commit workflow help with error handling in version control?

Yes, a guided commit workflow helps with error handling in version control by simplifying the commit process, reducing structural errors, and ensuring your commits are safely standardized before finalizing.