From bf7cd9c1f5961699a181f197e9a475b48ce118ca Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Tue, 8 Sep 2026 14:40:09 -0500 Subject: [PATCH] Import ../ai/CLAUDE.md instead of linking to it A markdown link means an agent has to notice it and manually go read the file; an @-include auto-loads it into context the same way ~/.claude/CLAUDE.md already imports its own siblings. Mirrors pg_count_nulls PR #64's conversion of the same link. --- CLAUDE.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5b3db36..e63db0d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,10 +1,11 @@ # extension_tools (PGXN extension: `extension_drop`) -See [`../ai/CLAUDE.md`](../ai/CLAUDE.md) (or -https://github.com/Postgres-Extensions/ai/blob/main/CLAUDE.md if that path -doesn't exist locally — clone it to `../ai/` per its own first instruction) -and `../ai/PR.md` for cross-repo conventions (CI monitoring, PR/commit -conventions, etc.) not restated here. +@../ai/CLAUDE.md + +If `../ai/CLAUDE.md` doesn't exist locally (see +https://github.com/Postgres-Extensions/ai), clone it now per its own +first instruction, then re-read it — do not rely on the import above +alone to have picked it up in that case. ## Schema independence in testing