• cy_narrator@discuss.tchncs.de
    link
    fedilink
    arrow-up
    6
    arrow-down
    40
    ·
    7 days ago

    Using AI properly is a skill guys it does not come automatically

    Also you need to demand it performs regression tests properly.

    Honestly popular models are so good these days if it produces wrong result its the fault of the one in front of the screen.

    We are not at the point of AGI so dont expect AI to read your mind

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      7 days ago

      Also you need to demand it performs regression tests properly.

      You think it cares about what you “demand”?

      • cy_narrator@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        7 days ago

        First you write your requirements properly in a text or a markdown file. It should properly explain what you want and more importantly what you dont want. Then you give that to AI and dont forget to include “ask any number of clarifying questions before we begin”

        Next, be prepared to answer all of its clarifying questions. If you dont know you can ask it to suggest recommended option and pros and cons of each approach

        Yeah it will take an entire day. Deal with it. If your requirement is not to just create a few pages of html and css it may take upto half day to a full day but once you are clear. Ask it to write specs and plan and it will.

        Then when you are happy with the plan it will start building it. At that point you can step off and let it do its thing

        • dontbelievethis@sh.itjust.works
          cake
          link
          fedilink
          arrow-up
          1
          ·
          6 days ago

          I have the problem that I defined coding patterns, eslint rules etc. But at some points it just ignores it.

          It seems it just doesn’t have those defined rules available at all times.

          You said to explicitly define things that the agent shouldn’t do?

          Using Claude code if that matters.

          • cy_narrator@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            6 days ago

            Where do you define it? Do you define it in CLAUDE.md? That thing gets loaded on every conversation so it should pick up.

            Ohh and one thing, you are only supposed to put there something that is absolutely necessary. Things like “This project uses Typescript” is absolutely unnecessary because its something claude will auto infer. Something like “Do not push into master branch” should be there. Also as it gets loaded on every conversation, you should keep it short or else your token usage blows up.

            You can have something like “YOU MUST STRICTLY FOLLOW GUIDELINES LISTED IN commit_guidelines.md BEFORE YOU RUN ANY GIT COMMANDS” if you feel your CLAUDE.md is getting too large.

            But honestly, you should ask CLAUDE itself to write CLAUDE.md with strict and proper guardrails rather than yourself