stingraycharles 2 days ago

READMEs are written for people, CLAUDE.mds are written for coding assistants. I don’t write “CRITICAL (PRIORITY 0):” in READMEs.

The benefit of CLAUDE.md files is that they’re pulled in automatically, eg if Claude wants to read “tests/foo_test.py” it will automatically pull in “tests/CLAUDE.md” (if it exists).

  • llbeansandrice 2 days ago

    If AI is supposed to deliver on this magical no-lift ease of use task flexibility that everyone likes to talk about I think it should be able to work with a README instead of clogging up ALL of my directories with yet another fucking config file.

    Also this isn’t portable to other potential AI tools. Do I need 3+ md files in every directory?

    • whywhywhywhy 2 days ago

      > Do I need 3+ md files in every directory?

      Don’t worry, as of about 6 weeks ago when they changed the system prompt Claude will make sure every folder has way more than 3 .md files seen as it often writes 2 or more per task so if you don’t clean them up…

      • solumunus 2 days ago

        Strange. I haven’t experienced this a single time and I use it almost all day everyday.

    • mewpmewp2 2 days ago

      Is your logic that unless something is perfect it should not be used even though it is delivering massive productivity gains?

      • swiftcoder 2 days ago

        > it is delivering massive productivity gains

        [citation needed]

        Every article I can find about this is citing the valuation of the S&P500 as evidence of the productivity gains, and that feels very circular

    • stingraycharles 2 days ago

      It’s not delivering on magical stuff. Getting real productivity improvements out of this requires engineering and planning and it needs to be approached as such.

      One of the big mistakes I think is that all these tools are over-promising on the “magic” part of it.

      It’s not. You need to really learn how to use all these tools effectively. This is not done in days or weeks even, it takes months in the same way becoming proficient in eMacs or vim or a programming language is.

      Once you’ve done that, though, it can absolutely enhance productivity. Not 10x, but definitely in the area of 2x. Especially for projects / domains you’re uncomfortable with.

      And of course the most important thing is that you need to enjoy all this stuff as well, which I happen to do. I can totally understand the resistance as it’s a shitload of stuff you need to learn, and it may not even be relevant anymore next year.

      • tsimionescu 2 days ago

        While I believe you're probably right that getting any productivity gains from these tools requires an investment, I think calling the process "engineering" is really stretching the meaning of the word. It's really closer to ritual magic than any solid engineering practices at this point. People have guesses and practices that may or may not actually work for them (since measuring productivity increases is difficult if not impossible), and they teach others their magic formulas for controlling the demon.

      • [removed] a day ago
        [deleted]
      • llbeansandrice 2 days ago

        My issue is not with learning. This "tool" has an incredibly shallow learning curve. My issue is that I'm having to make way for these "tools" that everyone says vastly increases productivity but seems to just churn out tech-debt as quickly as it can write it.

        It a large leap to "requires engineering and planning" when no one even in this thread can seem to agree on the behavior of any of these "tools". Some comments tell anecdotes of not getting the agents to listen until the context of the whole world is laid out in these md files. Others say the only way is to keep the context tight and focused, going so far as to have written _yet more tools_ to remove and re-add code comments so they don't "poison" the context.

        I am slightly straw-manning, but the tone in this thread has already shifted from a few months ago where these "tools" were going to immediately give huge productivity gains but now you're telling me they need 1) their own special files everywhere (again, this isn't even agreed on) and 2) "engineering and planning...not done in days or weeks even

        The entire economy is propped up on this tech right now and no one can even agree on whether it's effective or how to use it properly? Not to mention the untold damage it is doing to learning outcomes.

      • fpauser 2 days ago

        >> [..] and it may not even be relevant anymore next year.

        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      • giancarlostoro 2 days ago

        Yeah I feel like on average I still spend a similar amount of time developing but drastically less time fixing obscure bugs, because once it codes the feature and I describe the bugs it fixed them, the rest of my times spent testing and reviewing code.

      • nineteen999 2 days ago

        Learning how to equip a local LLM with tools it can use to interact with to extend its capabilities has been a lot of fun for me and is a great educational experience for anyone who is interested. Just another tool for the toolchest.

  • pmarreck 2 days ago

    > “CRITICAL (PRIORITY 0):”

    There's no need for this level of performative ridiculousness with AGENTS.md (Codex) directives, FYI.

  • brigandish 2 days ago

    I often can't tell the difference between my Readme and Claude files to the point that I cannibalise the Claude file for the Readme.

    It's the difference between instructions for a user and instructions for a developer, but in coding projects that's not much different.

  • adastra22 2 days ago

    Is this documented anywhere? This is the first I have ever heard of it.

    • grumbelbart 2 days ago

      Here: https://www.anthropic.com/engineering/claude-code-best-pract...

      claude.md seems to be important enough to be their very first point in that document.

      • ffsm8 2 days ago

        Naw man, it's the first point because in April Claude code didn't really gave anything else that somewhat worked.

        I tried to use that effectively, I even started a new greenfield project just to make sure to test it under ideal circumstances - and while it somewhat worked, it was always super lackluster and way more effective to explicitly add the context manually via prepared md you just reference in the prompt.

        I'd tell anyone to go for skills first before littering your project with these config files everywhere