Agent Skills
› DenisovAV/flutter_gemma
› ci-status
ci-status
GitHub检查当前分支或PR的CI状态,展示失败作业的日志并分析根因。通过GitHub CLI获取PR检查状态,若失败则提取关键错误信息并提供修复建议,帮助开发者快速定位和解决持续集成问题。
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


