GitHub Flow Skill — Git skill for Claude Code
Claude Code 技能:一条 /github 命令把改动走完 分支→Issue→PR→自审→合并,刷满贡献雷达图四个维度.
How to install GitHub Flow Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open LeoLee0812/github-flow-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What GitHub Flow Skill does
Claude Code 技能:一条 /github 命令把改动走完 分支→Issue→PR→自审→合并,刷满贡献雷达图四个维度.
Alternatives in Git
- Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Gh Address Comments — Address review and issue comments on open GitHub PRs via CLI 14.6k ★
README
🔀 github-flow-skill
**One Command, Full GitHub Flow**
**一条 `/github` 命令,把"裸 push"升级成 分支 → Issue → PR → 自审 → 合并 的正规协作流程**
     
很多人(尤其是个人项目)习惯直接 `git commit && git push` 到 `main`,结果 GitHub 个人主页的贡献雷达图变成一条**横线**:Commits 占了 97%,Pull requests 个位数,Issues 和 Code review 直接是 0。
这个 Skill 让 Claude Code 在你输入 `/github` 时,自动把当前改动走完整流程:
① 建 Issue → 计入 Issues
② 切规范分支
③ commit + push
④ 开 PR(Closes #Issue) → 计入 Pull requests
⑤ 贴自审 comment → 计入 Code review
⑥ 停下来等你确认
⑦ squash 合并 + 删分支 + 自动关 Issue → 计入 Commits
一次跑完,**雷达图四个角同时 +1**。坚持几周,那条横线就会鼓成一个饱满的多边形。
想先看看实际效果?直接读 [`examples/示例流程.md`](examples/示例流程.md),那是本仓库自己真实跑过的一次循环。
✨ 特点
- 全程命令行:基于 `gh` CLI,不用打开 GitHub 网页。
- 显式触发:只有你输入
/github才运行,平时的git commit/git push完全不受影响,绝不自动套用。 - 合并前刹车:分支、Issue、PR、自审全自动完成,但合并这一步会停下来,给你 PR 链接和 diff 摘要,等你说"合并"才执行——不可逆的操作绝不替你做主。
- 不止是刷图:Issue 逼你想清楚再动手、分支隔离改动、PR 留下可回溯的讨论页面——刷雷达图只是副产品。
📦 安装
方法一:简易安装(推荐)
把下面这段话直接粘贴到 Claude Code 里,让它带着你把安装和检查一次走完:
帮我安装这个 skill:https://github.com/LeoLee0812/github-flow-skill
把仓库里的 github/ 文件夹装到 ~/.claude/skills/,
然后帮我检查 gh CLI 是否已安装并完成登录(gh auth status),
没装的话带我装好并登录。
Claude 会自己克隆仓库、复制文件、检查依赖,全程不用手动操作。
方法二:手动安装
前提:已安装 [`gh` CLI](https://cli.github.com/) 并完成 `gh auth login`。
1.
Related Skills
Take Issue
把 /maigo:triage-issue 判定 READY 的 GitHub issue 接進實作——orchestrator 前置抓料,整理成需求敘述後交給標準 teammate-flow(樂奈探索、燈寫 plan、
Xdoubleu Claude Plugins
Personal Claude Code plugin marketplace: generic skills for task flow, session retros, git cleanup, and GitHub
Zcf
GitHub Repo stars Zero-Config Code Flow for Claude code & Codex Zero-config workflow
Agent Flow
Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and coordinate as
Flow Git
Use the @flow-git agent for git operations: $ARGUMENTS
Hybrid Worktree
Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode. Creates worktree, branch, loads exist
Related Agents
Report Maker
Use during a complex, multi-stage epic (the wizard flow) to CREATE and MAINTAIN a living status dashboard as a
OSS
Open-source maintainer of redbar — repository governance, not the prose (that's the scribe's job). Invoke for
Flow Code Reviewer
Independent adversarial reviewer for a branch diff. Dispatched by flow-ship-issue's review phase (or manually)