r/ChatGPTCoding • u/Ill-Association-8410 • Jan 26 '25
r/ChatGPTCoding • u/johns10davenport • Feb 26 '25
Resources And Tips Finally Cracked Agentic Coding after 6 Months
Hey,
I wanted to share my journey of effectively coding with AI after working at it for six months. I've finally hit the point where the model does exactly what I want most of the time with minimal intervention. And here's the kicker - I didn't get a better model, I just got a better plan.
I primarily use Claude for everything. I do most of my planning in Claude, and then use it with Cline (inside Cursor) for coding. I've found that Cline is more effective for agentic coding, and I'll probably drop Cursor eventually.
My approach has several components:
Architecture - I use domain-driven design, but any proven pattern works
Planning Process - Creating detailed documentation:
Product briefs outlining vision and features
Project briefs with technical descriptions
Technical implementation plans (iterate 3-5 times minimum!)
Detailed to-do lists
A "memory.md" file to maintain context
Coding Process - Using a consistent prompt structure:
Task-based development with testing
Updating the memory file and to-do list after each task
Starting fresh chats for new tasks
The most important thing I've learned is that if you don't have a good plan and understanding of what you want to accomplish, everything falls apart. Being good at this workflow means going back to first principles of software design and constantly improving your processes.
Truth be told, this isn't a huge departure from what other people are already doing. Much of this has actually come from people in this reddit.
Check out the full article here: https://generaitelabs.com/one-agentic-coding-workflow-to-rule-them-all/
What workflows have you all found effective when coding with AI?
r/ChatGPTCoding • u/hundredhorses • Nov 25 '23
Question I used Chat-GPT to automate a data entry task at my job
I don't have any formal training in computer science or coding, but I was able to automate this stupid data entry task at my job. I basically just used trial and error and now something that used to take 4-8 hours of manually typing every week is done in 10 seconds.
Am I a software developer now?
Edit: I did not give ChatGPT any of the actual business data. Thanks for your concern.
r/ChatGPTCoding • u/alexanderisora • Aug 03 '24
Resources And Tips My 10 hints for AI coding
I stopped writing code entirely in 2024.
I only copy-paste code generated by AI ✌️🤓 Here are my 10 hints (based on real AI coding experience).
Hint 1: if you have a creative task such as code architecture, you want to use so called chain of thoughts. You add "Think step-by-step" to your prompt and enjoy a detailed analysis of the problem.
Hint 2: create a Project in Claude or a custom GPT and add a basic explanation of your code base there: the dependencies, deployment, and file structure. It will save you much time explaining the same thing and make AI's replies more precise.
Hint 3: if AI in not aware of the latest version of your framework of a plugin, simply copy-paste the entire doc file into it and ask to generate code according to the latest spec.
Hint 4: One task per session. Do not pollute the context with previous code generations and discussions. Once a problem is solved, initiate a new session. It will improve quality and allow you to abuse "give full code" so you do not need to edit the code.
Hint 5: Use clear and specific prompts. The more precise and detailed your request, the better the AI can understand and generate the code you need. Include details about the desired functionality: input/output type, error handling, UI behaviour etc. Spend time on writing a good prompt like if you were spending time explaining your task to a human.
Hint 6: Break complex tasks into smaller components. Instead of asking for an entire complex system at once, break it down into smaller, manageable pieces. This approach teaches you to keep your code (and mind!) organized 👍
Hint 7: Ask AI to include detailed comments explaining the logic of the generated code. This can help you and the AI understand the code better and make future modifications easier.
Hint 8: Give AI code review prompts. After generating code, ask the AI to review it for potential improvements. This can help refine the code quality. I just do the laziest possible "r u sure?" to force it to check its work 😁
Hint 9: Get docs. Beyond just inline comments, ask the AI to create documentation for your code. Some README file, API docs, and maybe even user guides. This will make your life WAY easier later when you decide to sell your startup or hire a dev.
Hint 10: Always use AI for generating database queries and schemas. These things are easy to mess up. So let the AI do the dull work. it is pretty great at composing things like DB schemas, SQL queries, regexes.
Hint 11: Understand the code you paste. YOU are responsible for your app, not the AI. So you have to know what is happening under your startup's hood. if AI gives you a piece of code you do not understand, make sure you read the docs or talk to AI to know how it works.
P.S. my background: I have been building my own startups since 2016. I made a full stack app and sold it for 800k in 2022. You can find me on 𝕏 https://x.com/alexanderisorax
r/ChatGPTCoding • u/No-Definition-2886 • Jan 24 '25
Discussion I am among the first people to gain access to OpenAI’s “Operator” Agent. Here are my thoughts.
I am the weirdest AI fanboy you'll ever meet.
I've used every single major large language model you can think of. I have completely replaced VSCode with Cursor for my IDE. And, I've had more subscriptions to AI tools than you even knew existed.
This includes a $200/month ChatGPT Pro subscription.
And yet, despite my love for artificial intelligence and large language models, I am the biggest skeptic when it comes to AI agents.
Pic: "An AI Agent" — generated by X's DALL-E
So today, when OpenAI announced Operator, exclusively available to ChatGPT Pro Subscribers, I knew I had to be the first to use it.
Would OpenAI prove my skepticism wrong? I had to find out.
What is Operator?
Operator is an agent from OpenAI. Unlike most other agentic frameworks, which are designed to work with external APIs, Operator is designed to be fully autonomous with a web browser.
More specifically, Operator is powered by a new model called Computer-Using Agent (CUA). It uses a combination of different models, including GPT-4o for vision to interact with graphical user interfaces.
In practice, what this means is that you give it a goal, and on the Operator website, Operator will search the web to accomplish that goal for you.
Pic: Operator building a list of financial influencers
According to the OpenAI launch page, Operator is designed to ask for help (including inputting login details when applicable), seek confirmation on important tasks, and interact with the browser with vision (screenshots) and actions (typing on a keyboard and initiating mouse clicks).
So, as soon as I gained access to Operator, I decided to give it a test run for a real-world task that any middle schooler can handle.
Searching the web for influencers.
Putting Operator To a Real World Test – Gathering Data About Influencers
Pic: A screenshot of the Operator webpage and the task I asked it to complete
Why Do I Need Financial Influencers?
For some context, I am building an AI platform to automate investing strategies and financial research. One of the unique features in the pipeline is monetized copy-trading.
The idea with monetized copy trading is that select people can share their portfolios in exchange for a subscription fee. With this, both sides win – influencers can build a monetized audience more easily, and their followers can get insights from someone who is more of an expert.
Right now, these influencers typically use Discord to share their signals and trades with their community. And I believe my platform can make their lives easier.
Some challenges they face include:
They have to share their portfolios everyday manually, by posting screenshots.
Their followers have limited ways of verifying the influencer is trading how they claim they're trading.
Moreover, the followers have a hard time using the insights from the influencer to create their own investing strategies.
Thus, with my platform NexusTrade, I can automate all of this for them, so that they can focus on producing content. Moreover, other features, like the ability to perform financial research or the ability to create, test, optimize, and deploy trading strategies, will likely make them even stronger investors.
So these influencers win twice: one by having a better trading platform and again for having an easier time monetizing their audience.
And so, I decided to use Operator to help me find some influencers.
Giving Operator a Real-World Task
I went to the Operator website and told it to do the following:
Gather a list of 50 popular financial influencers from YouTube. Get their LinkedIn information (if possible), their emails, and a short summary of what their channel is about. Format the answers in a table
Operator then opens a web browser and begins to perform the research fully autonomously with no prompting required.
The first five minutes where extremely cool. I saw how it opened a web browser and went to Bing to search for financial influencers. It went to a few different pages and started gathering information.
I was shocked.
But after less than 10 minutes, the flaws started becoming apparent. I noticed how it struggled to find an online spreadsheet software to use. It tried Google Sheets and Excel, but they required signing in, and Operator didn't think to ask me if I wanted to do that.
Once it did find a suitable platform, it began hallucinating like crazy.
After 20 minutes, I told it to give up. If it were an intern, it would've been fired on the spot.
Or if I was feeling nice, I would just withdraw its return offer.
Just like my initial biases suggested, we are NOT there yet with AI agents.
Where Operator went wrong
Pic: Operator looking for financial influencers
Operator had some good ideas. It thought to search through Bing for some popular influencers, gather the list, and put them on a spreadsheet. The ideas were fairly strong.
But the execution was severely lacking.
1. It searched Bing for influencers
While not necessarily a problem, I was a little surprised to see Operator search Bing for Youtubers instead of… YouTube.
With YouTube, you can go to a person's channel, and they typically have a bio. This bio includes links to their other social media profiles and their email addresses.
That is how I would've started.
But this wasn't necessarily a problem. If operator took the names in the list and searched them individually online, there would have been no issue.
But it didn't do that. Instead, it started to hallucinate.
2. It hallucinated worse than GPT-3
With the latest language models, I've noticed that hallucinations have started becoming less and less frequent.
This is not true for Operator. It was like a schizophrenic on psilocybin.
When a language model "hallucinates", it means that it makes up facts instead of searching for information or saying "I don't know". Hallucinations are dangerous because they often sound real when they are not.
In the case of agentic AI, the hallucinations could've had disastrous consequences if I wasn't careful.
For my task, I asked it to do three things:
Gather a list of 50 popular financial influencers from YouTube.
Get their LinkedIn information (if possible), their emails, and a short summary of what their channel is about.
Format the answers in a table
Operator only did the third thing hallucination-free.
Despite looking at over 70 influencers on three pages it visited, the end result was a spreadsheet of 18 influencers after 20 minutes.
After that, I told it to give up.
More importantly, the LinkedIn information and emails it gave me were entirely made up.
It guessed contact information for these users, but did not think to verify it. I caught it because I had walked away from my computer and came back, and was impressed to see it had found so many influencers' LinkedIn profiles!
It turns out, it didn't. It just outright lied.
Now, I could've told it to search the web for this information. Look at their YouTube profiles, and if they have a personal website, check out their terms of service for an email.
However, I decided to shut it down. It was too slow.
3. It was simply too slow
Finally, I don't want to sound like an asshole for expecting an agentic, autonomous AI to do tasks quickly, but…
I was shocked to see how slow it was.
Each button click and scroll attempt takes 1–2 seconds, so navigating through pages felt like swimming through molasses on a hot summer's day
It also bugged me when Operator didn't ask for help when it clearly needed to.
For example, if it asked me to sign-in to Google Sheets or Excel online, I would've done it, and we would've saved 5 minutes looking for another online spreadsheet editor.
Additionally, when watching Operator type in the influencers' information, it was like watching an arthritic half-blind grandma use a rusty typewriter.
It should've been a lot faster.
Concluding Thoughts
Operator is an extremely cool demo with lots of potential as language models get smarter, cheaper, and faster.
But it's not taking your job.
Operator is quite simply too slow, expensive, and error-prone. While it was very fun watching it open a browser and search the web, the reality is that I could've done what it did in 15 minutes, with fewer mistakes, and a better list of influencers.
And my 14 year-old niece could have too.
So while a fun tool to play around with, it isn't going to accelerate your business, at least not yet. But I'm optimistic! I think this type of AI has the potential to automate a lot of repetitive boring tasks away.
For the next iteration, I expect OpenAI to make some major improvements in speed and hallucinations. Ideally, we could also have a way to securely authenticate to websites like Google Drive automatically, so that we don't have to manually do it ourselves. I think we're on the right track, but the train is still at the North Pole.
So for now, I'm going to continue what I planned on doing. I'll find the influencers myself, and thank god that my job is still safe for the next year.
r/ChatGPTCoding • u/Yweain • Jun 29 '25
Discussion I recently realised that I am now “vibe coding” 90% of my code
But it’s actually harder and requires more cognitive load compared to writing it myself. It is way faster though. I have 15+ YOE, so I can manage just fine but I really feel like at its current level it’s just a trap for mediors and juniors.
So, why is it harder? Because you need to be very good at hardest parts of programming - defining strictly and in advance what you need to do, understanding and reviewing code that wasn’t written by you.
At least for now AI is really shit at just going by specs. I need to tell it very specifically what and how I want to be implemented. And after that I have to very carefully review what it generated and make adjustments. This kinda requires you to be senior+, otherwise you’ll just get a mess.
(Asterisk - up to 90 percent in some cases)
r/ChatGPTCoding • u/apra24 • Apr 20 '25
Discussion I want to punch ChatGPT (and its "hip" new persona) in the mouth
r/ChatGPTCoding • u/togaratee • Aug 25 '25
Project I am a lazyfck so i built this
I keep downloading fitness apps and never using them. tried everything - myfitnesspal, nike training, all of them. download, use twice, delete. so im building something different. app tracks your actual workouts using your phone camera (works offline, no cloud bs). when you skip workouts it roasts you. when you try to open instagram or tiktok it makes you do pushups first. ( i have integrated like 28 exercises)
still early but the camera tracking works pretty well. reps get counted automatically and it knows if you are cheating, will also detect bad posture etc.
Curios to see your comments, roasting etc. If you want to get involved in this project(marketing or anythingelse), please dm me. Link to Waitlist.
r/ChatGPTCoding • u/isomorphix_ • Oct 17 '24
Discussion o1-preview is insane
I renewed my openai subscription today to test out the latest stuff, and I'm so glad I did.
I've been working on a problem for 6 days, with hundreds of messages through Claude 3.5.
o1 preview solved it in ONE reply. I was skeptical, clearly it hadn't understood the exact problem.
Tried it out, and I stared at my monitor in disbelief for a while.
The problem involved many deep nested functions and complex relationships between custom datatypes, pretty much impossible to interpret at a surface level.
I've heard from this sub and others that o1 wasn't any better than Claude or 4o. But for coding, o1 has no competition.
How is everyone else feeling about o1 so far?
r/ChatGPTCoding • u/RealScience464 • Feb 10 '25
Discussion I can't code anymore
Ever since I started using AI IDE (like Copilot or Cursor), I’ve become super reliant on it. It feels amazing to code at a speed I’ve never experienced before, but I’ve also noticed that I’m losing some muscle memory—especially when it comes to syntax. Instead of just writing the code myself, I often find myself prompting again and again.
It’s starting to feel like overuse might be making me lose some of my technical skills. Has anyone else experienced this? How do you balance AI assistance with maintaining your coding abilities?
r/ChatGPTCoding
•
u/acrolicious
•
Sep 01 '25
Project ChatGPT Helped Me Give my Brother a Voice and Much More
Hey everyone, I wanted to share something a little different but very relevant to this community.
My brother Ben has a rare neurological condition that left him quadriplegic and nonverbal. For years, most of the assistive tech out there didn’t really fit his needs. The phrase boards were uninspired, the keyboards were clunky, and honestly he didn’t enjoy using them. He mostly stuck with yes/no answers.
That changed when I realized I could use ChatGPT to help me code. I’m not a trained developer, but with ChatGPT I was able to build Ben a custom 2-button application in Python that lets him:
Scan through menus with head-mounted switches (mapped to space and return).
Type with a predictive text keyboard we generated from a JSON n-gram file.
Control his streaming apps and play custom games we’ve been building together.
This has been life-changing. After a decade of silence, Ben can pick his own shows again, play simple games, and get his thoughts out with a keyboard that actually works for him.
The wild part is that most of this code was generated iteratively with ChatGPT. I would describe what I wanted (“make it scan rows like this,” “predictive text should replace the last typed word,” “add a Chrome controller for Netflix”), and then refine it step by step. Bit by bit, the pieces came together into an actual system that’s now his daily driver.
I’m sharing this here because I think it shows how powerful these tools can be—not just for traditional coding projects, but for creating meaningful, highly customized accessibility solutions. It’s not perfect and I’m always iterating, but without ChatGPT I never would have been able to give Ben this level of independence.
Happy to answer questions or share snippets if anyone’s curious how certain parts work.
r/ChatGPTCoding • u/Silver-Bonus-4948 • Feb 27 '25
Discussion "We're trading deep understanding for quick fixes"
r/ChatGPTCoding • u/seeKAYx • Apr 04 '25
Discussion R.I.P GitHub Copilot 🪦
That's probably it for the last provider who provided (nearly) unlimited Claude Sonnet or OpenAI models. If Microsoft can't do it, then probably no one else can. For 10$ there are now only 300 requests for the premium language models, the base model of Github, whatever that is, seems to be unlimited.

r/ChatGPTCoding • u/bongsfordingdongs • Dec 02 '24
Project I created 100+ Fullstack apps with AI, here is what I learnt
Update: Based on suggestions given by u/funbike I have added two more version of prompts to generate more detailed frontend and code:-
Across all versions I have added pageObject Action details while generating the page requirements.
Version 2: All backend is replaced by Supabase client with react frontend. IMPACT: This allows us to allocate the previous backend code generation call to frontend leading accurate and holistic frontend code.
Version 3: Uses SvelteKit + Sveltestrap + Supabase, with some custom forms. tables and chart libraries that lead to less boilerplate. IMPACT: Compared to react, the code size is nearly ~20% to ~30% less in size, this means we can add more tokens to detailed requirement generations and/or reduce the number of API calls. It is also faster as token size is less
There are still some quirks to solve so that the supabase and svelte code runs in single go, model makes some silly mistakes but that can be solved by adding the appropriate prompt message after few trial and error.
Problem Statement: Create fully functional full stack apps in one shot with a single user prompt input. Example: "Create an app to manage job applications" - link to demo app created using ai (login with any email & pwd)
I used both GPT and Claude to create the apps, I created a script to create the apps, which takes user's input with custom prompt and chains the output in following flow: user input -> functional req. -> tech req. -> Code.
You can find the code used to create apps here, it is opensource and free : oneShotCodeGen
My Learnings:
Version 1: I Started with a simple script that prompt chained and following flow: user input -> functional req. -> tech req. -> Code. Code was good enough but did not run in one go, also missed lot of functional requirements and code for those functionalities. problems:
Incomplete Functional Requirements: For both gpt and claude the output token would limit to 1.8K/api call. Claude would go slightly higher at times.
Problem : I would ask the AI to create use cases in first call and then detailed use cases it would always miss details about 2-3 cases or just omit some as token limit would reach
Solutions Tried : After trying nearly 27+ versions of prompts and then i stumbled upon a version where all the requirements would be covered in under ~1.8k tokens. AI systems are smart so you don't need to be too detailed for them to understand the context. Hence by passing just one liners on usecases and page detail on what the page does, who can access, how to access and page sections was enough for AI to create perfect code.
Incomplete DB/Backend Code: As I was running low on credits I wanted to limit the API calls and not go into an agentic flow.
Problem : It was a struggle to find a balance in whether i should make one call or two api calls to create the backend code. Also, how to divide what code should be created first and last. I was using sqlite and express for backend
Solutions Tried:
Create DB structure first made obvious sense, but then later turned out it didn't really matter much on the code quality if you created the DB structure and then code or directly DB, Both models are good enough in creating direct DB code.
Then other option was to reduce the boiler plate by using higher abstraction libraries or framework, but both the model struggled to get high accuracy code for DB and backend code(this was after multiple runs and custom prompts on how to avoid the mistakes). Tried Prisma to reduce DB boilerplate and fastify to remove express boilerplate
But it still fails if you have highly complex app where DB and apis number is more than 6 table and their controllers
Incomplete / Missing Frontend Code: This happened a lot more often as model would make choice on how to structure the code and would just not be able to create code even with 3 api calls ~7-8k tokens
Problem: Missing pages/Apis/section features , I used react for frontend with MUI
Solution:
The first one was to increase the number of calls, but the more calls you gave the model, it in turn created bulkier code using more number of tokens. So this failed
Then I tried to create a custom JSON output to write pseudocode, but it made no dent in the output token size.
Then I asked ai to not add any new line characters, indentations, spaces. Worked slightly better.
Then model took lot of token writing forms and tables, So i iterated through libraries that had the least boilerplate for forms, tables and ui components.
Now I create the services, context and auth components in one call, then all the other components in second call and all the pages and app/index code in the third call. Works well but struggles if you have more than 6 Pages and 6+ APIs endpoints. Makes silly mistakes on auth , random }} added and routing for login success is messed up.
Current Version: After incorporating all the updates, here are details on the last 10 apps i made using it. Claude performs significantly better compared to GPT specially while creating the UI look and feel.
Demo Apps: 10 apps I created using the script: Login using any email or password to check the apps out.
Team Expense Portal - "Create a Team expense management portal" - https://expensefrontend-three.vercel.app/
Onboarding Portal - "Develop a tool to manage the onboarding process for new hires, including tasks, document submission, and training progress" - https://onboardingtracker.vercel.app/
Leave Management Portal - "Build a tool for employees to request leaves, managers to approve them, and HR to track leave balances" - https://leavemanagement-orpin.vercel.app/
Performance Review Portal - "Develop a tool for managing employee performance reviews, including self-reviews, peer reviews, and manager feedback" - https://performancemanagement.vercel.app/
Team Pizza Tracker - "Develop a portal for a team to track their favourite pizza places, reviews and the number of pizza slices eaten" - https://pizzatracker.vercel.app/
Show Recommendation Tracker - "Develop a tool for friends to track movie and show recommendations along with ratings from the friends" - https://one-shot-code-gen.vercel.app/
Job Applications Tracker - "Develop a job application tracker system for a company to track employees from application submission to final decision" - https://jobapplication-two.vercel.app/
Momo restaurant inventory and sales tracker - "Develop a portal for a momo dumpling shop to track its inventory and sales" - https://momoshop.vercel.app/
Model Rocket build tracker - "Build a portal to track my progress on building my first model rocket" - https://momoshop.vercel.app/
Prompt Repository Portal - "Develop a Webapp to track my prompts for various ai models, they can be single or chained prompts, with an option to rate them across various parameters" - https://prompttracker.vercel.app/|
Final Thoughts:
Total project costed ~15$ on gpt per app costs is at ~.17$ for GPT and ~.25$ for Claude (This is because claude gives higher output token per call)
Claude wins in performance compared to GPT. Although at start both were equally bad gpt would make bad UI but claude would forget to do basic imports, but with all the updates to prompts and framework Claude now performs way better.
I feel there is still scope for improvement on the current framework to create more accurate and detailed functional requirements with code
But I am tempted to go back to the pseudocode approach, I feel we are using AI inefficiently to create needless boilerplate. It should be possible to generate key information via AI and create code with a script that takes model output. It would lead the model to share a lot more critical information in less tokens and cover a lot more area. Using something like structured llm output generators https://github.com/dottxt-ai/outlines
Do share your thoughts, specially if you have any ideas on how I can improve this.
r/ChatGPTCoding
•
u/VibeVector
•
Dec 23 '24
Resources And Tips OpenAI Reveals Its Prompt Engineering
OpenAI recently revealed that it uses this system message for generating prompts in playground. I find this very interesting, in that it seems to reflect
what OpenAI itself thinks is most important in prompt engineering
how openAI thinks you should write to chatGPT (e.g. SHOUTING IN CAPS WILL GET CHATGPT TO LISTEN!)
Given a task description or existing prompt, produce a detailed system prompt to guide a language model in completing the task effectively.
Guidelines
Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
Reasoning Before Conclusions**: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.
Conclusion, classifications, or results should ALWAYS appear last.
Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.
What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from placeholders.
Clarity and Conciseness: Use clear, specific language. Avoid unnecessary instructions or bland statements.
Formatting: Use markdown features for readability. DO NOT USE ``` CODE BLOCKS UNLESS SPECIFICALLY REQUESTED.
Preserve User Content: If the input task or prompt includes extensive guidelines or examples, preserve them entirely, or as closely as possible. If they are vague, consider breaking down into sub-steps. Keep any details, guidelines, examples, variables, or placeholders provided by the user.
Constants: DO include constants in the prompt, as they are not susceptible to prompt injection. Such as guides, rubrics, and examples.
Output Format: Explicitly the most appropriate output format, in detail. This should include length and syntax (e.g. short sentence, paragraph, JSON, etc.)
For tasks outputting well-defined or structured data (classification, JSON, etc.) bias toward outputting a JSON.
JSON should never be wrapped in code blocks (```) unless explicitly requested.
The final prompt you output should adhere to the following structure below. Do not include any additional commentary, only output the completed system prompt. SPECIFICALLY, do not include any additional messages at the start or end of the prompt. (e.g. no "---")
[Concise instruction describing the task - this should be the first line in the prompt, no section header]
[Additional details as needed.]
[Optional sections with headings or bullet points for detailed steps.]
Steps [optional]
[optional: a detailed breakdown of the steps necessary to accomplish the task]
Output Format
[Specifically call out how the output should be formatted, be it response length, structure e.g. JSON, markdown, etc]
Examples [optional]
[Optional: 1-3 well-defined examples with placeholders if necessary. Clearly mark where examples start and end, and what the input and output are. User placeholders as necessary.] [If the examples are shorter than what a realistic example is expected to be, make a reference with () explaining how real examples should be longer / shorter / different. AND USE PLACEHOLDERS! ]
Notes [optional]
[optional: edge cases, details, and an area to call or repeat out specific important considerations]
r/ChatGPTCoding • u/BryanTheInvestor • Apr 21 '25
Interaction Biggest Lie ChatGPT Has Ever Told Me
r/ChatGPTCoding • u/z1zek • Aug 01 '25
Resources And Tips Debugging Decay: The hidden reason ChatGPT can't fix your bug
My experience with ChatGPT coding in a nutshell:
First prompt: This is ACTUAL Magic. I am a god.
Prompt 25: JUST FIX THE STUPID BUTTON. AND STOP TELLING ME YOU ALREADY FIXED IT!
I’ve become obsessed with this problem. The longer I go, the dumber the AI gets. The harder I try to fix a bug, the more erratic the results. Why does this keep happening?
So, I leveraged my connections (I’m an ex-YC startup founder), talked to veteran Lovable builders, and read a bunch of academic research.
That led me to the graph above.
It's a graph of GPT-4's debugging effectiveness by number of attempts (from this paper).
In a nutshell, it says:
After one attempt, GPT-4 gets 50% worse at fixing your bug.
After three attempts, it’s 80% worse.
After seven attempts, it becomes 99% worse.
This problem is called debugging decay.
What is debugging decay?
When academics test how good an AI is at fixing a bug, they usually give it one shot. But someone had the idea to tell it when it failed and let it try again.
Instead of ruling out options and eventually getting the answer, the AI gets worse and worse until it has no hope of solving the problem.
Why?
Context Pollution — Every new prompt feeds the AI the text from its past failures. The AI starts tunnelling on whatever didn’t work seconds ago.
Mistaken assumptions — If the AI makes a wrong assumption, it never thinks to call that into question.
Result: endless loop, climbing token bill, rising blood pressure.
The fix
The number one fix is to reset the chat after 3 failed attempts. Fresh context, fresh hope.
Other things that help:
Richer Prompt — Open with who you are, what you’re building, what the feature is intended to do, and include the full error trace / screenshots.
Second Opinion — Pipe the same bug to another model (ChatGPT ↔ Claude ↔ Gemini). Different pre‑training, different shot at the fix.
Force Hypotheses First — Ask: "List top 5 causes ranked by plausibility & how to test each" before it patches code. Stops tunnel vision.
Hope that helps.
P.S. If you're someone who spends hours fighting with AI website builders, I want to talk to you! I'm not selling anything; just trying to learn from your experience. DM me if you're down to chat.
r/ChatGPTCoding • u/Key-Singer-2193 • May 09 '25
Discussion These AI Assistants will get you fired from work
A coworker of mine was warned twice to stop going YOLO mode with cursor at work. He literally had no idea how to code. Well he was let go today. After the first time he was now on the radar when code broke before production. He couldn't explain how to fix it because well, he went all vibe coder at work.
Second time was over the weekend after our weekly code review. The code looked off. it looked like AI wrote it. He was asked to explain the flow and what it does. He couldn't do it so yea....
Other than him I noticed lately that Claude in Cline has been going sideways in coding. It will alter code that it was not asked to alter, just because it felt like it. It also proceeded to create test scripts (what I usually use if for) and hard code responses rather than run the actual methods that we need to test. Like what on earth would cause it to do this? Why would it want to hard code a response vs just running the method? Like how does it expect a test to pass or fail if it hard codes a value?
That level of lazyness, hallucination or whatever you want to call it shows that AI Cannot be left alone to its own doing. It is a severe long way off from being totally autonomous and will cause more harm than good at this point of the AI revolution.
r/ChatGPTCoding • u/punkouter23 • Apr 11 '24
Discussion Anyone using Cursor AI and barely writing any code? Anything better than Cursor AI ?
It works so good for me I find myself just asking it to do things and it is what I want so much that I just apply that and go to the next thing. I still understand what it is doing and these are mini project so it is not too complex (.net blazor)
but it feel likes coding has changed forever to me and its a lot more fun being the rule of the approver and not having to think so much about syntax and specifics.
I don't mean to be a fanboy but I tried a lot of tools and it feels like Cursor AI is in its own level. If a tool can't look at my entire context in 2024 I am not interested. So I got rid of Copilot
Only thing I still use is web based chatGPT to get started with an idea and get the initial code... Maybe I can do that all is cursor AI as well and since it can read context after every question it won't need to recall what it is doing.
r/ChatGPTCoding • u/enspiralart • Mar 23 '25
Discussion Vibes is all you need.
Hey, the wall just works.. 80% of rhe time
r/ChatGPTCoding • u/jokiruiz • Nov 21 '25
Resources And Tips I tried Google's new Antigravity IDE so you don't have to (vs Cursor/Windsurf)
Google just dropped "Antigravity" (antigravity.google) and claims it's an "Agent-First" IDE. I've been using Cursor heavily for the past few months, so I decided to give this a spin to see if it's just hype or a real competitor.
My key takeaways after testing it:
The "Agent Manager" is the real deal: Unlike the linear chat in VS Code/Cursor, here you can spawn multiple agent threads. I managed to have one agent refactoring a messy LegacyUserProfile.js component while another agent was writing Jest tests for it simultaneously. It feels more like orchestration than coding.
Model Access: It currently offers Gemini 3 Pro and Claude 3.5 Sonnet for free during the preview. That alone makes it worth the download.
Installation: It's a VS Code fork, so migration (extensions, keybindings) took about 30 seconds.
The "Vibe Coding" Trap: I noticed that because it's so powerful, it's easy to get lazy. I did a test run generating a Frontend component from a screenshot.
Attempt 1 (Lazy prompt): The code worked but the CSS was messy.
Attempt 2 (Senior prompt): I explicitly asked for BEM methodology and semantic HTML. The result was production-ready.
Conclusion: It might not kill Cursor today, but the multi-agent workflow is definitely superior for complex tasks.
I made a full video breakdown showing the installation and the 3-agent demo in action if you want to see the UI: https://youtu.be/M06VEfzFHZY?si=W_3OVIzrSJY4IXBv
Has anyone else tried the multi-agent feature yet? How does it compare to Windsurf's flows for you?
r/ChatGPTCoding
•
u/ickylevel
•
Feb 14 '25
Discussion LLMs are fundamentally incapable of doing software engineering.
My thesis is simple:
You give a human a software coding task. The human comes up with a first proposal, but the proposal fails. With each attempt, the human has a probability of solving the problem that is usually increasing but rarely decreasing. Typically, even with a bad initial proposal, a human being will converge to a solution, given enough time and effort.
With an LLM, the initial proposal is very strong, but when it fails to meet the target, with each subsequent prompt/attempt, the LLM has a decreasing chance of solving the problem. On average, it diverges from the solution with each effort. This doesn’t mean that it can't solve a problem after a few attempts; it just means that with each iteration, its ability to solve the problem gets weaker. So it's the opposite of a human being.
On top of that the LLM can fail tasks which are simple to do for a human, it seems completely random what tasks can an LLM perform and what it can't. For this reason, the tool is unpredictable. There is no comfort zone for using the tool. When using an LLM, you always have to be careful. It's like a self driving vehicule which would drive perfectly 99% of the time, but would randomy try to kill you 1% of the time: It's useless (I mean the self driving not coding).
For this reason, current LLMs are not dependable, and current LLM agents are doomed to fail. The human not only has to be in the loop but must be the loop, and the LLM is just a tool.
EDIT:
I'm clarifying my thesis with a simple theorem (maybe I'll do a graph later):
Given an LLM (not any AI), there is a task complex enough that, such LLM will not be able to achieve, whereas a human, given enough time , will be able to achieve. This is a consequence of the divergence theorem I proposed earlier.