← Browse by Chapter
Get the Book →
#51Terminal 3
I have three active sessions: [list session names]. For each, `[VERIFY]`: (1) the session's working directory still exists on disk, (2) the worktree is on the expected branch (not detached HEAD), (3) no uncommitted changes from a different ticket have leaked in, (4) the session context hasn't been silently compacted. Output as a table: Session | Directory | Branch | Uncommitted | Context health | Action needed.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.