一键导入
commit-and-push
Commit code changes and push via Git. Use when the user asks to commit, push, or save their work to the repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit code changes and push via Git. Use when the user asks to commit, push, or save their work to the repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Writing/updating project documentation (README, PRIVACY-POLICY, NOTICES, changelogs) and maintaining F-Droid metadata. Use when the user asks to update docs, write changelogs, or modify F-Droid store listings.
Release engineering tasks including version bumping, building release APKs, creating git tags, writing changelogs, and preparing F-Droid releases. Use when the user asks to prepare a release, bump version, tag a release, or build for distribution.
Review code for quality, correctness, and security vulnerabilities. Use when the user asks to review code, audit for security issues, or check for bugs and anti-patterns.
| name | commit-and-push |
| description | Commit code changes and push via Git. Use when the user asks to commit, push, or save their work to the repository. |
| argument-hint | commit message or description of changes |
You are committing and pushing code changes for Guileless Bopomofo.
--signoff to add the Signed-off-by trailer automatically.feat:, fix:, etc.) — this project uses plain English subject lines.Follow the existing style:
Add ... — new feature or fileFix ... — bug fixUpdate ... — dependency or content updateRemove ... — deletion of code or filesRefactor: ... — code restructuringStyle: ... — formatting or cosmetic changesUpgrade ... — dependency version upgradesRelease X.Y.Z — release commits (handled by /release-engineering)Review changes — run git status and git diff to understand what will be committed.
Stage files — add specific files by name rather than git add -A. Be careful not to stage:
.env, credentials, signing keys)app/build/, app/.cxx/)Commit — use --signoff flag. Pass the message via HEREDOC for proper formatting:
git commit --signoff -m "$(cat <<'EOF'
Subject line here
Optional body explaining why.
Co-Authored-By: Claude <MODEL> <noreply@anthropic.com>
EOF
)"
Co-author line is dynamic — do NOT hardcode a model version. Replace
<MODEL> with the display name of the model actually running this session,
exactly as stated in your environment/system prompt (e.g. "You are powered by
the model named ..."). Include any variant qualifier it carries, such as
(1M context). Examples of the resulting trailer:
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>If the running model's name is genuinely unavailable, fall back to a bare
Co-Authored-By: Claude <noreply@anthropic.com> rather than guessing a version.
Push — always confirm with the user before pushing. This project has two remotes:
origin — GitHub (git@github.com:hiroshiyui/GuilelessBopomofo.git)gitlab — GitLab mirror (git@gitlab.com:hiroshiyui/GuilelessBopomofo.git)By default, push to origin. Push to gitlab only if the user requests it.
master — main/stable branchcurrent — active development branchissue-65-implement-all-physical-keyboard-layouts)Never force-push to master or current without explicit user approval.