What problem does it solve?
This Skill automates the process of staging relevant changes and creating a new git commit that follows the repository's existing style, including optional linking to a GitHub issue.
Core Features & Use Cases
- Inspect the working tree to determine changes before committing.
- Resolve an explicit issue number from arguments or recent chat messages and attach it as Refs/Closes footer when available.
- Draft a commit message that matches the project style and uses a heredoc to ensure proper formatting.
- Stage only the files needed for the commit, avoiding accidental secrets or unrelated changes.
- Apply standard Git hooks and safety checks; never amend or push.
- Use the help command to display usage details from references/help.md.
Quick Start
Run the gh-commit command after making changes to automatically stage relevant edits and create a properly formatted commit with optional issue linkage.