These tips come directly from experienced Caffeine builders. They won't show up in the official docs — they're earned through trial, error, and wasted credits. Apply them and you'll build faster with less frustration.
> Tips shared by fran.icp on Discord
> Project & File Management
> Build New Features in a Separate Project
Create a fresh Caffeine project to develop and test a new feature in isolation. Once the code is clean and working, download the files and integrate them into your main app. This prevents half-finished features from breaking your main project and saves credits by keeping debug cycles short.
Step 1
Create a new project in Caffeine
Step 2
Prompt the full feature from scratch
Step 3
Test and iterate until clean
Step 4
Download the relevant files
Step 5
Integrate into your main project
Replace [filename] with the attached version — do not change anything else.[The File Replacement Workflow]
Replace [filename] with the attached version. Do not change any other files. Do not rewrite unrelated sections.[Base64 for Images That Won't Display]
[Clean Up Attached Files Regularly]
> Debugging & Recovery
[Use Git to Verify What Changed]
git diff to see exactly what was modified. This is especially useful for complex prompts where the AI touched multiple files — you know precisely what changed and can catch unintended edits before they cause problems.[Revert When You're Stuck]
Revert the app to [version/description of last working state]. Something went wrong after [what you tried] — I want to go back to the clean baseline and try a different approach.[Canister Startup Delay is Normal]
> Use the Browser Console
Open your browser's developer tools (F12 or Cmd+Option+I) and check the console when something looks wrong. It often shows the exact error, failed network call, or missing variable. Copy the error and paste it back to Caffeine or use another AI to get a targeted fix.
I'm getting this error in the browser console: [paste error here]. Here is the relevant component: [paste code]. Fix only the error — do not rewrite anything else.> The Core Principle
Caffeine is a powerful tool — but it isn't magic. If you hit an error, never hesitate to ask it for a situational analysis. The builders who get the most out of it are the ones who treat it as a collaborator, not a vending machine.
