From a8178a96106406a4aa10f0d3bf318dac1178d787 Mon Sep 17 00:00:00 2001 From: saheli56 Date: Sun, 19 Jul 2026 14:03:38 +0530 Subject: [PATCH] docs: update CLAUDE.md to enforce repository rules for Claude Code Updates the existing CLAUDE.md to explicitly instruct the Claude Code CLI to read AGENTS.md before making any codebase changes. This ensures the AI has full context on architecture, styling, and testing without duplicating the rules across multiple files. Fixes #510 --- CLAUDE.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 47dc3e3d8..2f48d6f2a 120000 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1 +1,13 @@ -AGENTS.md \ No newline at end of file +# Claude Code Instructions + +You are working in the `agent-lightning` repository. + +**CRITICAL INSTRUCTION:** +Before making any changes to the codebase, you MUST read the `AGENTS.md` file located in the root directory. +It contains all the essential rules for: +- Build, Test, and Development Commands +- Architecture Overview +- Coding Style & Naming Conventions +- Testing Guidelines + +Always adhere strictly to the guidelines specified in `AGENTS.md`. \ No newline at end of file