batch-orchestration

仓库创建 2026年2月2日最近提交 1 天前SkillHot 收录 22 天前
▸ 精选理由

适合迁移、重构或大批量 codemod 的高效策略。

这个 Skill 做什么

把大范围改动拆成独立单元并在隔离工作树中并行执行。

把大范围代码或配置改动拆成独立单元,在隔离的 worktree 里并行派 agent 执行,适合迁移、重构或 codemod 等涉及 10+ 文件的场景。会产出分解计划、并行执行并在每个单元跑测试后收集结果,减少冲突与人工审查。特点是把大规模变更变成可控、可回滚的并行子任务。

▸ 展开 SKILL.md 英文原文

Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.

开发编程大规模变更并行agent代码迁移Claude Code
2.7k
Stars
263
Forks
40
仓库内 Skill
+73
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/batch-orchestration/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/batch-orchestration/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Batch Orchestration

The `/batch` command pattern for large-scale parallel changes.

## How It Works

```text
/batch <instruction>
  │
  ├── 1. Research: scan repo, understand scope
  ├── 2. Decompose: split into 5-30 independent units
  ├── 3. Present plan: show units, ask for approval
  ├── 4. Execute: one background agent per unit in isolated worktree
  └── 5. Collect: each agent runs tests and opens a PR
```

## Syntax

```bash
/batch Convert all React class components to function components
/batch Add error boundaries to every page component
/batch Migrate from moment.js to dayjs across the codebase
/batch Add OpenTelemetry tracing to all API handlers
```

The instruction should descr
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有