agentleFS
nemori-ainemori-ai/cc-master/.claude/skills/worktree-discipline/SKILL.md

worktree-discipline

Skill12 starsChanged 4 months agoLicence not identifiedView on GitHub

cc-master 仓库自用的 git worktree 隔离纪律——Solo(单任务单 worktree)与 Fan-out(多 worktree 并行)两种操作模式 + 一组防止并行开发污染 main checkout 或彼此的红线。何时用 / Use when:(1) 开始一段需要与 main checkout 隔离的实现工作、动第一次文件编辑之前;(2) 把并行实现 fan-out 到多个 worktree;(3) 决定这场并行怎么收口(各自 feature-branch PR vs HUB 集成分支合并回);(4) 一次 merge / PR 落地后的清理墙、开下一个 PR 之前;(5) 给一个将在 worktree 内工作的 sub-agent 写派发 prompt;(6) 作为 master orchestrator dogfood 本仓、fan-out 后台 worker 之前先立起隔离拓扑。Triggers: worktree、隔离、fan-out、并行改文件、cd 进哪个树、main 被污染、清理残留 worktree、spoke 该不该 commit。Do NOT use when:把目标切成任务 DAG / 排 wave(那是 slicing-goals-into-dags + master-orchestrator-guide 的 decomposition),worktree 内的 TDD / 测量循环(dev-as-ml-loop / engineering-with-craft),或 PR 创建与 merge 机制(AGENTS.md §11 的 gh 手工流——本仓没有 github-pr skill)。

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.