I'm Ubaid. Founder of BuildixAI and MD of ZendTechs in Canada. I build with Laravel, PHP and React, and I post about using AI coding agents safely. BuildixAI is an AI app builder where you own your code. Join the waitlist: https://t.co/kdne4glo0G
@laravelnews@paulredmond The model lookup is handy, but I would still check that the user can access that record. Loading a model from an ID in the request is exactly where policy checks get skipped.
@Cloudflare Making a site easy for agents to search is smart. I would still watch the logs for the first few weeks, because agent traffic looks very different from normal users.
Before you ask an AI agent for a big feature, ask it for a plan first. Read the plan, cut what you don't need, then let it write code. A smaller plan means a smaller diff and fewer bugs to review.
@pushpak1300 Loading skills only when needed is the right call. I would keep each one small, like one for migrations and one for tests, so the agent does not fill its context with rules it doesn't need.
@enunomaduro@pushpak1300 A tool that only reports and never edits files is a safe default when AI agents write the code. I would make the agent run it before it says the work is done.
When an AI agent writes a Laravel migration, read it before you run it on production. Look for dropColumn or a change to an existing column. A rollback brings the column back, not the data.
@PovilasKorop The part a prompt can't replace is the workflow around it. Saved history, team access and a clear review step are still the product after the model gets better.
@mjovanovictech The trade-off is that the read model can lag a few seconds behind. For order history that is fine, but for payment status I would still read from the source.
When an AI agent adds a new package to your project, check it before you install. Look at who made it, when it was last updated and how many people use it. Agents sometimes suggest a name that is close to a real package, but not the real one.
@prasanth_kuna Good add. A backup you never restored is just a hope. I'd put the rollback steps in the same script as the backup. Do you test restores on a schedule, or before big updates?
Most broken updates are not bad code. They are skipped checks.
I wrote down the 5 steps I run every time I pull new code. Backup, exact commit, migrations, health checks, tests. https://t.co/4OyyDzEEg6
When an AI agent writes a Laravel controller, look for queries inside loops. It works fine with 10 rows in testing and gets slow with 10,000 in production. One with() call usually fixes it.
@pfernan95dev This is why I give agents short-lived keys with small scopes, never my main ones. If an old log leaks, the key inside should already be dead.
When an AI agent adds a useEffect in React, ask why. Often the value can be computed during render, and the effect only adds an extra render and a new bug.
@taylorotwell Showing the author next to the PR is useful for review. For a small team, I would also want the preview link to show the last deploy time, so testers know it is fresh.