Diagnose Swift errors with ChatGPT from symptoms and code
A Swift developer feeds error symptoms and code to ChatGPT to get a starting lead on the cause, then reviews the code it produces. ·
Done withChatGPT
- What they did
- The developer writes Swift and pastes an error's symptoms along with the relevant code into ChatGPT, asking what it thinks is going on. They use it like Stack Overflow, but faster and interactive. They review all the code it gives back and have not yet used any of it verbatim.
- How it went
- Per the commenter, it usually gives a good starting point in about half a minute, versus roughly half an hour working it out alone. They found it better than Claude for Swift and it picked up their style.
- Worth knowing
- Treat the answer as a lead, not a fix: the author still reviews everything and hasn't used generated code verbatim.
Try it yourself with Codex
I'm getting this error in my [language/framework] project: [paste error message or describe symptoms]. Here is the relevant code: [paste code or file path]. Find the most likely causes ranked by probability, tell me how to confirm each, and propose a minimal fix as a diff. Don't apply any changes until I've reviewed the diff.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Dec 9, 2025
Related use cases
Generate LEGO CAD models in LDraw with AI agents
A toolset and docs let ChatGPT and Claude agents write LDraw source files that become LEGO CAD models, packaged as a dockerized web app.
Book a private chef and plan a ski holiday
ChatGPT found chefs, emailed for quotes and availability, handled replies and tracked missing info, and researched ski locations and transfer and gear quotes.
Fight a hospital bill with an appeal letter
A user had ChatGPT review a hospital bill and draft an appeal letter; the insurer and hospital then acknowledged billing errors and replaced the bill.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Audit a feature's issues and hand them to an engineer's agent
An AI agent listed all issues with a feature and sent them to an engineer, whose own agent then addressed most of them automatically.
Custom agent
Cross-check coding agent answers with a second agent
The poster built a tool that automatically sends Claude Code responses to Codex for a second opinion, replacing manual copy-pasting.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.