Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: load agent guides via @path imports instead of markdown links

Sheen Capadngan10d291d2afee
diff --git a/CLAUDE.md b/CLAUDE.md
index bf457f82fc..a99e616430 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -105,5 +105,8 @@ When making significant changes to the codebase (new services, architectural shi
3. Check the backend work against [`backend/CODE_QUALITY.md`](backend/CODE_QUALITY.md)
4. Run `make reviewable-api` and `make reviewable-ui` before submitting
-## Helpful files
-Read AGENTS.md for additional context.
+## Helpful files
+
+Claude Code reads CLAUDE.md, not AGENTS.md, so the shared agent instructions are imported here rather than linked:
+
diff --git a/backend/CLAUDE.md b/backend/CLAUDE.md
index 031f405074..e3639b0981 100644
--- a/backend/CLAUDE.md
+++ b/backend/CLAUDE.md
@@ -4,7 +4,9 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
This is the **backend** package of the Infisical monorepo — a Fastify 4 API server with TypeScript, PostgreSQL via Knex, and BullMQ queues.
-**Read [`CODE_QUALITY.md`](CODE_QUALITY.md) for every change in this package, whatever the change is, and check your work against it before calling the task done.** This file covers *where* code goes and *which* pattern to follow; that one covers the minimum any implementation has to handle. It is a short, non-exhaustive floor (user-understandable errors and no pointless 500s, API input validation, pagination when calling third-party APIs, deadlock conditions on a small connection pool, REST-aligned API design), and that summary is not a filter for whether it applies.
+The backend code quality guide is imported below, so it is always in context for work in this package. **Check every change against it, whatever the change is, before calling the task done.** This file covers *where* code goes and *which* pattern to follow; the quality guide covers the minimum any implementation has to handle. It is a deliberately non-exhaustive floor, so the topics it happens to cover are not a filter for whether it applies.
+
+@CODE_QUALITY.md
## Essential Commands