Automatically monitor CI/CD pipeline status of new push across GitHub and GitLab in one place. Auto DevOps this is the way 🦞!
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install gitflow或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install gitflow⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/gitflow/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: gitflow description: Automatically monitor CI/CD pipeline status of new push across GitHub and GitLab in one place. Auto DevOps this is the way 🦞! ---
GitFlow is an OpenClaw skill that automates code pushes and provides real-time CI/CD pipeline status monitoring for GitHub and GitLab repositories. It streamlines developer workflows by reducing context switching between repositories and pipeline dashboards.
The skill can automatically push changes and report pipeline results, enabling faster feedback and smoother deployments.
GitFlow can:
Use the gh CLI tool to fetch workflow status after pushing:
gh run list
Lists recent workflow runs for the repository.
gh run list --branch $(git branch --show-current) --limit 1
Shows the most recent workflow run for the current branch.
gh run view <run-id>
Displays detailed information about a specific workflow run.
gh run watch
Watches the most recent run until completion, streaming status updates.
gh run view <run-id> --log
Displays the full logs for a workflow run.
gh run view <run-id> --log-failed
Shows only the logs from failed jobs.
gh run rerun <run-id> --failed
Reruns only the failed jobs from a workflow run.
---
Use the glab CLI tool to fetch pipeline status after pushing:
glab ci status
Shows the status of the most recent pipeline on the current branch.
glab ci view
Opens an interactive view of the current pipeline with job details.
glab ci list
Lists recent pipelines for the repository.
glab ci view <pipeline-id>
View details of a specific pipeline by ID.
glab ci status --live
Continuously monitors the pipeline status until completion.
glab ci trace <job-id>
Streams the logs of a specific job.
---
Git doesn't have a native post-push hook, but you can create a git alias to automatically monitor pipeline status after pushing.
Add this to your ~/.gitconfig:
[alias]
pushflow = "!f() { \
git push \"${1:-origin}\" \"${2:-$(git branch --show-current)}\"; \
url=$(git remote get-url \"${1:-origin}\"); \
if echo \"$url\" | grep -q 'github.com'; then \
sleep 3 && gh run watch; \
elif echo \"$url\" | grep -q 'gitlab'; then \
sleep 3 && glab ci status --live; \
fi; \
}; f"
git pushflow
git pushflow origin main
---
安装 GitFlow 后,可以对 AI 说这些话来触发它
Help me get started with GitFlow
Explains what GitFlow does, walks through the setup, and runs a quick demo based on your current project
Use GitFlow to automatically monitor CI/CD pipeline status of new push across GitH...
Invokes GitFlow with the right parameters and returns the result directly in the conversation
What can I do with GitFlow in my developer & devops workflow?
Lists the top use cases for GitFlow, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/gitflow/ 目录(个人级,所有项目可用),或 .claude/skills/gitflow/(项目级)。重启 AI 客户端后,用 /gitflow 主动调用,或让 AI 根据上下文自动发现并使用。
GitFlow 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
GitFlow 可免费安装使用。请查阅仓库了解许可证信息。
Automatically monitor CI/CD pipeline status of new push across GitHub and GitLab in one place. Auto DevOps this is the way 🦞!
GitFlow 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using GitFlow
Identifies repetitive steps in your workflow and sets up GitFlow to handle them automatically