commit-workflow

v2026.09.24

Use when the user asks to create a semantic commit, commit and push, or create a pull request from local changes.

GitHub
安装命令
npx skhub add duyet/commit-workflow
Markdown
SKILL.md

Commit Workflow

Use this skill to turn local repository changes into a clean semantic commit, and optionally push or open a pull request.

Workflow

  1. Inspect the current branch, git status, unstaged/staged diff, and recent commits.
  2. Decide whether the change should be one commit or split into multiple focused commits.
  3. Stage only the files that belong to the requested change.
  4. Use semantic commit format: type(scope): description.
  5. When creating a pull request, create a feature branch first if the current branch is the default branch.
  6. Use the repo's existing pull request templates when present.

Safety

  • Do not include unrelated dirty work in the commit.
  • Do not rewrite history unless the user explicitly asks.
  • Prefer --force-with-lease over force push when a forced update is explicitly required.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

未指定

源路径

commit/skills/commit-workflow

默认分支

master

最新提交

fd02325

Tree SHA

257906b