agentleFS
lldwblldwb/lldwb-claude-skills/skills/module-batch/SKILL.md

module-batch

Skill1 starsChanged 47 days agoGPL-3.0View on GitHub

多模块并行改造/批量任务 — 为每个待处理模块创建一个独立 git worktree,各起一个子代理在 worktree 内直接完成该模块的改造任务(修改代码、执行测试、按容错条款处理失败、按门禁验收后提交),全部完成后合并回主分支并按规范提交。当用户要求"按模块批量改造/处理多个模块""多模块并行执行任务""按工作树隔离并行开发"时使用——任务说明必须写清测试命令与阶段门禁;单元隔离(一个模块 = 一个 worktree = 一个子代理);调度与执行分离、改造与审查分离;失败不静默(重试 ≤ 2 次,仍失败记"需人工介入"并继续其他单元)。即使未明确说"用 skill",只要涉及多模块批量/同构改造或需要 worktree 隔离并行执行就应使用。单个单元、不需要并行的结构改造用 refactor;缺陷修复用 bug-fix;小范围优化用 code-optimize。

The file

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.