Skip to main content
在 Manus 中运行任何 Skill
一键导入

parallel-session-coedit-via-source-mtime-and-idempotent-rebuild

星标2
分支0
更新时间2026年7月8日 11:09

Safely co-edit a deliverable WHILE another live session (a second Claude Code session, or a colleague's agent) is actively editing the same file. Use when: (1) the user warns "a parallel session is making active edits on the same file, don't delete each other's work / maybe only write when the other is finished", (2) the deliverable is BUILT from many per-item source files by an assembler (e.g. sections/*.html -> _assemble.py -> one big HTML; docs, slides, reports), (3) you must make edits without clobbering — or being clobbered by — the other session's concurrent work. Covers: mapping hot/cool items via source-file mtime, editing only disjoint sources, why an idempotent rebuild is NON-destructive (so your edits survive the other session's rebuild), the false-negative grep gotcha when verifying content landed in assembled HTML, how to CHECK COVERAGE ("is card X present / missing?") against the sources rather than the build, and the end-of-session HANDOFF/COMMIT discipline on the shared branch (commit only you

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly