简介
AI 编码 Agent 写代码快,但也引入独特的失败模式 — 虚构包名、虚构 API、过时模式和过度工程。本清单是专为 AI 生成代码设计的结构化审查流程,覆盖标准质量检查和 AI 特有陷阱。适合审查 AI 生成 PR 的开发者和技术负责人。
Structured checklist for reviewing AI-generated code before merging. Covers correctness, security, performance, maintainability, and AI-specific pitfalls like hallucinated imports and phantom APIs.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
合并 AI 生成的代码前,运行以下检查:
- [ ] 代码能编译运行
- [ ] 没有虚构的 import(不存在的包)
- [ ] 没有虚构的 API 端点
- [ ] 没有硬编码的密钥
- [ ] 没有过度工程化AI 编码 Agent 写代码快,但也引入独特的失败模式 — 虚构包名、虚构 API、过时模式和过度工程。本清单是专为 AI 生成代码设计的结构化审查流程,覆盖标准质量检查和 AI 特有陷阱。适合审查 AI 生成 PR 的开发者和技术负责人。
来自审查数千个 AI 生成 PR 的生产经验。
Comprehensive security guide for defending LLM applications against prompt injection, jailbreaks, data exfiltration, and indirect attacks. Includes defense patterns, code examples, and testing strategies.
Complete guide to building a custom MCP server from scratch. Covers the protocol, TypeScript and Python SDKs, tool definition, resource management, testing, and deployment patterns.