How to Write CLAUDE.md: Three Types of Effective Instructions
How to write CLAUDE.md to give Claude Code project context, with before-and-after examples and the boundary between guidance and enforcement.
A guided series covering instruction files, shared rules, tool selection, handoffs, worktree state, and memory
6 postsHow to write CLAUDE.md to give Claude Code project context, with before-and-after examples and the boundary between guidance and enforcement.
How to centralize Claude Code and Codex policy in shared/, organize it by role, connect tool-specific references, and use synchronization checks to reduce missed updates.
How I choose between Claude Code and Codex in the same repository by comparing discussion, design, implementation, verification, and handoff work.
How to hand work between Claude Code and Codex: record current state, completed work, remaining tasks, reasoning, and verification results, then resume in the next session.
A safe handoff process for uncommitted changes, separating what Codex Local, Worktree, and Cloud environments can see.
Learn which preferences and cautions belong in Codex Memories, which mandatory rules belong in AGENTS.md, and when to stop or review memory use and generation.