Better Docs, Fewer Bugs: My Codex App Dev Workflow


Hey Reader,

Agents write better code when they can read docs instead of guessing from memory.

A 2026 paper found up to a 20% improvement in first-try code accuracy when models were given the right programming context.

So what do you do with that?

Don’t rely on the agent to know everything from their training set. Instead, provide tools or local docs that they can reference.

Your local docs should include sample code so agents can use the code correctly (the first time).

If you’ve ever read Apple’s docs, you know some frameworks are hard to use…

… But, you can fix that.

GPT-5.4 is really good at searching the web and can help design proper guides for your agents to use.

Better Docs, Fewer Bugs: My Codex App Dev Workflow

If you’re making apps for iOS and macOS, check out my DocSetQuery tools to build your own documentation straight from Apple’s DocSet bundles.

Instead of wasting tool calls, your agents can search local docs directly with grep or rg (ripgrep).

Pro Tip

If your agent keeps showing that it doesn’t have rg installed, make sure you ask it to fix the issue.

Anytime you have a tool call fail, that is an opportunity to fix a problem. You’ll get faster searches with the best tool for the job.

brew install ripgrep

Sometimes, pathing issues, sandboxes, or virtual environments can get in the way. If your agent can’t see the tools, share your current path with them using:

echo $PATH

Copy the results of that so they can diagnose why they can’t see the installed tools.

Have a good tip? Let me know, just hit reply.

5 Links

  1. Learn from Paul Hudson how Agent Skills can make your agents smarter: Agent Skills in Xcode - Build better SwiftUI apps with AI agents
  2. Are you struggling with getting started? Here’s a starting point: How I Build Apps with Codex and GPT-5.4.
  3. Grab these Swift and Apple platform development skills from Github.
  4. Want another documentation tool? Ray published Two MCPs That Save 97% of Your Context Window
  5. Official Codex Best Practices. Read them and learn where you can improve.

Want Better Documentation?

Here’s what the community shared:

Talk soon,

Paul Solt
Paul@SuperEasyApps.com

P.S. Next week, I’ll share some of my design tips for achieving an app’s look and feel.

What design tools are you using for your apps? Click the link to vote, or reply.

AI Code Brief - Paul Solt

Join 5,901+ iOS/macOS developers using Codex and agents to build and ship apps. Expect practical tutorials, repeatable workflows, and hard-earned lessons from 7 shipped apps and time at Apple, Microsoft, and GoPro.

Read more from AI Code Brief - Paul Solt
Paul Solt and Ray Fernando at the GPT-5.5 on 5/5 Launch Party

Hey Reader, I flew out to San Francisco to visit OpenAI. It was a whirlwind and super fun to meet the team behind the Codex app. And I was able to chat with developers to learn about their own workflows. Read: 3 Things I Learned from the GPT-5.5 Launch Party I met Ray Fernando, Sam Altman, and many other great people at OpenAI and beyond. I was inspired by some of the discussions to start work on my Codex Librarian research tools and skills. This builds upon my DocSetQuery GitHub project....

Codex app + GPT 5.5 for iOS and macOS App Development

Hey Reader, Watch how I build iOS and Mac apps with Codex in 20 minutes. This is my latest Codex GPT-5.5 workflow for shipping real apps. Watch: How I Build REAL Apps with the Codex App and GPT-5.5 GPT-5.5 is really smart, but it still makes mistakes. I show this tool I use daily Get a peek look at my app's sales history See the CLI tools I'm using to find app opportunities If you need an app idea, this video is for you. I'll show you some new tools you can use to find opportunities from...

Codex app and GPT 5.5 with Paul Solt

Hey Reader, My workflow with GPT-5.5 is completely different from GPT-5.4 — and this changed over the weekend. With GPT-5.4, I revived my 9-year-old Super Easy Timer app and pushed conversion from 0.5% to 7.1% over the past two weeks. This week, I had early access to GPT-5.5 and it unblocked my deprecated macOS dependencies in one shot. I wrote up exactly how I'm using the Codex app + GPT-5.5 to build iPhone and Mac apps faster — and how I'm using App Store reviews to write copy that actually...