Implement comprehensive error handling for Python code paths to keep services resilient and user-friendly. Use when failures are currently silent or exceptions leak through.
中文简介正在准备中。当前显示原文说明。
After pushing code or creating a PR, automatically wait for CI checks to complete, fix failures, address Bugbot findings, and re-push in a loop until the PR is green. Use when the user pushes to a PR, creates a PR, or asks to get a PR to green.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Drive a PR to green by iterating: push → wait for checks → fix failures → address Bugbot → re-push → repeat.
pr-create finishes)gh CLI installed and authenticatedgit status to check for uncommitted changes.git push -u origin HEAD.pr-create skill and wait for user approval before continuing.gh pr view --json number -q .number
Poll until all check suites finish (no pending / queued / in_progress remaining):
gh pr checks <PR_NUMBER> --watch --fail-fast
If --watch is unavailable or hangs, fall back to a manual polling loop:
while true; do
STATUS=$(gh pr checks <PR_NUMBER> --json name,state --jq '[.[].state] | unique | join(",")')
echo "Check states: $STATUS"
# Break when no "PENDING", "QUEUED", or "IN_PROGRESS" remain
echo "$STATUS" | grep -qiE 'pending|queued|in_progress' || break
sleep 30
done
Report the final status summary before proceeding.
If any check failed:
ci-fix skill (fetch logs, classify, auto-fix or diagnose).fix(<scope>): <description>.Bugbot posts review comments on the PR. Fetch and fix them:
github-pull-request-handling skill's script):SKILL_BASE_DIR/scripts/pr-conversations.sh <PR_NUMBER>
For each unresolved Bugbot comment:
fix(<scope>): address bugbot — <short description>.github-pull-request-handling for reply format).For non-Bugbot review comments: skip them — those are for the author to triage manually.
git push.If the loop limit is hit, report the remaining failures and stop.
When the PR is green (or the loop limit is reached), output a summary:
## PR Green Loop — Result
**PR**: #<number>
**Status**: ✅ All green / ⚠ Issues remain after 3 iterations
**Iterations**: <count>
**Fixes applied**:
- <commit hash>: <description>
- <commit hash>: <description>
**Remaining issues** (if any):
- <description of unresolved failure or comment>
| Concern | Delegate to |
|---|---|
| Creating the PR | pr-create |
| Diagnosing CI failures | ci-fix |
| Fetching/replying to review comments | github-pull-request-handling |
| Commit message format | git-conventional-commits |
| Python lint/format fixes | ruff |
| Lock file sync | uv |
git push.git add . — stage only files related to the fix.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Implement comprehensive error handling for Python code paths to keep services resilient and user-friendly. Use when failures are currently silent or exceptions leak through.
中文简介正在准备中。当前显示原文说明。
Tabular and numerical data analysis with descriptive statistics and insights. Use when the user provides data, tables, CSVs, or numbers and wants analysis.
中文简介正在准备中。当前显示原文说明。
Financial factsheet analysis with key metrics extraction and investment rationale
中文简介正在准备中。当前显示原文说明。
Diagnose and fix CI failures without leaving your editor.
中文简介正在准备中。当前显示原文说明。
Reproduce ai-repo PR checks locally with Poe and CI scripts, including per-package typecheck and coverage behavior. Use when validating changes before push or when user asks which local commands match CI.
中文简介正在准备中。当前显示原文说明。
Ask clarifying questions before implementing to ensure Python requirements are understood. Use when a task lacks detail, dependencies are unclear, or multiple interpretations are possible.
中文简介正在准备中。当前显示原文说明。