Skip to content

Fix: Resolve naming collision and commit message formatting for git-commit skill#26

Merged
samucodesh merged 3 commits into
mainfrom
fix/rename-skill-and-improve-staging-flow
May 17, 2026
Merged

Fix: Resolve naming collision and commit message formatting for git-commit skill#26
samucodesh merged 3 commits into
mainfrom
fix/rename-skill-and-improve-staging-flow

Conversation

@samucodesh
Copy link
Copy Markdown
Owner

Summary

This PR addresses the critical issues reported in #25 regarding the git-commit agent skill. It eliminates the naming collision with the /git:commit slash command by renaming the skill and introduces strict formatting rules to prevent commit message truncation caused by improper quote handling in the shell.

Changes Made

  • Renamed the skill from git-commit to skill-git-commit. This resolves the ambiguity and potential
    execution errors caused by the naming collision with the /git:commit slash command.
  • Updated Commit Standards to explicitly prohibit the use of double quotes (") in both the commit
    subject and body.
  • Introduced single-quote enforcement as the standard for quoting or emphasis within commit
    messages. This ensures that generated git commit commands are not prematurely truncated by the
    shell, leading to cleaner and more reliable commit logs.

Related Issues

Closes #25

Type of Change

Please select the type of change that applies to this PR:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactor (code change that neither fixes a bug nor adds a feature)
  • Documentation (changes to documentation)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Chore (maintenance tasks, build process, etc.)

Checklist

  • I have performed a self-review of my own code.
  • I have updated the documentation accordingly.
  • My changes generate no new warnings.

Screenshots/Video

If your changes affect the UI/UX, please provide screenshots or a video recording.

Rename the agent skill from 'git-commit' to 'skill-git-commit' to prevent naming collisions with the custom slash command '/git:commit'. This ensures clear command resolution and a more consistent naming pattern for skills within the extension.

BREAKING CHANGE: the skill name has been changed from git-commit to skill-git-commit. Any custom integrations or aliases referencing the old name must be updated.
Update the commit standards reference to explicitly forbid the use of double quotes in commit subjects and bodies. This change ensures consistency with established command constraints and prevents shell-related issues like command truncation. Single quotes are
recommended as the alternative.
@samucodesh samucodesh self-assigned this May 17, 2026
@samucodesh samucodesh added bug Something isn't working documentation Improvements or additions to documentation labels May 17, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request renames the git-commit skill to skill-git-commit and adds rules to the commit standards prohibiting double quotes in subjects and bodies. Reviewers identified the rename as a breaking change and suggested updating the guidelines for consistency. They also recommended aligning the terminology for the double quote restriction with other configuration files to ensure clarity.

Comment thread skills/gitcommit/SKILL.md
Comment thread skills/gitcommit/references/commit-standards.md
Comment thread skills/gitcommit/references/commit-standards.md
Update version number to 0.3.0 and remove redundant configuration fields from the manifest. By stripping out tools, model, and temperature settings, the extension becomes more lightweight and relies on core defaults, simplifying future updates.
@samucodesh samucodesh merged commit 5490f7a into main May 17, 2026
@samucodesh samucodesh deleted the fix/rename-skill-and-improve-staging-flow branch May 17, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Skill naming collision and rigid staging flow in git-commit skill

1 participant