Prepare repo-aware Conventional Commit messages for cuda-algorithm-lab and optionally complete the commit workflow. If nothing is staged, ask whether to stage all current changes first.
Use this skill when the user wants help preparing a commit message or making a git commit in this repository.
git diff --cached --name-only
git status --short
No files are staged. Should I stage all current changes with git add -A before I prepare the commit?git add -A if the user says yes.git --no-pager diff --staged
git diff --cached --name-only
git show :path/to/file
Interpret changes in repo context:
Write a Conventional Commit message:
If the user asked to actually commit:
git commit with the drafted message.Return only a single plain-text commit message with these sections and no extra commentary.
Subject line
<type>: <description>feat, fix, refactor, docs, style, test, choreBody (optional, 1-5 lines)
Changes section (required)
Changes:- <file_path>: <meaningful functional or structural change>Footer (optional)
BREAKING CHANGE: <description>