Skip to main content
Run any Skill in Manus
with one click

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

Stars2
Forks0
UpdatedJuly 8, 2026 at 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

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly