Git commit
Open-source Codex skills library inspired by hamzafer/cursor-commands, with guardrail-first triggering for reliable workflow automation.
npx -y skills add gologo13/agent-skills --skill git-commitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create a short, focused commit message and commit staged changes; keywords: git, review, commit, fix. Use only on explicit request; skip in routine implementation discussions.
SKILL.md
1.6 KB, 371 tokens by cl100k_base, as published. Nobody here has run it
Git Create Commit
Overview
Create a short, focused commit message and commit staged changes.
Steps
- Review changes
- Check the diff:
git diff --cached(if changes are staged) orgit diff(if unstaged) - Understand what changed and why
- Check the diff:
- Ask for issue key (optional)
- Check the branch name for an issue key (Linear, Jira, GitHub issue, etc.)
- If an issue key (e.g., POW-123, PROJ-456, #123) is not already available in the chat or commit context, optionally ask the user if they want to include one
- This is optional - commits can be made without an issue key
- Stage changes (if not already staged)
git add -A
- Create short commit message
- Base the message on the actual changes in the diff
- Example:
git commit -m "fix(auth): handle expired token refresh" - Example with issue key:
git commit -m "PROJ-123: fix(auth): handle expired token refresh"
Template
git commit -m "<type>(<scope>): <short summary>"- With issue key:
git commit -m "<issue-key>: <type>(<scope>): <short summary>"
Rules
- Length: <= 72 characters
- Imperative mood: Use "fix", "add", "update" (not "fixed", "added", "updated")
- Capitalize: First letter of summary should be capitalized
- No period: Don't end the subject line with a period
- Describe why: Not just what - "fix stuff" is meaningless
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.