Some AI tips for developing on Claude with or without Claude Code.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mainstreammix
    Make GFY Great Again
    • May 2022
    • 11191

    #1

    Business Some AI tips for developing on Claude with or without Claude Code.

    Discord: https://discord.gg/J7qsYmDg

    When I see people complain about the issues they have with AI I know exactly what they mean because I ran into all of those headaches as well. However, using good prompts and project management literally makes things 1000x better and less frustrating. I get no hallucinations, no remodeling of structure without asking, no destroying code because it gets too complicated, etc.

    I don't want to go over every single detail because a lot you can read about or figure out easily enough but I will tell you how I, a non coding idiot, am able to get anything I want out of AI quickly and effectively.

    First things first,

    Projects on Claude Web

    Claude allows you to create a project for a specific thing you are developing and save all of your scripts there as they are generated for easy recall.

    You can also give instructions for the overall project so you don't have to keep repeating yourself.

    I don't really fill these out with extreme details (why later) but I do give some rules that matter for me. As a simple example I absolutely loathe using cmd prompt to browse to folders and execute scripts. I also don't like editing code snippets and I hate when scripts crash over something minor then I have to chase down the bug.

    So my instructions are usually very simple like

    Always make my python scripts executable by double click.

    Always write error / status logs on scripts unless I say otherwise.

    Always give me the full rewritten code instead of telling me to replace or edit functions.


    These instructions alone have saved me so much busy time and annoyances it's crazy.

    General Tips

    I have seen so many people on these forums and IRL say that AI gets terrible when your project gets too big. I know, I've seen it, but you can avoid it completely.

    For the last massive thing I built I put the project instructions and in the initial prompt for Claude to modularize everything and make it organized AF with easy to decipher folder names. I am super specific in my first prompt but the result is a massive codebase that has things like my image processor in a single small file. It's connected to 7-15 other scripts that are also modularized and task specific which makes changing things a breeze. One of my workflows is grab data from site a in bulk with a crawler and database it, crawl site b to pull in additional data, crawl site c to pull in even more data, use script d to standardize one part of the data based on functions and script e to calculate my prices based on set rules and script f to generate text files with all of that data in a set format and script g to adjust that content for multiple sites with their own unique needs and script h to take all of the images and overlay a watermark for each unique site, upload those to a host via API and pull back in the watermarked urls for production use and script i to generate data files for each website or implementation. For instance I could have an import file made for WordPress or another CMS or both. It can go on and on but each script is it's own thing, not a wall of code that I struggle with later. If I need to edit a crawler or data layout it's a single small file and Claude can fix it in seconds.

    Just to visualize my folder structure might be

    Main > Crawlers > Site 1, Site 2
    Main > Scripts > image-processor, input-data-file-generator, import-generator

    Then in Configs I would have a file of my image host info like api key, and a site-specifics file with all of the dynamic things that would change per website so the other scripts can easily pull in correct unique info per site and I can add more with an extra line of variables.

    Run Things Local

    I've had so many people ask me what else I'm hooking into to work with databases, code, etc. and the answer is NOTHING. I run python and databases locally. If building a website I build locally then after I'm happy ask Claude to convert it to whatever code / format / specifications are needed to host somewhere.

    Always Make A Startup Launcher

    Super easy to end up with tons of scripts, backup scripts, etc. which turns into a complicated mess. To avoid this I always have Claude write me a startup launcher that when run shows all of my correct important scripts in the order I normally use them and I normally name it 000-start-here.py in root so it's right at the top. Open this, press 1 to do part 1, 2 to continue to next, etc. If you have a very standard flow you can make a script to execute things in order without prompts so it just does what you want with no input.

    Safeguards For Oddities

    When I make scripts or run into weird quirks of something I always give myself an out. Quick example is that when crawling thousands of pages on one site from time to time it will run into bad pages or malformed data. Instead of skipping all of these I often have a "if this happens prompt me for ____" built in. One site lands on good page or a multi result page and on that I made the trigger for "done" to be when it got to a standardized part of the right page. If the bad page is encountered I can tell it to save all for later and worry then or simple stop processing until I answer a prompt which in my case is either click on right item from the bad page or hit S for skip.

    Visual Viewer

    This one is magical. Every single time I'm working with anything I ask for a visual viewer that will show me in a pretty format what exactly I have in my database. Say you're fixing titles for images my viewer would show the image and title and anything else important so I can see that it's good on a page with 100 or 1000 results. I also make this viewer interact with the database and in the quickest way possible so I can click BAD IMAGE and it will tag that entry with that and it disappears from view (and into the bad image view.) Now I can work on those later all at once. You can even have a replace image, edit text or add data on the viewer to quickly go through these things.

    Request Entire Project Up Front!

    Claude is way better at making a functioning site or application if it knows what you want from the start. The last attempt I told it to make me a linktree clone with all of my specific changes, anything it thought my be important and in a way that adding more features later would be easy.

    It gave me back a complete and working website with 90% of the features I'd want, several awesome additions I didn't ask for and cleaning up the remainder was a breeze. I said I'd eventually want an affiliate program and it built the whole thing complete with stats tracking, referrals and very pretty charts in the affiliate login. It will give you just the core files until you say good and what about x but since it designed it with all in mind those all work amazingly.

    Ask For A Project Overview

    You know how annoying it is when a chat fills up which is why I always ask for a project overview file that lists all my paths, scripts created, to do list, etc. and update with new information on each change.

    Claude Code Specifically

    Give Claude access only to project folders and if modularized it will find it's way around easily.

    Include the project overview / flow file which it will save as MD so if you restart later you can say "read the MD to pick up where we left off."

    Tell it to make backups when x happens. Like I have a directive in project instructions to always back up my database when using scripts to directly change things in them in case I don't like the result or something happens.

    Tell it to update your instructions file after any major change and include relevant notes.

    Tell it to put any 1 time use or temp scripts in some folder and even to delete after use. I might say I need to take all x out of my database and it will write a script, I do not want this in root or cluttering up folders I use so I have them all go into 'codework' or 'temp-scripts' so I don't even see them.

    I normally run my first prompt on Claude web and then use Claude Code to work with it after. Once on Claude Code I get everything done from a single command prompt which is insane to me. It's like directing employees that run around being awesome while I do other things.

    =============

    That's all I can think of off the top of my head but in general I promise you that anything you have wanted to build in the past you can build today. I have yet to run into a single thing that I couldn't get done and with preplanning and a good initial prompt it is insanely good. I got lazy on my last attempt and the mess / organizing the mess took up 20x the time so I just redid it and it's blazing fast and accurate.

    If you want to yap about AI casually or ask questions I'm on Discord always. https://discord.gg/J7qsYmDg
    Stop asking me about AI, the answer is yes.
  • Farang
    one sick puppy
    • Oct 2004
    • 11713

    #2
    anthropic docs plus medium.com subscription would get one all the info necessary to run claude code efficiently. lately i find myself often falling asleep to medium.com articles text to speech instead of podcasts - it’s a cool feature.
    fbm

    Comment

    • mainstreammix
      Make GFY Great Again
      • May 2022
      • 11191

      #3
      Originally posted by Farang
      anthropic docs plus medium.com subscription would get one all the info necessary to run claude code efficiently. lately i find myself often falling asleep to medium.com articles text to speech instead of podcasts - it’s a cool feature.
      I've read nothing, it's too easy as it is. Until you go play with it it's really hard to envision how wild this stuff is.
      Stop asking me about AI, the answer is yes.

      Comment

      • Publisher Bucks
        Confirmed User
        • Oct 2018
        • 1330

        #4
        Originally posted by mainstreammix
        I've read nothing, it's too easy as it is. Until you go play with it it's really hard to envision how wild this stuff is.
        Its easy yes, but not always secure, espeically when publishing code in the 'real world' and not locally.

        Lately I've found myself having to direct it more and more to add CSRF on forms as well as making sure when it hashes passwords it does it properly instead of just using a basic salt.
        Extreme Link List - v1.0

        Comment

        • mainstreammix
          Make GFY Great Again
          • May 2022
          • 11191

          #5
          Originally posted by Publisher Bucks
          Its easy yes, but not always secure, espeically when publishing code in the 'real world' and not locally.

          Lately I've found myself having to direct it more and more to add CSRF on forms as well as making sure when it hashes passwords it does it properly instead of just using a basic salt.
          I'm not publishing anything that requires that type of security yet but if so I'd ask the web version to lock it down then ask some other AI if it was secure or not.

          I try to build in a way all my tools are local and anything published gets added to an existing CMS with their own brand of security. I'm sure there's some more complex things out there where I'll have to figure it out but so far I haven't needed to.
          Stop asking me about AI, the answer is yes.

          Comment

          • AmeliaG
            Too lazy to set a custom title
            • Jan 2003
            • 10662

            #6
            Good post 👍
            GFY Hall of Famer

            AltStar Hall of Famer




            Blue Blood's SpookyCash.com

            Babe photography portfolio

            Comment

            • mainstreammix
              Make GFY Great Again
              • May 2022
              • 11191

              #7
              Originally posted by AmeliaG
              Good post 👍
              Thanks, and remember that I'm an idiot. Others are doing much more complex things but I can get what I need out of AI.

              https://www.reddit.com/r/ClaudeAI/co..._platform_for/
              Stop asking me about AI, the answer is yes.

              Comment

              • celandina
                Too lazy to set a custom title
                • Jun 2006
                • 11721

                #8
                Everybody talking techno " mumbo jumbo", but very few can show a 15 sec. sexy video shot which looks like anything close to reality....Good riddance, when do you people get that stills cannot be monetised. I have said elsewhere here, I will pay good money to somebody who can actually make a realistic and sexy video.

                Comment

                • fris
                  Too lazy to set a custom title
                  • Aug 2002
                  • 55679

                  #9
                  i like gemini pro
                  Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                  Comment

                  • mainstreammix
                    Make GFY Great Again
                    • May 2022
                    • 11191

                    #10
                    Originally posted by celandina
                    Everybody talking techno " mumbo jumbo", but very few can show a 15 sec. sexy video shot which looks like anything close to reality....Good riddance, when do you people get that stills cannot be monetised. I have said elsewhere here, I will pay good money to somebody who can actually make a realistic and sexy video.
                    1) I don't do anything or care about video content.

                    2) Just playing around with the stupidest versions online I was able to turn a still of my wife from 20 years ago into a video of her flashing me her tits. I mean go play around if that is what you want.

                    https://clothoff.net/gen
                    Stop asking me about AI, the answer is yes.

                    Comment

                    • Shoplifter
                      Richest man in Babylon
                      • Jan 2002
                      • 5844

                      #11
                      I just started vibe coding with Claude in hopes of replacing some of the old scripts I am using. Things like the old Mechbunny TGP script.

                      So far it's been wildly successful, and I moved to the paid version today.

                      It's as close to magic as anything I have seen in my time using computers.

                      But it does fuck up maybe 50% of the time and doesn't save the changes it makes to the downloadable code. So I see "You're right! Let me rewrite the entire code to ensure all the changes are properly included" all the time.

                      Comment

                      • mainstreammix
                        Make GFY Great Again
                        • May 2022
                        • 11191

                        #12
                        Originally posted by Shoplifter
                        I just started vibe coding with Claude in hopes of replacing some of the old scripts I am using. Things like the old Mechbunny TGP script.

                        So far it's been wildly successful, and I moved to the paid version today.

                        It's as close to magic as anything I have seen in my time using computers.

                        But it does fuck up maybe 50% of the time and doesn't save the changes it makes to the downloadable code. So I see "You're right! Let me rewrite the entire code to ensure all the changes are properly included" all the time.
                        Assuming you haven't used Claude Code yet?

                        Once you get the good base put it local and let code run through it an organize, document, backup, etc.
                        Stop asking me about AI, the answer is yes.

                        Comment

                        • Farang
                          one sick puppy
                          • Oct 2004
                          • 11713

                          #13
                          Originally posted by fris
                          i like gemini pro
                          really? have you tried opus 4.1 and prefer gemini pro? or you only used gemini pro and stuck with that? please elaborate if that's not too much trouble.
                          fbm

                          Comment

                          • Mr Pheer
                            So Fucking Banned
                            • Dec 2002
                            • 22083

                            #14
                            Originally posted by mainstreammix
                            1) I don't do anything or care about video content.

                            2) Just playing around with the stupidest versions online I was able to turn a still of my wife from 20 years ago into a video of her flashing me her tits. I mean go play around if that is what you want.

                            https://clothoff.net/gen

                            this is fuckin great so many of my Ai chics going topless now

                            Comment

                            • Shoplifter
                              Richest man in Babylon
                              • Jan 2002
                              • 5844

                              #15
                              Originally posted by mainstreammix
                              Assuming you haven't used Claude Code yet?

                              Once you get the good base put it local and let code run through it an organize, document, backup, etc.
                              No, but I could with my Pro Plan?

                              I pretty much just started yesterday on a whim, and I was able to achieve 90% of my goal with the free plan in a browser window.

                              Comment

                              • mainstreammix
                                Make GFY Great Again
                                • May 2022
                                • 11191

                                #16
                                Originally posted by Mr Pheer
                                this is fuckin great so many of my Ai chics going topless now
                                Stop asking me about AI, the answer is yes.

                                Comment

                                • mainstreammix
                                  Make GFY Great Again
                                  • May 2022
                                  • 11191

                                  #17
                                  Originally posted by Shoplifter
                                  No, but I could with my Pro Plan?

                                  I pretty much just started yesterday on a whim, and I was able to achieve 90% of my goal with the free plan in a browser window.
                                  Misread initially, yes Code is free and it just makes certain things easier. If you have Claude write you a document to keep up with what everything does and goals and tell it when you want backups done it will go edit the code directly and save a lot of time and headache. The web version often does initial complex scripts better depending on what you are trying to accomplish.
                                  Stop asking me about AI, the answer is yes.

                                  Comment

                                  • Mr Pheer
                                    So Fucking Banned
                                    • Dec 2002
                                    • 22083

                                    #18
                                    Originally posted by Shoplifter
                                    No, but I could with my Pro Plan?

                                    I pretty much just started yesterday on a whim, and I was able to achieve 90% of my goal with the free plan in a browser window.
                                    Yes.

                                    On a mac, open terminal and do:
                                    Code:
                                    brew install node
                                    npm install -g @anthropic-ai/claude-code

                                    Comment

                                    • DoubleDreams
                                      Confirmed User
                                      • Jan 2024
                                      • 106

                                      #19
                                      Originally posted by celandina
                                      Everybody talking techno " mumbo jumbo", but very few can show a 15 sec. sexy video shot which looks like anything close to reality....Good riddance, when do you people get that stills cannot be monetised. I have said elsewhere here, I will pay good money to somebody who can actually make a realistic and sexy video.


                                      Will be outputting this kind of quality by EOM, all from our own servers. If you're building somthing similar let's connect for good mojo.
                                      Meet Naked Models | Make Money in Adult

                                      Comment

                                      • DoubleDreams
                                        Confirmed User
                                        • Jan 2024
                                        • 106

                                        #20
                                        Originally posted by mainstreammix
                                        Discord: https://discord.gg/J7qsYmDg

                                        When I see people complain about the issues they have with AI I know exactly what they mean because I ran into all of those headaches as well. However, using good prompts and project management literally makes things 1000x better and less frustrating. I get no hallucinations, no remodeling of structure without asking, no destroying code because it gets too complicated, etc.

                                        I don't want to go over every single detail because a lot you can read about or figure out easily enough but I will tell you how I, a non coding idiot, am able to get anything I want out of AI quickly and effectively.
                                        You're the second person in two days i've heard hyping the benefits of Claude over other models. good friend and business partner from the mainstream literally went on a similar 30min rant on the phone last night raving about Claude Features. Everything from agentic ai phone systems to automating cpc campaigns. the future is now, my mind is blown every day. I've been loyal to Chat-GPT since day one but might have to spin up a side project just to give Claude a try ...here we go another saas subscription cost ffs
                                        Meet Naked Models | Make Money in Adult

                                        Comment

                                        • The Porn Nerd
                                          Living The Dream
                                          • Jun 2009
                                          • 19786

                                          #21
                                          Originally posted by DoubleDreams
                                          You're the second person in two days i've heard hyping the benefits of Claude over other models. good friend and business partner from the mainstream literally went on a similar 30min rant on the phone last night raving about Claude Features. Everything from agentic ai phone systems to automating cpc campaigns. the future is now, my mind is blown every day. I've been loyal to Chat-GPT since day one but might have to spin up a side project just to give Claude a try ...here we go another saas subscription cost ffs
                                          Chatgpt's newest setup is way too slow, always taking forever to give a 'deep research'-like answer, even when you are just asking a simple clarification.

                                          Claude is great, definitely useful for coding and creative writing tasks.
                                          My Affiliate Programs:
                                          Porn Nerd Cash | Porn Showcase | Aggressive Gold

                                          Over 90 paysites to promote!
                                          Now on Teams: peabodymedia

                                          Comment

                                          • mainstreammix
                                            Make GFY Great Again
                                            • May 2022
                                            • 11191

                                            #22
                                            Originally posted by DoubleDreams
                                            You're the second person in two days i've heard hyping the benefits of Claude over other models. good friend and business partner from the mainstream literally went on a similar 30min rant on the phone last night raving about Claude Features. Everything from agentic ai phone systems to automating cpc campaigns. the future is now, my mind is blown every day. I've been loyal to Chat-GPT since day one but might have to spin up a side project just to give Claude a try ...here we go another saas subscription cost ffs
                                            It's really hard to describe but when I need something I just tell it to build it for me and now I have it. I use those couple of tricks to keep me sane and it just works.

                                            The work I did in 3 distracted minutes earlier would have taken me 10 hours 2 years ago and scripting it wouldn't have saved any time back then.
                                            Stop asking me about AI, the answer is yes.

                                            Comment

                                            • pornmasta
                                              Too lazy to set a custom title
                                              • Jun 2006
                                              • 20016

                                              #23
                                              Claude: make the code lean, refrain to comment it 🙄.

                                              I used claude's interface and not embedded in something else...

                                              Comment

                                              • Shoplifter
                                                Richest man in Babylon
                                                • Jan 2002
                                                • 5844

                                                #24
                                                Today I started with the pro version and remade the project I started yesterday.

                                                It seems more concise, faster and smarter in Pro. Much better and unique.

                                                I still get You're right! Let me rewrite the entire code to ensure all the changes are properly included" a lot tho.

                                                Comment

                                                • Mr Pheer
                                                  So Fucking Banned
                                                  • Dec 2002
                                                  • 22083

                                                  #25
                                                  Originally posted by DoubleDreams


                                                  Will be outputting this kind of quality by EOM, all from our own servers. If you're building somthing similar let's connect for good mojo.
                                                  If you can keep consistent characters this will probably do better than the other adult Ai generators.

                                                  Comment

                                                  • mainstreammix
                                                    Make GFY Great Again
                                                    • May 2022
                                                    • 11191

                                                    #26
                                                    Originally posted by Shoplifter
                                                    Today I started with the pro version and remade the project I started yesterday.

                                                    It seems more concise, faster and smarter in Pro. Much better and unique.

                                                    I still get You're right! Let me rewrite the entire code to ensure all the changes are properly included" a lot tho.
                                                    I have successfully asked Claude to look at a project and streamline / optimize it.

                                                    I have also asked it to take a massive thing and compartmentalize it but connect it together to run as one.

                                                    This is far easier with Code since it's in a project folder, otherwise you have to upload 100% of the files to the project.
                                                    Stop asking me about AI, the answer is yes.

                                                    Comment

                                                    • celandina
                                                      Too lazy to set a custom title
                                                      • Jun 2006
                                                      • 11721

                                                      #27
                                                      Originally posted by DoubleDreams


                                                      Will be outputting this kind of quality by EOM, all from our own servers. If you're building somthing similar let's connect for good mojo.
                                                      This is my post from elsewhere ( jobs) here :

                                                      We produce for better part of 25 years soft sub/dom lesbian content. It is getting more and more difficult to get models without excessive tattoos and surgical or Botox enhancements. At the same time (as seen in these two clips) there is an enormous advancement in AI. To that end and if we find somebody who can match the quality of these two clips, we are willing to spend our money on AI and completely abandon live production.

                                                      We would script the locations and the content and yes the models will have some ( limited dialogues)....We are looking for each project at about 30 minutes of material comprising of about 50 to 60 10 to 15 second shots. Each project would have an interaction of various 3 to 7 models. We would fund about 2 to 3 projects per year. This would be " work for hire" so once we pay we would own ALL the material exclusively. WE would do ALL the editing and sound post ourselves.

                                                      We make movies so please do not ask about any technical mumbo jumbo we do NOT know any and do NOT want to learn. So if you ( or your group) can come to the level of the clips above and if you are capable, we may have a business.

                                                      We would require a sample of your video capability, maybe in 3 x 10 sec sexy and classy shots inspired by the content of the clips above as a test.This for us to asses the quality and continue this discussion.
                                                      Your clip has a sufficient quality to be acceptable.BTW I do NOT know, and do not care what EOM is. Also, we are NOT building anything. All what we want, is a supplier of single shots at 10 to 15 sec in length with good enough resolution that they can be zoomed in for close ups. In case of your shot ( as an example) close up of her face, her bouncing boobs and anything seen "under the navel" ;)

                                                      If you are interested send me an e mail : [email protected]

                                                      Comment

                                                      • DoubleDreams
                                                        Confirmed User
                                                        • Jan 2024
                                                        • 106

                                                        #28
                                                        Originally posted by celandina
                                                        This is my post from elsewhere ( jobs) here :



                                                        Your clip has a sufficient quality to be acceptable.BTW I do NOT know, and do not care what EOM is. Also, we are NOT building anything. All what we want, is a supplier of single shots at 10 to 15 sec in length with good enough resolution that they can be zoomed in for close ups. In case of your shot ( as an example) close up of her face, her bouncing boobs and anything seen "under the navel" ;)

                                                        If you are interested send me an e mail : [email protected]
                                                        Hi Cels, this is definitely something we can work towards. The tech is still evolving as we work through challenges like lip sync and expressiveness, but I’ll shoot you a message with a simple overview and we can go from there. Happy to connect.
                                                        Meet Naked Models | Make Money in Adult

                                                        Comment

                                                        • DoubleDreams
                                                          Confirmed User
                                                          • Jan 2024
                                                          • 106

                                                          #29
                                                          Originally posted by Mr Pheer
                                                          If you can keep consistent characters this will probably do better than the other adult Ai generators.
                                                          Appreciate that! Definitely within the realm of possible will make sure to dial that it in. Got some serious differentiators planned too. Super pumped to be in the space right now.
                                                          Meet Naked Models | Make Money in Adult

                                                          Comment

                                                          Working...