comprehensive-review-full-review
它能做什么
这个工具可以帮你全面审查编程代码。它会检查代码的质量、安全性、性能、测试和文档,并调用不同的专家角色,确保一切运行良好,并遵循最佳实践。
适用场景
- ✓在审查新代码或已有代码时。
- ✓想确保代码既安全又快速时。
- ✓需要一份详细的代码审查清单时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/comprehensive-review-full-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我审查这段代码,重点关注安全性和性能,并告诉我它是否符合 React 的最佳实践。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会把审查分成几个阶段。首先,它检查代码的整体质量和架构。然后,它重点分析安全性和性能。最后,它检查测试和文档。它会借助人工智能和其他工具来找出问题,并提出改进建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Use this skill when
- Working on comprehensive review full review tasks or workflows
- Needing guidance, best practices, or checklists for comprehensive review full review
Do not use this skill when
- The task is unrelated to comprehensive review full review
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
Orchestrate comprehensive multi-dimensional code review using specialized review agents
[Extended thinking: This workflow performs an exhaustive code review by orchestrating multiple specialized agents in sequential phases. Each phase builds upon previous findings to create a comprehensive review that covers code quality, security, performance, testing, documentation, and best practices. The workflow integrates modern AI-assisted review tools, static analysis, security scanning, and automated quality metrics. Results are consolidated into actionable feedback with clear prioritization and remediation guidance. The phased approach ensures thorough coverage while maintaining efficiency through parallel agent execution where appropriate.]
Review Configuration Options
- --security-focus: Prioritize security vulnerabilities and OWASP compliance
- --performance-critical: Emphasize performance bottlenecks and scalability issues
- --tdd-review: Include TDD compliance and test-first verification
- --ai-assisted: Enable AI-powered review tools (Copilot, Codium, Bito)
- --strict-mode: Fail review on any critical issues found
- --metrics-report: Generate detailed quality metrics dashboard
- --framework [name]: Apply framework-specific best practices (React, Spring, Django, etc.)
Phase 1: Code Quality & Architecture Review
Use Task tool to orchestrate quality and architecture agents in parallel:
1A. Code Quality Analysis
- Use Task tool with subagent_type="code-reviewer"
- Prompt: "Perform comprehensive code quality review for: $ARGUMENTS. Analyze code complexity, maintainability index, technical debt, code duplication, naming conventions, and adherence to Clean Code principles. Integrate with SonarQube, CodeQL, and Semgrep for static analysis. Check for code smells, anti-patterns, and violations of SOLID principles. Generate cyclomatic complexity metrics and identify refactoring opportunities."
- Expected output: Quality metrics, code smell inventory, refactoring recommendations
- Context: Initial codebase analysis, no dependencies on other phases
1B. Architecture & Design Review
- Use Task tool with subagent_type="architect-review"
- Prompt: "Review architectural design patterns and structural integrity in: $ARGUMENTS. Evaluate microservices boundaries, API design, database schema, dependency management, and adherence to Domain-Driven Design principles. Check for circular dependencies, inappropriate coupling, missing abstractions, and architectural drift. Verify compliance with enterprise architecture standards and cloud-native patterns."
- Expected output: Architecture assessment, design pattern analysis, structural recommendations
- Context: Runs parallel with code quality analysis
Phase 2: Security & Performance Review
Use Task tool with security and performance agents, incorporating Phase 1 findings:
2A. Security Vulnerability Assessment
- Use Task tool with subagent_type="security-auditor"
- Prompt: "Execute comprehensive security audit on: $ARGUMENTS. Perform OWASP Top 10 analysis, dependency vulnerability scanning with Snyk/Trivy, secrets detection with GitLeaks, input validation review, authentication/authorization assessment, and cryptographic implementation review. Include findings from Phase 1 architecture review: {phase1_architecture_context}. Check for SQL injection, XSS, CSRF, insecure deserialization, and configuration security issues."
- Expected output: Vulnerability report, CVE list, security risk matrix, remediation steps
- Context: Incorporates architectural vulnerabilities identified in Phase 1B
2B. Performance & Scalability Analysis
- Use Task tool with subagent_type="application-performance::performance-engineer"
…
常见问题
什么是“专业代理”?
它们就像不同领域的专家(比如质量、安全等),工具会在审查的每个阶段让它们分别分析代码。
“多维度审查”是什么意思?
意思是审查会从多个不同角度来看代码:质量、安全性、性能、测试和文档。
我可以让它只关注某些方面吗?
可以。你可以让它重点关注安全性、性能、TDD 测试,或者某个具体框架,比如 React 或 Spring。
详情
热度
- GitHub 星标
- 48k
- 排名
- #4225
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。