Agent Skills
› DenisovAV/flutter_gemma
› ci-status
ci-status
GitHub检查当前分支或PR的CI状态,展示失败作业日志并分析根因。适用于开发过程中快速定位构建或测试失败问题,辅助调试和修复代码。
Trigger Scenarios
检查PR合并前的CI检查结果
排查本地分支CI构建失败原因
查看最近工作流运行状态
Install
npx skills add DenisovAV/flutter_gemma --skill ci-status -g -y
SKILL.md
Frontmatter
{
"name": "ci-status",
"description": "Check CI status for current branch or PR, show failed job logs"
}
CI Status Check
Steps
-
Determine target:
- If argument is a PR number, use that
- Otherwise, find PR for current branch:
gh pr list --head $(git branch --show-current) --json number -q '.[0].number' - If no PR found, check latest workflow runs:
gh run list --branch $(git branch --show-current) --limit 3
-
Show check status:
gh pr checks <PR_NUMBER> -
If any checks failed, show failed logs:
gh run view <RUN_ID> --log-failed 2>&1 | tail -80 -
Summarize:
- Which jobs passed/failed/pending
- For failures: root cause from logs (error message, not full log)
- Suggest fix if obvious
Version History
- 451fc69 Current 2026-08-20 14:01


