Back to list
kexin94yyds

commit-push-pr

by kexin94yyds

0🍴 0📅 Jan 24, 2026

SKILL.md


name: commit-push-pr description: Git 提交推送流程。触发词:提交、推送、PR、commit。

/commit-push-pr

提交代码、推送到远程并创建 Pull Request 的内部循环命令。

使用场景

  • 完成一个功能或修复后
  • 日常开发的频繁提交
  • 需要快速创建 PR 进行代码审查

执行步骤

  1. 检查状态git status 查看变更文件
  2. 暂存变更git add -A 或选择性暂存
  3. 生成 commit message:基于变更内容自动生成符合规范的提交信息
  4. 提交git commit -m "<message>"
  5. 推送git push origin <branch>
  6. 创建 PR(可选):gh pr create 或打开 PR 链接

Commit Message 规范

<type>(<scope>): <subject>

<body>

<footer>

Type: feat | fix | docs | style | refactor | test | chore

参数

参数说明默认值
--no-pr只提交推送,不创建 PRfalse
--draft创建草稿 PRfalse
--amend修改上次提交false

示例输出

✓ Staged 3 files
✓ Committed: feat(auth): add OAuth2 login support
✓ Pushed to origin/feature/oauth
✓ PR created: https://github.com/user/repo/pull/123

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon