一键导入
code-review-expert
Deep code analysis identifying subtle bugs, security issues, performance problems, and architectural concerns requiring expert-level reasoning
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deep code analysis identifying subtle bugs, security issues, performance problems, and architectural concerns requiring expert-level reasoning
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automated visual testing with Playwright MCP - test web apps, presentations, websites, and documents with scalable reviewer perspectives
Expert guidance on RAG (Retrieval-Augmented Generation) system design including chunking strategies, embedding selection, retrieval methods, and vector database choices
Design complex system architectures, evaluate tradeoffs, and make critical technical decisions requiring deep reasoning
Efficient context state inspection, task lifecycle management, and session tracking
Systematic codebase onboarding. Builds a mental model of a new or unfamiliar project by exploring structure, architecture, key data models, entry points, and auth patterns.
Systematically extract knowledge from scattered documentation to prevent catastrophic forgetting. Creates structured extraction reports with status tags.
| name | code-review-expert |
| description | Deep code analysis identifying subtle bugs, security issues, performance problems, and architectural concerns requiring expert-level reasoning |
| short_desc | deep Opus review for subtle bugs and architecture |
| keywords | ["code review","subtle bug","production code","security audit","pre-release review","edge case","race condition","OWASP","review my code","review this PR","peer review","pull request review","PR review","code quality"] |
| model | opus |
Purpose: Deep code analysis identifying subtle bugs, security issues, performance problems, and architectural concerns requiring expert-level reasoning.
Model: Opus 4.5 (detects non-obvious issues, understands system-wide implications)
When to Invoke Autonomously:
Use this skill when:
DO NOT invoke for:
Code change is:
├─ <50 lines, simple logic? → Quick review yourself
├─ Security/performance critical? → Use this skill
├─ >500 lines or complex logic? → Use this skill
├─ Pre-release major feature? → Use this skill
├─ Just formatting/docs? → Don't use this skill
└─ Touches core architecture? → Use this skill
/code-review-expert review [file/directory]
/code-review-expert security-audit [component]
/code-review-expert performance-analysis [module]
See template.md for code review report structure.
Before implementing: Search for proven patterns
.claude/scripts/kg-search search "code-review" --type concepts
For deep research: Ask user "Use hybrid_search to research [security patterns]"
Development env: Python 3.12, Weaviate:8081, Ollama:11435, venv: source claude_mcp_servers/.venv/bin/activate
Full reference:
~/.claude/shared/KNOWLEDGE_SYSTEMS.md
Decision tree:
kg-search CLI (fast, ~100ms)hybrid_search MCPsemantic_graph_search MCPsearch_code_graph MCPAfter reviewing code:
knowledge/patterns/[pattern-name].mdknowledge/anti-patterns/[mistake-name].mdThis skill is working well if: