Agent Skills
› keychat-io/keychat-app
› batch
batch
GitHub协调跨代码库的大规模变更,通过并行隔离工作区代理执行。适用于需同时对多个文件或模块应用相似更改的场景,支持计划审批、并行执行及结果汇总。
Trigger Scenarios
需要对大量文件进行批量修改
涉及多模块的并行重构或统一调整
Install
npx skills add keychat-io/keychat-app --skill batch -g -y
SKILL.md
Frontmatter
{
"name": "batch",
"invoke": "user",
"description": "Orchestrate large-scale changes across the codebase using parallel worktree agents. Use when you need to apply similar changes to many files or modules simultaneously."
}
Batch
Research and plan a large-scale change, then execute it in parallel across isolated worktree agents.
Workflow
Phase 1: Research & Plan
- Understand the requested change thoroughly
- Identify all files and modules that need modification
- Group changes into independent, parallelizable units (max 10 units)
- Present the plan to the user for approval before proceeding
Phase 2: Execute
- For each unit of work, launch an Agent with
isolation: "worktree"to make the changes independently - Run agents in parallel where possible (up to 5 concurrent agents)
- Each agent should:
- Make the required changes
- Run relevant tests or lint checks
- Commit changes with a clear message
Phase 3: Review & Merge
- Collect results from all agents
- Report successes and failures
- For successful changes, present diffs for user review
- Help merge changes back to the main branch
Rules
- Always get user approval before executing changes
- Never modify more than what was requested
- If a unit fails, continue with others and report the failure
- Keep the user informed of progress throughout
Version History
- 294d00d Current 2026-07-05 10:51


