Next.js devs: for a form that saves data, do you reach for a Server Action or a Route Handler?
1
1
25
Flutter tip: if an agent keeps critical data, like the only copy of a user's notes, in shared_preferences, move it to proper storage such as a local database.
The plugin's own docs say writes may reach disk asynchronously with no guarantee they are saved after returning, so it must not be used for critical data.
2
31
Before an agent fixes a bug, ask it for a test that fails because of that bug.
If the test already passes before the fix, it hasn't found the real cause yet.
36
Laravel tip: if an agent writes Rule::unique('users')->ignore($request->input('id')) on an update form, change it to ->ignore($user->id) from the route model.
The Laravel docs warn never to pass user-controlled request input into ignore(). Use an id from the model itself, or the rule can be open to SQL injection.
2
1
57
Source (official docs): laravel.com/docs/13.x/valida…
24
When you report a bug to an agent, paste the exact error and stack trace, not your summary of it.
Your summary tends to drop the file paths and line numbers it needs most.
1
44
Next.js tip: if an agent hides a delete button from non-admins but the Server Action behind it has no auth check, add the check inside the action.
The Next.js docs say to treat Server Actions like public API endpoints. Hiding the button in the UI is not enough, so check the session and role in the action itself.
5
4
92
Laravel devs: on a new project, do you start queues on the database driver or go straight to Redis?
62
Flutter tip: if an agent creates a TextEditingController inside build(), move it to a field on the State class and dispose it in dispose().
Inside build(), every rebuild makes a fresh controller, so the field can lose what the user typed. The Flutter docs also say to dispose the controller once it's no longer needed.
1
46
When an agent says a task is done, ask it what it skipped or left for later.
That short list is often more useful for your review than the summary of what it did.
42
Yesterday, attackers slipped a card skimmer into an A/B testing script used by 178 big sites, including CNN and Zoom.
It couldn't read card fields inside Stripe or Adyen hosted iframes.
If you take payments, let the provider's iframe hold the card field.
77
