Conversation
|
Tips on CLAUDE.md from Boris Cherny (Claude Code):
source: https://x.com/bcherny/status/2017742741636321619?s=20 |
|
I have a couple of updates but in general looks good. Question is naming. |
|
from what I understand, almost everyone is using and this post suggests using # Damn you Claude!
# https://github.com/anthropics/claude-code/issues/6235
echo 'See @AGENTS.md' > CLAUDE.mdmy only other general tip would be not to overthink this first step. just get it in there. You will inevitably be happy with it in some ways and frustrated in other ways. When it does something stupid, just keep updating it. |
| This is a uv workspace with multiple packages: | ||
| - **`pydantic_ai_slim/`**: Core framework (minimal dependencies) | ||
| - **`pydantic_evals/`**: Evaluation system | ||
| - **`pydantic_graph/`**: Graph execution engine | ||
| - **`examples/`**: Example applications | ||
| - **`clai/`**: CLI tool |
There was a problem hiding this comment.
Left over from copy and paste of Pydantic AI's version?
Description
To best help us and potential contributors to make the best of Claude models when working with the CAREamics code-base, we should add a
CLAUDE.mdfile that will guide the LLM into modifying the code while respecting its principles.Because I am myself not using it extensively with project-wide context, this is better as draft for us to play around. So I just put some thoughts specifically for the next version of CAREamics (what we refer to as
NG CAREamics, which is based around theNGDataset).Things we could add:
__ini__.py, which is currently not true but could be implemented throughout.Claude.mdfiles distributed in the various modules? I'd prefer to put the relevant info in the__init__.pyor aREADME.mdsince it will be relevant to other LLMs.@veegalinova @melisande-c @igor in particular, could you have a look and:
Also please comment anything that comes to mind! In particular what can be useful in guiding the model effectively (also tagging @tlambert03 to benefit from his knowledge 😄).
We will probably also add a copy as
.github/copilot-instructions.mdto the same effect (or make it so it uses the same file).