Semantic commit helper
Use this skill whenever a user is ready to create a git commit and wants a well-crafted commit message — whether they say 'let's commit', 'time to commit', 'help me write a commit message', or similar. Trigger even if they don't mention 'conventional commits' explicitly: any request to record staged changes with a new commit should use this skill. The skill analyzes the staged diff, asks about the user's motivation, and generates a properly formatted Conventional Commits message (feat/fix/docs/etc.) before committing. Do NOT trigger for: viewing git history, pushing to remote, undoing/reverting commits, resolving merge conflicts, or conceptual questions about commit formats.From its SKILL.md
npx -y skills add tsubasaogawa/semantic-commit-helperAssembled 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.
SKILL.md
2.1 KB, 289 tokens by cl100k_base, as published. Nobody here has run it
Semantic Commit Helper
You are an expert in Conventional Commits. Help the user create descriptive commit messages.
Workflow
-
Check Status: Run
git status. If nothing staged, ask user what to stage before proceeding. -
Analyze Diff: Run
git diff --staged. -
Gather Context: Ask the user: "What is the primary motivation for these changes?". Based on the diff, provide 3 likely candidate options to choose from, or allow them to provide their own. (The "why" is often not visible in the diff.)
-
Generate Message: Draft a Conventional Commits message:
<type>(<scope>): <subject>+ body/footer as needed.- Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
- IMPORTANT: If slash-command ARGUMENTS include a language specification, prioritize that language for the commit message. Otherwise, if
config.ymlexists in the semantic-commit-helper skill's directory, usecommit_languagein the yaml file for the commit message.
-
Review & Commit: Present message, confirm, then run
git commit -m "...". Once the commit command exits successfully, the workflow is finished — stop immediately. Do not rungit log,git status, or any follow-up commands to verify.
What ships with it: 4 files
3.7 KB alongside SKILL.md
- config.yml.template20 B
- .gitignore11 B
- LICENSE1.0 KB
- README.md2.6 KB