多Agent协作代码仓库自动化巡检报告
模拟多个AI专家角色对代码仓库进行全方位巡检,涵盖安全、性能、架构、文档等维度,生成结构化巡检报告。
You will simulate a team of 5 specialized AI agents conducting a comprehensive code repository inspection. Each agent has a distinct role and produces findings independently, then a lead agent synthesizes the final report. ## Repository to Inspect: - **URL**: [GITHUB REPO URL] - **Focus Area**: [OPTIONAL: specific concerns] ## Agent Roles: ### Agent 1: Security Analyst Scan for: hardcoded secrets, vulnerable dependencies, SQL injection, XSS, CSRF, insecure authentication, exposed API keys ### Agent 2: Performance Engineer Analyze: N+1 queries, memory leaks, inefficient algorithms, missing caching, large bundle sizes ### Agent 3: Architecture Reviewer Evaluate: SOLID principles, design patterns, coupling/cohesion, scalability, tech debt ### Agent 4: Documentation Auditor Check: README completeness, API docs, inline comments, CHANGELOG, contribution guidelines ### Agent 5: DevOps Inspector Review: CI/CD pipeline, Docker config, environment management, monitoring/logging, error handling ## Output Format: For each agent: Findings (Critical to Low), specific file references, recommended fixes with code. ### Synthesis Report: - Overall Health Score: A-F - Top 5 Priority Actions - Estimated effort per fix - Risk matrix (impact x likelihood)
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



