git-commit
Stages changes, commits with a well-written message, sign the commit using SSH key.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stages changes, commits with a well-written message, sign the commit using SSH key.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when the user asks to remember or recall repository-specific notes across sessions by saving and searching markdown memory files in the user home directory.
Pushes commits to the remote and creates a pull request with a clear title and comprehensive body. Use this skill when asked to push and open a PR for the current changes.
Reads unresolved code review comments from a GitHub pull request and fixes them. Use this skill when asked to fix, address, or resolve PR review comments, or when given a GitHub pull request URL with a request to fix the feedback.
| name | git-commit |
| description | Stages changes, commits with a well-written message, sign the commit using SSH key. |
Stage current changes, commit them with a clear message, sign the commit using SSH key. Do not push or create a PR.
Run git diff (and git diff --cached if there are already staged changes) to
understand what has been modified. Read enough context to write an accurate
commit message.
If there are no changes to commit, inform the user and stop.
git add -A
If the user asked to commit only specific files, stage only those files instead.
If running in a Codespace ($CODESPACES is set), ensure the SSH agent socket is
available for commit signing before committing. Run the following once per session to set SSH_AUTH_SOCK:
source sshauthsock.sh
If sshauthsock.sh is not found, add /workspaces/.codespaces/.persistedshare/dotfiles/bin to the PATH and retry.
If no working socket is found, stop and ask the user to SSH into the Codespace instance first, then retry.
Write a commit message following these conventions:
Add user authentication endpoint.git commit -m "Subject line here"
If commit signing still fails (e.g., error: Load key ... No such file or directory), re-run the SSH auth socket fix above and retry once. If it fails
again, stop and ask the user to SSH into the Codespace instance first.