second-opinion
SolidCross-validate code, architecture or design decisions using a second model. Use for critical decisions, complex refactoring, security reviews.
AI & Automation 43 stars
3 forks Updated today MIT
Install
Quality Score: 87/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Second Opinion 二次审查
## 概述
在以下场景使用二次审查:
- **架构决策**:重大技术选型、系统设计
- **安全审查**:认证、授权、数据处理逻辑
- **复杂重构**:跨模块重构、API 变更
- **疑难调试**:长时间无法解决的问题
## 方法一:使用 Oracle CLI(推荐)
[Oracle](https://github.com/steipete/oracle) 是一个专门用于此目的的工具。
### 安装
```bash
# 不需要安装,使用 npx 直接运行
npx -y @steipete/oracle --help
```
### 基本用法
```bash
# 预览(不消耗 token)
npx -y @steipete/oracle --dry-run summary \
-p "审查这个认证模块的安全性" \
--file "src/auth/**"
# 浏览器模式(推荐,使用 ChatGPT)
npx -y @steipete/oracle --engine browser --model gpt-5.2-pro \
-p "审查架构决策是否合理" \
--file "src/**" --file "!**/*.test.*"
# API 模式(需要 OPENAI_API_KEY)
npx -y @steipete/oracle --engine api \
-p "分析这个重构方案的风险" \
--file "src/core/**"
```
### 文件选择技巧
```bash
# 包含特定目录
--file "src/auth/**"
--file "src/api/**"
# 排除测试和快照
--file "src/**" --file "!**/*.test.*" --file "!**/*.snap"
# 包含配置文件
--file "package.json" --file "tsconfig.json"
```
## 方法二:手动二次审查
如果不使用 Oracle,可以手动进行二次审查:
### 1. 准备审查包
```markdown
# 审查请求
## 项目背景
- 技术栈:[描述]
- 构建命令:[描述]
- 关键约束:[描述]
## 审查目标
[具体问题或决策]
## 相关代码
[粘贴关键代码片段]
## 已尝试的方案
[描述之前的尝试]
## 期望输出
- 风险评估
- 改进建议
- 替代方案
```
### 2. 选择审查模型
| 模型 | 适用场景 | 特点 |
| ----------- | ------------------ | ------------------ |
| GPT-4/5 | 通用审查、架构分析 | 广泛知识、推理强 |
| Claude Opus | 复杂推理、代码分析 | 深度思考、上下文长 |
| Gemini Pro | 多模态、大规模代码 | 长上下文、快速 |
### 3. 审查清单
- [ ] 提供足够的项目背景
- [ ] 包含关键代码文件
- [ ] 明确审查目标
- [ ] 描述约束条件
- [ ] 指定期望输出格式
## Prompt 模板
### 架构审查
```
我需要你审查以下架构决策:
## 项目背景
[技术栈、规模、团队情况]
...
Details
- Author
- xiaobei930
- Repository
- xiaobei930/cc-best
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
light-self-review
自动反思与自我审查。每次完成任务后自动检查是否存在逻辑漏洞、事实错误、格式问题、表达不清、创新不足、引用不准、结果夸大、审美不统一、重复内容、结构混乱、不可执行等问题(常驻,所有任务收尾时生效)。不一次性给出粗糙结果,而是先自我审查与迭代后再输出。
77 Updated today
Light0305 Web & Frontend Listed
second-opinion
獨立 code review — 從全新視角檢查
45 Updated today
YuDefine AI & Automation Solid
architecture
Architecture design skill: ADR records, system design checklists, scalability assessment, architecture patterns. Use for complex system design and architecture decisions.
43 Updated today
xiaobei930