بنقرة واحدة
batch-retry
Retry failed batch tasks. Cleans up failed branches/PRs and re-runs specified tasks.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Retry failed batch tasks. Cleans up failed branches/PRs and re-runs specified tasks.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement UI from Figma designs via MCP with a closed-loop pixel-parity check. Extract exact values (never eyeball), translate to SwiftUI, then render→diff→fix against the Figma export until it matches. Use when implementing or auditing UI against Figma.
HTTP networking layer reference — TargetType, HTTPClient, services, error handling.
Fetch CodeRabbit review comments from batch PRs and auto-fix the issues. Pushes fixes and re-requests review.
Run multiple tasks overnight as parallel PRs. Produces a PRD per task, selects skills/rules, spawns isolated agents, and reports PR links.
Run multiple tasks overnight as parallel PRs. Produces a PRD per task, selects skills/rules, spawns isolated agents, and reports PR links.
Run SwiftLint and xcodebuild to verify the project compiles cleanly.
| name | batch-retry |
| description | Retry failed batch tasks. Cleans up failed branches/PRs and re-runs specified tasks. |
Companion to /batch-tasks. Retries specific tasks that failed during a batch run. Cleans up the failed attempt (branch + PR if created) and re-executes with the same PRD.
/batch-retry 2, 4 # retry tasks 2 and 4 by their batch index
/batch-retry #42 # retry by GitHub issue number
/batch-retry branch-name # retry by branch name
Parse the user's input to determine which tasks to retry. Find the associated PRs/branches:
# Find PR by branch name
gh pr list --head "{branch-name}" --json number,title,url,headRefName,state
# Or find by issue reference
gh pr list --search "Closes #{issue-number}" --json number,title,url,headRefName,state
Confirm cleanup with the user before proceeding with any destructive operations.
For each task to retry:
gh pr close {number} --comment "Closing for retry via /batch-retry"
git push origin --delete {branch-name}
git branch -D {branch-name} 2>/dev/null || true
For each task, follow the same execution flow as /batch-tasks Phase 3:
Spawn an Agent with:
subagent_type: "general-purpose"isolation: "worktree"run_in_background: trueUse the same agent prompt template from /batch-tasks, but add context about the previous failure:
## Previous Attempt
This task was previously attempted and failed. Here is context from the failed attempt:
- **Error**: {error summary from the failed run or PR body}
- **What was tried**: {brief description of what the previous attempt did}
Avoid the same mistakes. Pay extra attention to:
{specific guidance based on the failure reason}
Present results in the same format as /batch-tasks Phase 4:
## Retry Complete
| # | Task | Branch | PR | Build | Lint | Status |
|---|------|--------|----|-------|------|--------|
| 2 | {title} | `{branch}` | {PR URL} | pass/fail | pass/fail | pass/fail |
| 4 | ... | ... | ... | ... | ... | ... |