Discussion about this post

User's avatar
Paweł Huryn's avatar

Stellar job, John. And I should have more carefully verified the prompt. My actual solution uses... index 😀https://www.productcompass.pm/p/self-improving-claude-system

Gordon Erlebacher's avatar

Hi John,

Excellent post! Could you clarify whether you put Pawel's prompt in ~/.claude/CLAUDE.md, or in CLAUDE.md at the project level? I assume that the file structure you discuss is global, but that is not always 100% clear. Here is an example: in CLAUDE.md, you added:

```

Maintain a structured memory system rooted at .claude/memory/

```

I assume you mean ~/.claude/memory (notice the tilde + slash.) Just want to make sure. As models become better at following instructions, lack of precision will lead to errors in the future where none existed before. Thanks.

4 more comments...

No posts

Ready for more?