返回提示词库
文本 · 通用大模型多Agent协作代码仓库自动化巡检报告PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

多Agent协作代码仓库自动化巡检报告

模拟多个AI专家角色对代码仓库进行全方位巡检,涵盖安全、性能、架构、文档等维度,生成结构化巡检报告。

22浏览
完整提示词可替换花括号中的变量后直接使用

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)

2026/4/7

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。