Skip to main content

generate_pointer

Function generate_pointer 

Source
pub fn generate_pointer() -> String
Expand description

The CLAUDE.md pointer, START and END inclusive.

Claude Code loads CLAUDE.md; the tool-neutral convention is AGENTS.md. Writing the whole block into both would be two copies to drift apart, so the guidance keeps ONE home and this is a generated signpost to it — inside the same markers, so --check reports a stale pointer exactly as it reports a stale block. A hand-written “see AGENTS.md” line is the one part that could rot silently; this cannot.