重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/open-horizon-labs/skills --skill review在提交前获取第二意见。Review 检查意图与执行之间的一致性,检测偏差,并决定:继续、调整或挽救。
这是 意图 > 执行 > 审查 循环的一部分,该循环在每个规模上运行——从单个提交到为期数周的项目。Review 负责闭环。
在以下情况调用 /review:
不要在以下情况使用: 你正处于深度心流状态并取得进展时。不要打断富有成效的工作。在自然中断时进行审查,而非任意间隔。
在审查任何内容之前,重申我们最初打算做的事情:
"目标是:[用一句话陈述原始意图]"
如果你无法清晰地陈述目标,这就是第一个发现。在进行下一步之前,去找到它或与用户澄清。
对照原始目标进行以下检查:
这是否在解决一个真实的、当前的问题——而不是一个假设的未来问题?
如果出现了不必要的工作:"这增加了 [X],而它不属于原始目标的一部分。"
工作是否仍然指向原始目标?
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
偏离的迹象:
如果不一致:"目标是 X,但当前工作处理的是 Y。"
方法是否与问题规模相适应?
复杂性信号:
如果过于复杂:"更简单的方法可能有效。考虑 [替代方案]。"
你能阐明为什么这种方法有效吗?
如果不清晰:"机制是什么?为什么这能解决问题?"
所有连锁效应都处理了吗?
如果不完整:"这增加了 [X],但没有更新 [相关位置]。"
偏差是你开始的地方与你所在位置之间的差距。明确指出发现的任何偏差:
范围偏差 - 任务超出了原始边界 解决方案偏差 - 方法偏离了原计划 目标偏差 - 目标本身在没有明确决策的情况下发生了偏移
对于检测到的每个偏差:
Drift: [type]
Started as: [original]
Became: [current]
Impact: [what this means]
根据审查结果,选择以下一项:
| 决策 | 适用情况 | 行动 |
|---|---|---|
| 继续 | 一致,按计划进行 | 自信地继续 |
| 调整 | 轻微偏差,可恢复 | 纠正方向并继续 |
| 暂停 | 目标不明确或存在重大问题 | 停止,与用户澄清,然后继续 |
| 挽救 | 显著偏差,需要重启 | 使用 /salvage 提取学习成果,然后重启 |
## Review Summary
**Aim:** [original intent]
**Status:** [Continue / Adjust / Pause / Salvage]
### Alignment Check
- Necessary: [Yes/No - brief note]
- Aligned: [Yes/No - brief note]
- Sufficient: [Yes/No - brief note]
- Mechanism clear: [Yes/No - brief note]
- Changes complete: [Yes/No - brief note]
### Drift Detected
[List any drift found, or "None detected"]
### Decision
[Reasoning for the status decision]
### Next Steps
[Concrete actions to take]
/review
I've been working on the auth endpoint for 30 minutes.
输出:
## Review Summary
**Aim:** Add JWT validation to the /api/users endpoint
**Status:** Continue
### Alignment Check
- Necessary: Yes - endpoint currently accepts any request
- Aligned: Yes - implementing exactly what was specified
- Sufficient: Yes - using existing auth middleware, minimal new code
- Mechanism clear: Yes - middleware validates token, rejects invalid
- Changes complete: Yes - endpoint updated, tests added
### Drift Detected
None detected
### Decision
Work is aligned and on track. JWT validation implemented using existing patterns.
### Next Steps
1. Run tests
2. Commit
3. Open PR
/review
Started adding error handling to the API. Now I'm refactoring the logger.
输出:
## Review Summary
**Aim:** Improve error handling in /api/orders endpoint
**Status:** Adjust
### Alignment Check
- Necessary: Partially - error handling yes, logger refactor no
- Aligned: Drifted - logger refactor wasn't part of the aim
- Sufficient: Over-scoped - touching infrastructure for a single endpoint
- Mechanism clear: Yes for error handling, unclear for logger
- Changes complete: No - error handling incomplete
### Drift Detected
Drift: Scope Drift
Started as: Add try/catch and proper error responses to /api/orders
Became: Refactoring the entire logging system
Impact: Original task incomplete, unrelated system being modified
### Decision
Revert logger changes. Complete the original error handling task. If logger needs work, that's a separate task.
### Next Steps
1. `git stash` the logger changes
2. Complete error handling for /api/orders
3. Commit that work
4. If logger refactor is still needed, create separate task
/review
Third attempt at fixing the build. Each fix breaks something else.
输出:
## Review Summary
**Aim:** Fix failing CI build (test timeout issue)
**Status:** Salvage
### Alignment Check
- Necessary: Yes - build must pass
- Aligned: No - now touching unrelated config
- Sufficient: No - complexity increasing with each fix
- Mechanism clear: No - unclear why tests timeout
- Changes complete: No - in unstable state
### Drift Detected
Drift: Solution Drift
Started as: Increase test timeout
Became: Modifying test infrastructure, CI config, and mock setup
Impact: Build in worse state than when started, root cause unknown
### Decision
Stop. The approach has reversed multiple times. Extract what was learned about the test infrastructure and restart with better understanding.
### Next Steps
1. Run `/salvage` to capture learnings
2. Revert to known-good state
3. Investigate root cause before attempting fix
4. Start fresh with clear hypothesis
此技能可以将上下文持久化到 .oh/<session>.md 供后续技能使用。
如果提供了会话名称 (/review auth-refactor):
.oh/auth-refactor.md如果未提供会话名称 (/review):
"保存到会话?[建议名称] [自定义] [跳过]"
读取: 检查现有的会话文件。读取 目标(我们想要的结果)、问题陈述、解决方案空间(采取的方法)和 执行 状态。这对于检测偏差至关重要。
写入: 审查后,写入评估结果:
## Review
**Updated:** <timestamp>
**Verdict:** [ALIGNED | DRIFTED | BLOCKED]
[review findings, drift analysis, recommendations]
随处可用。根据对话上下文生成审查摘要。无持久化。
.oh/<session>.md 读取目标、约束条件、选定的解决方案oh_search_context("constraints for [area]", artifact_types: ["guardrail"]) 来检查相关约束outcome_progress 来检查工作与声明结果的对比oh_record_guardrail_candidate当用户或代理声称工作完成时,验证:
如果未完成:
"完成门控:[缺失的步骤]。在标记完成前运行检查。"
在之后: /execute(构建后的自然检查点)。
导向: 如果一致则导向 /ship,如果偏离则导向 /salvage,如果基础不清晰则返回 /aim。
这是门控: Review 决定是继续、调整还是重启。
审查后,通常:
/salvage 提取学习成果,然后重启/aim 或 /problem-statement记住: Review 不是官僚主义。这是你在偏差累积之前抓住它的时刻。五分钟的审查可以节省数小时的方向错误工作。
每周安装数
61
仓库
GitHub 星标数
1
首次出现
Jan 27, 2026
安全审计
安装于
claude-code45
opencode30
codex21
gemini-cli21
cursor17
github-copilot16
A second opinion before committing. Review checks alignment between intent and execution, detects drift, and decides: continue, adjust, or salvage.
This is part of the Intent > Execution > Review loop that runs at every scale--from a single commit to a multi-week project. Review closes the loop.
Invoke /review when:
Do not use when: You're in deep flow and making progress. Don't interrupt productive work. Review at natural breaks, not arbitrary intervals.
Before reviewing anything, restate what we set out to do:
"The aim was: [original intent in one sentence]"
If you can't state the aim clearly, that's the first finding. Go find it or clarify with the user before proceeding.
Work through these checks against the original aim:
Is this solving a real, current problem--not a hypothetical future one?
If unnecessary work crept in: "This adds [X] which wasn't part of the original aim."
Is the work still pointed at the original aim?
Signs of drift:
If misaligned: "The aim was X, but current work addresses Y."
Is the approach appropriately sized for the problem?
Complexity signals:
If over-complex: "A simpler approach would work. Consider [alternative]."
Can you articulate WHY this approach works?
If unclear: "What's the mechanism? Why will this solve the problem?"
Are all ripple effects handled?
If incomplete: "This adds [X] but doesn't update [related site]."
Drift is the gap between where you started and where you are. Explicitly name any drift found:
Scope Drift - The task grew beyond original boundaries Solution Drift - The approach changed from what was planned Goal Drift - The aim itself shifted without explicit decision
For each drift detected:
Drift: [type]
Started as: [original]
Became: [current]
Impact: [what this means]
Based on the review, choose one:
| Decision | When | Action |
|---|---|---|
| Continue | Aligned, on track | Proceed with confidence |
| Adjust | Minor drift, recoverable | Correct course and continue |
| Pause | Unclear aim or major questions | Stop, clarify with user, then resume |
| Salvage | Significant drift, restart needed | Extract learning with /salvage, then restart |
## Review Summary
**Aim:** [original intent]
**Status:** [Continue / Adjust / Pause / Salvage]
### Alignment Check
- Necessary: [Yes/No - brief note]
- Aligned: [Yes/No - brief note]
- Sufficient: [Yes/No - brief note]
- Mechanism clear: [Yes/No - brief note]
- Changes complete: [Yes/No - brief note]
### Drift Detected
[List any drift found, or "None detected"]
### Decision
[Reasoning for the status decision]
### Next Steps
[Concrete actions to take]
/review
I've been working on the auth endpoint for 30 minutes.
Output:
## Review Summary
**Aim:** Add JWT validation to the /api/users endpoint
**Status:** Continue
### Alignment Check
- Necessary: Yes - endpoint currently accepts any request
- Aligned: Yes - implementing exactly what was specified
- Sufficient: Yes - using existing auth middleware, minimal new code
- Mechanism clear: Yes - middleware validates token, rejects invalid
- Changes complete: Yes - endpoint updated, tests added
### Drift Detected
None detected
### Decision
Work is aligned and on track. JWT validation implemented using existing patterns.
### Next Steps
1. Run tests
2. Commit
3. Open PR
/review
Started adding error handling to the API. Now I'm refactoring the logger.
Output:
## Review Summary
**Aim:** Improve error handling in /api/orders endpoint
**Status:** Adjust
### Alignment Check
- Necessary: Partially - error handling yes, logger refactor no
- Aligned: Drifted - logger refactor wasn't part of the aim
- Sufficient: Over-scoped - touching infrastructure for a single endpoint
- Mechanism clear: Yes for error handling, unclear for logger
- Changes complete: No - error handling incomplete
### Drift Detected
Drift: Scope Drift
Started as: Add try/catch and proper error responses to /api/orders
Became: Refactoring the entire logging system
Impact: Original task incomplete, unrelated system being modified
### Decision
Revert logger changes. Complete the original error handling task. If logger needs work, that's a separate task.
### Next Steps
1. `git stash` the logger changes
2. Complete error handling for /api/orders
3. Commit that work
4. If logger refactor is still needed, create separate task
/review
Third attempt at fixing the build. Each fix breaks something else.
Output:
## Review Summary
**Aim:** Fix failing CI build (test timeout issue)
**Status:** Salvage
### Alignment Check
- Necessary: Yes - build must pass
- Aligned: No - now touching unrelated config
- Sufficient: No - complexity increasing with each fix
- Mechanism clear: No - unclear why tests timeout
- Changes complete: No - in unstable state
### Drift Detected
Drift: Solution Drift
Started as: Increase test timeout
Became: Modifying test infrastructure, CI config, and mock setup
Impact: Build in worse state than when started, root cause unknown
### Decision
Stop. The approach has reversed multiple times. Extract what was learned about the test infrastructure and restart with better understanding.
### Next Steps
1. Run `/salvage` to capture learnings
2. Revert to known-good state
3. Investigate root cause before attempting fix
4. Start fresh with clear hypothesis
This skill can persist context to .oh/<session>.md for use by subsequent skills.
If session name provided (/review auth-refactor):
.oh/auth-refactor.md directlyIf no session name provided (/review):
"Save to session? [suggested-name] [custom] [skip]"
Reading: Check for existing session file. Read Aim (what outcome we wanted), Problem Statement , Solution Space (approach taken), and Execute status. This is essential for detecting drift.
Writing: After review, write the assessment:
## Review
**Updated:** <timestamp>
**Verdict:** [ALIGNED | DRIFTED | BLOCKED]
[review findings, drift analysis, recommendations]
Works anywhere. Produces review summary based on conversation context. No persistence.
.oh/<session>.md for aim, constraints, selected solutionoh_search_context("constraints for [area]", artifact_types: ["guardrail"]) to check against relevant guardrailsoutcome_progress to check work against the declared outcomeoh_record_guardrail_candidate if the review surfaces new constraintsWhen the user or agent claims work is complete, verify:
If incomplete:
"Completion gate: [missing step]. Run the check before marking complete."
Comes after: /execute (natural checkpoint after building). Leads to: /ship if aligned, /salvage if drifted, back to /aim if fundamentals are unclear. This is the gate: Review decides whether to continue, adjust, or restart.
After review, typically:
/salvage to extract learning before restart/aim or /problem-statement if fundamentals unclearRemember: Review is not bureaucracy. It's the moment you catch drift before it compounds. Five minutes of review saves hours of wrong-direction work.
Weekly Installs
61
Repository
GitHub Stars
1
First Seen
Jan 27, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code45
opencode30
codex21
gemini-cli21
cursor17
github-copilot16
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
123,700 周安装
deepTools:NGS数据分析工具包 - ChIP-seq/RNA-seq/ATAC-seq质量控制与可视化
55 周安装
scikit-bio Python生物信息学库:序列分析、系统发育、多样性计算与微生物组数据处理
55 周安装
Python DICOM处理教程:pydicom读取医学影像、元数据操作与格式转换
55 周安装
治疗计划撰写模板与工具 - 专业LaTeX模板、AI图表生成、法规合规
55 周安装
Geniml:基因组区间机器学习Python包,支持BED文件嵌入与单细胞ATAC-seq分析
55 周安装
PennyLane量子计算库:量子机器学习、量子化学与硬件集成全指南
55 周安装