| Deficit | Manifestation in prototyping |
|---|---|
| Hallucination | Believes it completed a task it never did. Assumes code exists when it doesn't. |
| Jagged intelligence (how many Rs in strawberry?) |
Wrong logic in code, leading to bugs it struggles to discover on its own. |
| Anterograde amnesia (always a new employee) |
Starting a new chat makes the agent forget all prior work and conversations. |
| Gullibility | Prompt-injection risk. The AI in your prototype could leak API keys or other secrets. |
| Sycophancy | Your POV could be wrong, but the agent goes ahead and "fixes" it anyway. |
| Rule type (guard-rail) | Use it when you want the AI to… | Say it like this in your coding agent's chat |
|---|---|---|
| 1. Scope | Touch only a specific file, screen, or component. | "Work only in checkout_page.jsx, nothing else." |
| 2. Outcome / Goal | Deliver a clear end-result, not random tweaks. | "Add a 'Dark Mode' toggle that flips our primary colours." |
| 3. Brand & Style | Keep colours, fonts, spacing on-brand. | "Follow our design tokens: primary=#0052CC, radius=8px." |
| 4. Constraints | Avoid risk — new libraries, API changes, PII exposure. | "Do NOT add new packages or collect extra user data." |
| 5. Feedback / Preview | Show a quick mock before finalising. | "Give me a visual diff or screenshot preview first — no file overwrite yet." |
| 6. Test / Validation | Prove it works without a deep code review. | "Include a quick self-test: toggle Dark Mode on/off and log state." |