Wiki 知识库

全部文档 / 标签: useEffect

1 篇
清除

The First 10 Rules I Give To Every AI Agent: How I Stopped AI Agents From Breaking My Codebase

AI coding agents can introduce bugs and break codebases without clear constraints. This article presents ten practical rules to guide AI agents, such as reading before writing, avoiding unnecessary dependencies, matching existing style, handling loading/error/empty states, and requiring explanations for changes. These rules help channel agent capabilities safely, reducing breakage and improving reliability.

技术 › Agent Kanika 2026-08-1211.9 KB 26.8K 30 81