Hallucinated code (wrong APIs, fake libraries, made-up function signatures)
Ask it to only use APIs/packages it's certain exist, and to flag anything uncertain
Paste in actual docs or your package's real interface instead of relying on its memory
Test/run the code immediately rather than trusting it on sight — catches fake imports fast
False-positive safety blocks on code
Sometimes triggered by words like "exploit," "hack," "kill," "inject" even in benign contexts (e.g., SQL "injection" defenses, process "kill" commands)
Rephrase: "terminate the process" instead of "kill it," "SQL parameterization" instead of "prevent injection attacks"
Break the request into smaller pieces if a big chunk gets blocked
Losing context in long sessions (forgetting earlier functions/variables/style)
Re-paste the relevant file or function before asking for the next change, rather than assuming it remembers
Start a new chat per discrete task/feature instead of one marathon thread
State your stack/conventions explicitly each time you start fresh (language version, framework, style preferences)
Hallucinated code (wrong APIs, fake libraries, made-up function signatures)
Ask it to only use APIs/packages it's certain exist, and to flag anything uncertain
Paste in actual docs or your package's real interface instead of relying on its memory
Test/run the code immediately rather than trusting it on sight — catches fake imports fast
False-positive safety blocks on code
Sometimes triggered by words like "exploit," "hack," "kill," "inject" even in benign contexts (e.g., SQL "injection" defenses, process "kill" commands)
Rephrase: "terminate the process" instead of "kill it," "SQL parameterization" instead of "prevent injection attacks"
Break the request into smaller pieces if a big chunk gets blocked
Losing context in long sessions (forgetting earlier functions/variables/style)
Re-paste the relevant file or function before asking for the next change, rather than assuming it remembers
Start a new chat per discrete task/feature instead of one marathon thread
State your stack/conventions explicitly each time you start fresh (language version, framework, style preferences)