通过 BK-CI 仓库约定安全执行本地提交与远端推送,例如根据当前变更生成一句简短提交内容、先展示给用户确认、确认后再 `git commit`,并默认推送到个人 fork 远端而不是主仓库。 当用户要求“帮我 commit / push / 提交并推送代码 / 发到远端”时优先使用。
72
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
git commitgit pushrebase、reset、commit --amend、push --forcemaster 上准备开始开发,此时应先走 github-worktreegit branch --show-currentgit status --shortgit diff / git diff --cachedorigin 一定是 fork:
git remote -vgit remote get-url --push <remote>master、main、release-* 等共享分支时,不要默认直接推送;优先提醒用户改走 github-worktree 或明确确认风险。{issue标题或规范化subject} {本次变更一句话摘要}feat: 新增 GitHub worktree 实践相关 Skill #13062worker-skill 文件feat: 新增 GitHub worktree 实践相关 Skill #13062 新增了 worker-skill 文件。commit + push 的一次性授权:
#issue号,则直接原样使用#issue号,则自动归一化为:<issue标题> #<issue号>feat: 新增 GitHub worktree 实践相关 Skill,issue 号是 13062,则 commit 内容必须为:feat: 新增 GitHub worktree 实践相关 Skill #13062#issue号 外的任何其他 messagegit commit 和 git pushgit commit 和 git push。git-commit-specification;本 skill 只补“基于当前 diff 生成一句摘要并先确认”这层工作流,以及“指定 issue + 直接推送”的快捷特例。git pushgit push -u <fork-remote> HEADcommit 和 push 都是有副作用的写操作;没有用户明确授权时,不要自行执行#issue号;若标题缺少 issue 号,只允许补上 #issue号push --force、不推共享主分支、不错用 --no-verify#issue号,或在补 #issue号 之外又追加了摘要git push,导致失败后误判git-commit-specificationmaster 创建 issue 分支与 worktree:github-worktreegithub-repository-managementd5420f2
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.