In short
Terry Lynn explains how he used Cursor (AI coding) and Xcode to build Copper’s Corner, a multi-device Apple Watch + iPhone workout tracker that turns voice/text into structured workout logs and analytics (7/30/90-day consistency, top exercises, weight progression).
Guest backgrounds
Terry Lynn is a product manager and “vibe coder” who built an AI-powered fitness app despite “zero mobile-app experience.” Host is Claire Vaux, a product leader and AI obsessive.
Key claims
Voice notes can replace manual gym logging; structured data enables analytics; Cursor + Xcode “dual wielding” is needed for reliable iOS/watch builds; Cursor rules (PRD create/review/execute) reduce errors; refactoring is a planned “known cost”; smaller files help LLM context; git commits act as safety checkpoints.
Notable examples
“Jumping jacks, 35 reps” and “dumbbell shrugs 10 reps” auto-transcribe and populate records; initial V1 used Apple Watch voicemail + a Python script to tag workouts into Excel; subway index-card UX mockups upscaled via ImageGen, then converted into Figma UI kit components.
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Chapters
Tap a time to open that second in VOThe Concept Behind the App
0:45 to 1:15
Terry discusses the inspiration behind building a workout tracking app using AI.
“where they're writing down their reps or in their notes app.”
Building Copper's Corner
2:31 to 3:59
Terry shares the development journey of his fitness tracker app called Copper's Corner.
“Terry, I'm super excited to have you on the podcast.”
App Features and User Experience
3:59 to 7:11
Discussion on the app's functionalities, user experience, and how it simplifies workout logging.
“And then eventually, two months later, I now have like an Apple Watch and an iPhone app.”
Technical Challenges in Mobile Development
7:11 to 9:19
Terry explains the technical challenges faced when developing mobile apps and how he overcomes them.
“like a history of if I'm actually progressing or not too.”
Iterating on the App with AI
9:19 to 14:15
Terry discusses the iterative process of building his app using AI and how he structured his workflow.
“Yeah, so like we say in product, You want to like think big, start small, right?”
Building Cursor Rules and PRDs
14:23 to 16:57
Discover how to effectively build cursor rules and PRDs for better coding practices.
“And how did you know what to build and how to put stuff in this template?”
The Role of AI in Project Management
16:57 to 19:30
Explore how AI acts as a project manager and engineer, streamlining development tasks.
“You write the PRD, then someone else tells it if it's good or bad.”
Token Conservation and Refactoring
19:30 to 21:36
Learn the importance of token conservation and its impact on code refactoring.
“it's this last 20 % where the checklist is just burning through tasks for me too.”
Using AI for Code Quality Improvement
21:36 to 23:26
Understand how AI can assist in code quality improvement and refactoring processes.
“And I know there's a lot of nervousness in the industry about, oh my God, what if we give PMs access to ship code or designers access to ship code?”
Learning Through AI and Rubber Ducking
23:26 to 27:36
Discover how to use AI as a learning tool and the concept of rubber ducking in programming.
“And I have an example on my screen here of what that plan would look like for a refactor.”
Show all 17 chapters
Design and Exploration in Mobile Prototyping
27:36 to 28:01
Learn how to combine offline drawing and online methods for effective mobile prototyping.
“And I definitely want these rubber duck rules.”
Learning from Mistakes in Coding
28:01 to 29:14
Explore how to optimize learning through coding mistakes and processes.
“you can start to see when it starts to make mistakes and you can get through them faster just by going through this process and learning through your code base.”
Prototyping Mobile Apps with Index Cards
29:14 to 30:38
Learn about creative methods for prototyping mobile apps using index cards and AI tools.
“is I started using these little index cards here where I would just draw out the UX and I could like, you could kind of like press something.”
The Value of Design in App Development
30:38 to 31:50
Understand the importance of design quality and the unique value of human creativity.
“And then you drag it into Figma and then use some of the out-of-the-box components.”
Improving Mobile Engineering Workflows
31:50 to 33:59
Discuss challenges and quality-of-life improvements for mobile app engineers.
“And then they bring that to their companies or their projects.”
Managing Code with Git in AI Development
33:59 to 35:14
Learn strategies for using Git to manage code efficiently in AI-driven projects.
“So I haven't seen that be an issue right now yet.”
Show Closing and Call to Action
35:14 to 36:14
Wrap up the episode, detailing how to connect with the host and support the show.
“AI coding, YOLO, very controlled git commit coder.”
Transcript
Automatic transcript. May contain errors.0:00Terry Lin:You used AI to make getting swole at the gym easier. I am so excited about this. Let's see how you built this. I started using the GPT mobile app as like speech to text. And I was like, well, if the model can understand when I'm talking to it like it is right now, why can't a workout app do this and then tag the data for me? Make it like a structured data set with analytics. Let's talk about how you built this thing. Because I wouldn't even know where to start in terms of the mobile and watch side of things. I was like, what if I have a Python script that takes these files and it takes a GPT-4-0 and it just suits it to me in an Excel.
0:31Terry Lin:Two months later, I now have an Apple Watch and an iPhone app. Now I did jumping jacks, 35 reps. He sends it to the phone. So whatever device you have, log your workouts pretty much with no work. It does simplify this experience of going to the gym, like the gym bros with their notebooks, where they're writing down their reps or in their notes app. This is awesome.
0:52Terry Lin:Welcome back to How I AI. I'm Claire Vaux, product leader and AI obsessive, here on a mission to help you build better with these new tools. Today we have Terry Lynn, product manager, vibe coder, and AI-powered Jimbro. He's going to show us how he made a mobile and watch app to track his workouts using cursor, Xcode, and index cards. Let's get to it. This episode is brought to you by Paragon, the fastest way to ship product integrations. Are integrations on your product roadmap? Whether you want to ingest your users' files from apps like Google Drive or OneDrive, sync data with their CRMs or automate tasks like searching Salesforce records, integrations are mission critical for products and SaaS.
1:36Terry Lin:But integrations take months to build, and existing solutions aren't good enough. Embedded iPaaS are great for automation but break under high volume, and unified APIs are limited by their endpoints and data access. With Paragon, developers can ship new integrations in days with purpose-built products to support any use case, from high-volume ingestion to real-time actions and automations. That's why engineering teams at u.com, Pipedrive, Cinch, and hundreds of other B2B SaaS and AI companies use Paragon, so they can focus their efforts on core product features, not integrations. Visit useparagon.com slash howiai to see how Paragon 2.0 can help you accelerate your products integration roadmap today and get$1 ,000 off.
2:31Terry Lin:Terry, I'm super excited to have you on the podcast. Welcome. Thank you. Thank you. Long time listener, first time caller. Well, speaking of first time, we have had a lot of web developers, including myself, on this podcast, but we actually haven't spoken to very many people building for mobile. And I know mobile apps have special challenges technically, you know, just building them. And then I'm super curious to see how folks like you are approaching using AI to build mobile apps. So before we get into the how, let's see the what. What did you build with AI? So I built a mobile fitness tracker called Copper's Corner.
3:11And essentially the problem I was trying to solve, maybe I put my PM head on for a sec, was I would go to the gym. I would try to be consistent. And then, you know, life gets busy. You start to slip one or two days and then you go back a week later.
3:22Terry Lin:You're like, oh, what was I doing? And so I tried these fitness apps where you kind of have to like create an account, set up your exercises, tell them what your gym has equipment wise. And I felt like doing a lot of homework. And even when you're working out, you have to like log what you did, you know, your rest timers, things like that. And then last year I started using the GPT mobile app as like speech to text. And I was like, well, if the model can understand when I'm talking to it, like it is right now, why can't like a workout app do this? And then kind of like tag the data for me and make it like a structured data set with analytics.
3:56And so that's kind of how I started down that path. And then I basically started with a little script. And then eventually, two months later, I now have like an Apple Watch and an iPhone app. So I'll run you through how it works, and then we can talk through how I built this.
4:09Terry Lin:Okay, so you used AI to make getting swole at the gym easier. I am so excited about this. As someone who definitely never, never skips a gym day. Okay, let's see how you built this. Okay, cool. I'll run you through how it works real quick just to get a – everyone has like a visual context here. So this is the login screen. Now, if you can see it, he's the hero of the image. Was this the good? Oh, Cooper. Cooper the dog. Yeah. And I don't know if you can see him, but he's sleeping right there, literally. Like on the side of my screen. Oh, hey, Cooper. Yeah. Okay. So the first thing is authentication, right?
4:46I'm using sign-in with Apple. There's kind of a UX decision there because I don't want you to create an email and have to, like, you know, enter a code. and so one of the first things you'll notice is when you log into the phone here it logs into the apple watch so there's some stuff i can talk about there but essentially you could basically just use voice and record your workout here and so i'll give this a shot i did dumbbell shrugs 35 pound dumbbells 10 reps and so what i built is you could record it from your phone or you could do it from the apple watcher because sometimes when you're at the gym you don't always have your phone too, right?
5:23So let's see if it got it right. There we go. See? And it has a transcript here. If I try it from the phone, right now I did jumping jacks, 35 reps. See, it sends it to the phone. So whatever device you have, it's kind of cool. It can log your work out pretty much with no work.
5:43Terry Lin:So for people that are not watching on screen, I says an app that goes across your mobile device and your smartwatch and you basically speak to it at the gym, say what exercise you did, what weight, what reps, and it just automatically populates a structured record of that exercise, including what time you did it. It shows a picture of the equipment you might have used or a picture of somebody doing jumping jacks or in this case, push up jumping jacks. And it does simplify this experience of going to the gym, you know, like the gym bros with their notebooks where they're writing down their reps or in their notes app.
6:24Terry Lin:And Apple, so you built this. It's multi-device. It's multimodal. It goes voice to text and text to structured output. But let's talk about how you built this thing, because I wouldn't even know where to start in terms of the mobile and watch side of things. Yeah. And there's one more thing to show you real quick. I'll flash it on is we were talking about how to be consistent. So there's actually like a history view here. So you can look at your seven day, 30 day, 90 day analytics to see how consistent you are. And you can see in like the last 30 days, I've been going to the gym 21 days. Right.
6:58So now I know when I've been slacking, when I haven't been. And also I can see like my top exercises. You can see I do a lot of jumping jacks here. I do leg presses and then you click into the leg press. You have like a whole history of what you've done. So now you have like a scatter plot of where my weight's going, like a history of if I'm actually progressing or not too. So that's kind of it. I could walk through how we built that, but any questions there?
7:21Terry Lin:No, let's go through how you built it. Okay. So one thing with iOS apps is that you usually have to use Xcode, which is Apple's IDE to actually build the code. So I do something called dual wielding here. So this is what Xcode looks like. And what I do is usually I do a side-by-side with Cursor here. So the way I link this is I make both of them point to the same folder on your computer. And then Cursor will do the coding. And then I will do the building and the debugging in Xcode. The reason is because sometimes on the phone, when you get errors, like compile errors, build errors. Xcode is really where you have to go to get that because Cursor, it's not like a web browser where you could just kind of look at the tools and then start looking at the console.
8:08And so there's a little bit of a kind of workaround you have to do. And I've seen some people online have these hot reload apps, but there's a kind of solution I've found that works best for me. And also if you have to build to the Apple Watch, you kind of have to do it separately. So that's kind of why I have this split workflow for now.
8:24Terry Lin:Got it. So we want cursor to somehow build a native integration here. So you have a little bit more cross-pollination if you could. Yeah. Yeah. And it's not like web apps where you just run a local host and then you kind of can see it in your browser. You have to kind of always build it on your phone. And right now you're seeing this in the iOS simulator. I would say even when you're testing mobile apps, like swiping around with my mouse here feels very different than when I'm on my phone testing in here. And it's even different when I'm in the gym actually like running around and like trying to record stuff.
8:54and sometimes audio is not great too. So I think when it comes to like mobile apps and you're testing this, you just have to get as close to the actual experience. Otherwise, you're kind of just testing in a box and not really getting the true kind of user experience there.
9:06Terry Lin:So how did you get this started from zero? Kind of what was your setup in terms of defining the product, getting cursor set up? How did you work through that workflow and then doing the build and testing and Xcode it on your phone? Yeah, so like we say in product, You want to like think big, start small, right? So the V1 of this was actually just using Apple voicemail, like on the Apple watch. I would record that and then you would copy it to my computer. And then around February this year, I started getting into Vibe coding and I was like, well, what if I have a Python script that takes these files and it takes a GPT-4L and it just suits it to me in an Excel.
9:46And so what that looks like here is kind of this spreadsheet here. This was like the very V1 of it, where you see the transcription. It attempts to tag it with different muscle groups and like rep sets. But the problem here is that this is not structured data, right? It's just whatever the model thinks is the exercise. And so then I was like, all right, well, then what is the solution then? Is then you got to put it into a database where it's actually structured data. You have like the foreign keys. You can actually manipulate it better. It becomes more consistent. So that's kind of where it went from this to a backend API that I built in cursor.
10:19Terry Lin:I want to pause here because I actually think this for folks that are listening is a pretty cool hack, which is using voice notes on your on your watch to just narrate your workout at the gym and then download that text, you know, put it in even chat GPT or some sort of like no code little flow and populate it in a spreadsheet. That's just such a simple and easy way to start. And then what you're saying is you're a PM and an engineer and you want foreign keys and a database. So you decided let's make this a full app. Yeah. And it's also if you look at the spreadsheet, how do you make sense of this, right?
10:56Over time, you're not really, you don't have these analytics that you see here on the right side of the phone. And so I was like, well, how do you then do that? You can ideate with GPT. I think when you work with models, it could either work with you or work for you. This is very much in that working with you side or just ideating on features and how you can potentially make like an MVP into like a low hacky tool that gives them higher iteration.
11:19Terry Lin:So, OK, so you decided to build this app. How are you actually building? What is your step by step workflow in Cursor? Sure. So I have kind of a three or four step process in Cursor. So first step is creating a PRD. Second is having a model review it. And then third step is executing. And so the way I have to set that up is kind of three rules here. There you see PRD create, PRD review, PRD execute. And so if we take a file here, as an example here, I have an existing ticket. What I'll do is I'll take an issue, I'll add it to cursor here, and then I'll have it run through PRD create. And what this rule does is essentially breaks it out into what you need to implementation.
12:09So any reference diagrams to actually do this task, what are the goals we're trying to do. One thing I do is I use Gherkin user stories to actually describe the scenario. So the format is like given something happens when the user does this, then do this action. And so there's also some investigation here that happens. So if I don't know how to actually do something where the model doesn't know what files to use, what databases to touch, that's kind of a checkpoint here. And then this is kind of like the V1 of the PRD where it's not fully fleshed out, but at least it's the structure of it. And then one thing I realized is sometimes early on when I was live coding, this document would not be enough.
12:50And that's kind of why I created a PRD review rule where it basically does like a check on that PRD. So one question I ask is, if another model were to take this plan, how would you rate this out of 10 if it had no context and it had to execute on this? And so you're basically sanity checking your PRD to see if it actually has any gaps that a model could trip up on down the line.
13:13Terry Lin:You've seen the doom and gloom headlines. AI is coming for your job. But the reality is a little bit brighter. In Miro's latest survey, 76 % of people say AI can boost their work. It's just that 54 % still don't know when to use it. As a product leader and a solo founder, I live or die by how fast I can turn fuzzy ideas into crisp value propositions, roadmaps, and launch plans. That's why I love Miro's innovation workspace. It drops an AI co-pilot inside the canvas, so stickies, screenshots, and brainstorm bullets can become usable diagrams, product briefs, and even prototypes in minutes. Your team can dive in, riff, and iterate.
13:58Terry Lin:And because the board feels like a digital playground, everyone has fun while you cut cycle time by a third. Miro lets humans and AI play to their strengths so that great ideas ship faster and happier. Help your teams get great done with Miro. Check out miro.com to find out how. That's M-I-R-O dot com. So how did you build these cursor rules? And how did you know what to build and how to put stuff in this template? Honestly, a lot of blood, sweat, and tears. I think when I first started Vibe coding in February or March, no one was really talking about memory banks or rules yet. And so the problem I was running into was every time I modeled, I got to do more and more complex tasks.
14:42It would at some point trip up over itself. It would make up stuff. It would make up file directories. You would get endpoints wrong. And so I realized after repeating it, telling it what to do time and time again, I started noticing these patterns and like how to give it context. And I was like, well, why am I repeating this over and over again? I should just make these into the rules. And so that's kind of how I ended up with these processes. And you notice I also broke them onto like three PRD rules. The reason is because originally my rules were super verbose, maybe 800 lines long. And I realized I was just running into a lot of context windows with the same rules.
15:16So you'll see like they're now no more than 200 lines long. And so I actually like I'm much more cognizant of how many tokens I'm using with these roles. And so over time, I've kind of gotten more efficient with that as I get more experience with Cursor.
15:31Terry Lin:And the second part of this, which I think is so interesting and mirrors how things work inside product organizations, is you write a PRD and then somebody looks at it. Somebody reviews it and says, is this good? And that person could be, you know, a PM lead. It could be a peer PM or it could be an engineer. And it seems like you're taking this from an engineering point of view and saying, like, as a model reviewing this zero context, what do you think? And I like this idea of rating zero to 10. Do you feel like the ratings are generally pretty accurate? Yeah. And it's more of a barometer for me and how well I prepared it.
16:04If it's like a 7 out of 10, I'll then ask, well, what are the three points? Why did you dock it? And it'll give me some reasons on why those gaps are. up that is this an edge case no we could ignore that and it'll kind of you want to get it to at least like a nine out of ten before you do it and the reason is then when you have it run through the plan it could probably one shot it pretty quickly and so i'm doing that here on the side you see there's a seven out of ten here and so it gives me like a straw man and steel man a bit and so you see the gaps identified i can then be like all right you know inconsistent api like are these actually things we need and then i'll kind of then kind of iterate this until it's a 10 out 10.
16:41And then that's when I then run the execute rule, which I think you've seen is like the checkbox rule. You have it in chunks. Something I do extra is I have a git commit before and after each phase and ask it to pause. So I don't just have it one shot everything, but this is when I know I can let it run, go get a coffee and then come back and just do some QA.
17:01Terry Lin:Got it. So your step is write it as a PRD. Gosh, you're poor AI PM. You write the PRD, then someone else tells it if it's good or bad. Then you iterate. Then the poor PM has to make epics and tasks. The AI PM has to make the checklist. And then you're giving very explicit directions on check-in at every single point. And then you say, here you go. Here's your PRD. Here's your checklist. Let it run. And then are you coming back and checking that code, doing the build in Xcode, and then verifying it all works and shipping it? Yeah. So here's an example of one where on the Apple watch, when I showed you, I hit record and I stopped it.
17:46It was saying send to iPhone, but it wasn't staying on long enough. So if you're recording this, you may miss it. And then you may wonder, hey, did it actually even go to the phone? And so this was adding like a little timer. So you can see that if you're kind of walking around the gym and there's like a feedback that, hey, this is, we got this. You don't have to worry about it. You don't have to worry about it failing. And so this is what the PRD looks like. I logged it originally in a tool called linear. And so I pulled that in here and then I ran it through PRD create. And so we created this doc.
18:13And so I'm very explicit where I even tell it what files you want to touch just because I don't want it to search through my code base, waste tokens. It's like, hey, here's what you need to do. Here are the files. Here are the endpoints. Just go run with it. Yeah, so here's some of the example of the phase checklist. You see phase one, it does the checklist and every phase it kind of pauses, right? There's like a safety checklist here, right no placeholder codes we want you to make stuff that could break things there's some error handling and then it kind of runs through this yeah and i want to pause for folks that are not watching on that checklist if you could go back to it it's really interesting every phase at the
18:50Terry Lin:end of the phase says you have to verify the paths make sure you're using real data no placeholder that you're handling errors well and so it's really interesting that you really again are following this pretty classic development pattern of like product manager, you know, defines requirements, breaks down the tasks, engineer executes, you do a QA phase, and then you move on to the next task. So you sort of structured your rules and your process to map to that. And then the only difference is you're using an AI PM and AI engineer and AI EM to sort of run QA to run through all this. Yeah. And I think 80 % of the time I'm working with the model, it's this last 20 % where the checklist is just burning through tasks for me too.
19:37So I think the biggest switch is probably just learning to work with the model, I think is where if you get good at that. I think after this stuff, it's just kind of table stakes. It's just executing.
19:47Terry Lin:And I'd love to understand, you've mentioned conserving tokens for a while, and I have to understand your motivation because I am just like, eat all the tokens you want. I just do not care. Tokens, everyone. You get a token, you get a token. Is this a cost sensitivity thing? Is it a performance of the tasks where, you know, too much context in the cursor context window actually degrades performance? What is your motivation for token conservation? probably my sanity if i could put a thought to that so the reason i say sanity is because llms are really good at just generating a bunch of code it could be very robust and so sometimes when you have very large files i noticed cursor when they go through your code based files they read in like 200 line chunks at a time and what i realized over time was that i had i had these files that were like a thousand a thousand fifteen hundred lines long and it was spending a lot of time just going through that.
20:46And then as it was going through tasks, it would just start getting tripped up a lot. And then that's when I kind of stumbled upon this concept of like, I call it vibe refactoring, where you basically have to take vibe coding. You have to like reorganize it into something that's cleaner. And then that way, I guess it's like good engineering principles. They do that too, right? You refactor code, you keep it clean. So that's something I do with another rule here where I kind of have the PRD rule, but it's not meant to create features, it's meant to refactor existing code bases. And so I essentially give it the same, you know, context docs.
21:17I give it the API endpoints and I give it different guidance on, hey, what do we need factoring? Why should we do this? How do we make sure it doesn't break? Like how will we QA this after it's done? And it kind of runs through the same process of where you're doing that PRD planning, but your goal is very different. It's more of a cleaning your apartment, making sure everything works fine. Okay.
Read the full transcript
21:36Terry Lin:So I have to call this out for all the engineers, engineering leaders, large engineering organizations that are watching the podcast, yes, AI does have the ability to generate lots of code and maybe not the highest quality code always in pursuit of shipping features. And I know there's a lot of nervousness in the industry about, oh my God, what if we give PMs access to ship code or designers access to ship code? The code's going to be so ugly. They're not going to know. It's going to cause a lot of tech debt. But what I have experienced is that exactly this is actually quite good at refactoring.
22:11And I almost suggest to engineers that are adopting these tools or teams that are adopting tools is like build the refactoring as a known cost of your AI implementation.
22:23Terry Lin:almost planned it that way where it's like, okay, I'm going to vibe code to the feature working so I can check that customers like it, that I can see that it works, that I can see if I like the design, all that kind of stuff. Get it out there, you know, like secure, perform it, but not beautiful code. And then go back and spend a vibe day refactoring. And I love that you actually have built, people would love to see these rules, so maybe we'll bribe you to share them. But But I love that you've built this rule of like, this is how a good refactor goes. Here are my engineering principles that I want you to prioritize.
22:58Terry Lin:Here's the things that you should think about here, the performance things you should think about. And I think it's just a really nice process. And I've had this experience myself where I just, I build a feature, I get it out. People like it. Great. I wasn't happy with the code, but I knew that. and I go back and refactor and it's so much cheaper and faster, honestly, than almost any other path to like the good code. So I think this is an exceptional way to do things. Yeah. And I have an example on my screen here of what that plan would look like for a refactor. So the quickest way to do that is just to do a line count and have the model do it.
23:34Hey, what are my biggest files? Which ones are like, God, no, that we need to factor down. So one of these is this recorder file we need to go into but that was that recording logic i just showed you there's 900 lines i generally try to keep them under two to 400 lines just because i don't want the model to use context going over code maybe doesn't need to do a task right and same thing here it has that checklist right each phase and then yeah basically each phase it'll try to do a build the next code and then make sure there's no compile errors and don't just keep chugging through that. And we have that safety checklist here too.
24:08Terry Lin:And let's make this clear for folks that are listening is you very intentionally set up one of the design principles of your code base that you want your files to be of a small enough size that the LLMs itself have an easy time working with and navigating individual files, getting tasks done. And I think this is really interesting because I think about it a lot. I think as a human, what is my preferred structure of a file? Do I like embedded functions? Do I like a bunch of little bitty files across the code base? What is my preference? And sometimes I like these longer files because I'm in a file and I'm like, well, I want the definition of this here.
24:51Terry Lin:I just want to be able to read and understand what this is doing. But a AI engineer reads the files very differently. And so what I like about your approach here is you're optimizing for your AI colleague and the way that they read this context. And it may or may not be the same as an engineer or human may want to read and retain the context. And so I think that's going to be a real challenge for teams that are putting this kind of flow into production is making those design principles work for all systems that are contributing code. Yeah. And one thing that's useful if you make it smaller files is I have this final rule called a rubber duck.
25:34So in engineering, there's a concept where if you're trying to work through an issue, you talk to an inanimate object, you explain the code line by line. And so what I use this file for is if I'm just trying to learn or optimize the rate of learning, like we just generate a bunch of code. I don't know what some of it does. If I want to just learn what it does, can you just take this file and explain it to me? And then sometimes I'll have dinner, you know, I'll just ask it to like pop quiz me and I'll just like eat. It'll give me a function. I'll think about it. And then I'll kind of use this to rubber duck as a partner too.
26:03And so, yeah, it's.
26:05Terry Lin:This is a, this is a great idea. Cause I do this a lot once when I have let cursor, you know, run through a big chunk of code is I just, I summarize it with like, explain to me what you did and how you did it and why you did it. We actually put those really clear explanations into our pull request descriptions. So it's very clear how something was built, but you're getting the A plus colleague award by actually quizzing yourself on how your own app works. And I think a lot of people are worried that, you know, Vibe coders or whatever are going to build these apps and have zero idea how they actually work, whether they're secure.
26:44Terry Lin:And honestly, they'll have zero idea of the underlying technologies and won't actually develop technical skills that could make them an overall better builder. And this is a really good strategy kind of built in to use your vibe coding process as a learning tool, which I think is the best way to do things. I have been a self-taught software engineer. I've always had to learn by like tapping a colleague on his shoulder and saying, What do you think of this code? How did you build this? Why did you make this decision? Why did you select this library? All that kind of stuff. And now you just have this like infinitely patient colleague to do that with.
27:26Terry Lin:And I just think it's such an amazing learning opportunity for folks that want to develop technical skills, want to be able to code themselves or in partnership with AI. So I think this is a really awesome process. And I definitely want these rubber duck rules. Yeah, and I think rubber ducking, vibe coding, is essentially like a reverse rubber ducking, right? Like we're telling the LLM what we want, but it's spitting out the code for you, right? And I think building this muscle actually helps you build faster over time because you're learning how to debug stuff with LLM as your tutor. As you go through this process, you can start to see when it starts to make mistakes and you can get through them faster just by going through this process and learning through your code base.
28:08Terry Lin:And kind of the rate of learning is what you're trying to optimize for with this rule. I always think this is so interesting. All of you organized vibe coders out there. Ryan, who was on our podcast, has a somewhat similar, slightly different flow. Yours is a little bit more technically oriented. I still just like to float through the ether, eating as many tokens as possible, letting the LLM take me where it will. Maybe I will bring some more of this structure. I'm just really good at writing PRDs, you know. And so I start from there and then just let it let it rip. But I love this process. Okay.
28:46Terry Lin:I want you to show us one more thing, which is a little bit more on the design and exploration side, which is how you combine, you know, offline drawing and online to build little mobile prototypes and try out ideas. Yeah. So with mobile, the funding is I prototype this using index cards here. So I'll show you what that looks like. So sometimes in New York, when you're in the subway, you run into these dead spots where you don't have reception. And so one thing I started doing is I started using these little index cards here where I would just draw out the UX and I could like, you could kind of like press something.
29:21You could change it to kind of simulate that kind of UX. And then what you can do is you can send this picture into GPT-4 on your mobile device and just tell it, Hey, this is a mock-up. Can you help me upscale this? And so here's kind of what it looked like here as a scribble, right? And then you can start getting variations, asking it to change different layouts and then eventually you can put this into a tool i use a tool called ux pilot which can actually spit out uh figma components and then when you drag it into figma there's apple has some libraries you can use so this is what the ui kit looks like you can do like segmentation bar they have different names for their different things on the iphone you see this is and then you just click insert and you can just start building like an ios app very quickly with kind of the default Apple layout too.
30:08So that's how you can quickly kind of spin up a design.
30:12Terry Lin:Okay, so you are prototyping a mobile app on your mobile app, sometimes with no connection by using an index card, which is a perfect aspect ratio for prototyping a mobile app. You take those, you upload them to ChatGPT. Do you use the 4.0 image generator? Is that what you're using to get the prototype? Yep, and I think this was around the time when they released ImageGen, it just got really good. And so that's when I realized, oh, it could take a lo-fi thing and upscale it for me very quickly. Cool. And then you drag it into Figma and then use some of the out-of-the-box components. I have to ask, have you ever just uploaded those index cards directly to Cursor to see what it does with them?
30:57I have tried, but the results aren't great because I think it's like an input-output equation. And if you give it a lo-fi thing, it just gives you something that's pretty sloppy. But yeah, I think everyone knows that the more high-five you get, the better quality you can get. And so that's kind of where I'm really struggling at. I was like getting the design. Like I think getting the design 80 % of what you want is pretty easy. But that last 10, 1 % is like really, really hard to fiddle with LLM.
31:22Terry Lin:This is what I tell designers all the time. As I say, your value add is not getting the forms on the website. It's not getting the buttons in the app. It is that last 10 % that really differentiates an app. And I still think there's this great place for human creativity and craft and innovation in that space. And so I hope the designers that are listening, you know, look at this app and they go, I know what the 10 % is. And then they bring that to their companies or their projects. Yeah, it's like just looking at this app, there's things that annoy me. I'm like, oh, this is like the last 10%, but it works.
31:58I should do other things because you've got to keep shipping right as one person.
32:02Terry Lin:Oh my gosh, you're giving us PMs and our love for MVP is a bad name because you know those engineers and designers always want to finish that last 10%. Yeah, yeah. I think as a PM, when you do these side projects, I think it also makes you communicate better with your engineers and designers just because you know what they go through. And like when you go back and bring this context back, you can just have much better conversations by doing these side projects too. Great. I completely agree. Well, Terry, this has been so fun. We are going to do a couple lightning round questions and then get back to your dumbbell shrugs.
32:39Terry Lin:My first question is, you know, the thing that I was struck with at the beginning of this podcast is the sort of like Xcode, cursor, rebuild, flow. And so if you could make an ask out there on behalf of all the mobile app developers to anyone thinking about AI software coding tools like Cursor or any of the agentic workflows? What's your ask? Anything that lets me know what's going on in the mobile. One example is there's no network tab in Xcode, so you don't actually know what traffic is going in. So it makes it hard to debug. I have to then do print statements, which gets very old school and annoying to do.
33:19Terry Lin:Got it. So just basic quality of life improvements for mobile engineers. Do you feel like the LLM models are pretty good at, you know, mobile languages? Do you feel like you're getting high quality code output when you're developing for mobile? I've heard a lot from users that, you know, these LLMs are really well trained on some ecosystems and languages and less so on others. Have you had any challenges there? You feel like they're pretty good? I haven't had issues yet. I think where I have issues is if it uses an older library or kind of way to describe the language. But other than that, it's been okay.
33:53Because I think these tools now can access the docs. You could use websites. So you could kind of figure it out from there. And I think they'll just get smarter over time. So I haven't seen that be an issue right now yet.
34:03Terry Lin:Great. Okay. And then my last question, you're so organized. So maybe you never have this problem, unlike me, who is very disorganized. But when the LLM is not listening, when it's making 900 line code files instead of 200 line code files, what is your tactic for getting an LLM back on the right track? Let's see. I would use a lot of git commits and then that's my fallback, basically. I'm almost overly committed to that. So you are just breadcrumbing along the way each change. So you do risk mitigation as opposed to redirection. So you're like every little change, you're doing a git commit. So if it ever gets off track, you can just go back and reset.
34:49Yep. Every three tasks, there is a git commit before after. And that's how I know I can let it rip because I have that risk mitigated, right?
34:56Terry Lin:Oh, come on. You got to live. You got to do like a 15 file plus 2 ,500 lines minus 74 line commit. You gotta live, my friend. See, here's where we can show we're just very different people. Red, blue, fire, ice, you know, hot AI coding, YOLO, very controlled git commit coder. Okay, well, this is very fun. Terry, thank you for showing us your flow. I think this is really useful for anyone coding in these tools, for PMs looking how to get started or apply their process. And then for people stuck on the subway, thinking about how they can make their next app. Where can we find you and how can we be helpful?
35:41Yeah, you can find me on LinkedIn or on X. It's me, Terry Lynn.
35:46Terry Lin:Amazing. Thanks so much. Thanks so much for watching. If you enjoyed the show, please like and subscribe here on YouTube or even better, leave us a comment with your thoughts. You can also find this podcast on Apple Podcasts, Spotify, or your favorite podcast app. Please consider leaving us a rating and review, which will help others find the show. You can see all our episodes and learn more about the show at howiaipod.com. See you next time.
From the publisher
Terry Lin is a product manager and developer who built Cooper’s Corner, an AI-powered fitness tracking app that works across iPhone and Apple Watch. Frustrated with traditional fitness apps that require extensive setup and manual logging, Terry created a solution that lets users simply speak their exercises, weights, and reps. The app automatically structures this data and provides analytics on workout consistency and progress. In this episode, Terry shares his vibe-coding process using Cursor and Xcode and explains how he optimizes his codebase for AI collaboration.
What you’ll learn:
1. How Terry built a voice-powered fitness tracker that works across iPhone and Apple Watch
2. His “dual-wielding” workflow, using Cursor for coding and Xcode for building and debugging
3. Terry’s three-step process for working with AI: create, review, and execute
4. Why optimizing your codebase for AI collaboration can dramatically improve productivity
5. How to use index cards and GPT-4 to rapidly prototype mobile interfaces
6. A technique for “vibe refactoring” that keeps code organized and optimized for both human and AI readability
7. His “rubber duck” technique to better understand generated code and improve your learning process
—
Brought to you by:
Paragon—Ship every SaaS integration your customers want
Miro—A collaborative visual platform where your best work comes to life
—
Where to find Terry Lin:
LinkedIn: https://www.linkedin.com/in/itsmeterrylin/
GitHub: https://github.com/itsmeterrylin
—
Where to find Claire Vo:
ChatPRD: https://www.chatprd.ai/
Website: https://clairevo.com/
LinkedIn: https://www.linkedin.com/in/clairevo/
—
In this episode, we cover:
(00:00) Introduction to Terry and his fitness tracker app
(02:30) Demo of the voice-powered workout tracking across devices
(06:40) Analytics and history views for tracking consistency
(07:20) Dual-wielding Cursor and Xcode for mobile development
(09:05) Building a v1 using AI tools
(11:19) A three-step AI workflow: create, review, execute
(19:38) Token conservation and vibe refactoring explained
(23:25) Optimizing file sizes for better AI performance
(25:28) Using “rubber duck” rules to learn from AI-generated code
(28:13) Prototyping with index cards and GPT-4
(31:20) Human creativity and the last 10%
(32:29) Lightning round and final thoughts
—
Tools referenced:
• Cursor: https://cursor.sh/
• Xcode: https://developer.apple.com/xcode/
• GPT-4: https://openai.com/gpt-4
• UX Pilot: https://uxpilot.ai/
• Figma: https://www.figma.com/
• Linear: https://linear.app/
—
Other references:
• Apple UI Kit: https://developer.apple.com/design/human-interface-guidelines/
—
Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email jordan@penname.co.




