审查当前改动/全仓的过度工程与可精简点,输出报告。只读,不修改代码。触发:用户要求精简审查、代码评审、减少复杂度、过度工程检查时使用。
Scanned 9/5/2026
Install to Claude Code
npx -y skills add kakadeka/Baton --skill baton-lean-review --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Baton Lean Review?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/kakadeka-baton-lean-review)More formats (shields.io, HTML) on the badges page.
---
name: baton-lean-review
description: 审查当前改动/全仓的过度工程与可精简点,输出报告。只读,不修改代码。触发:用户要求精简审查、代码评审、减少复杂度、过度工程检查时使用。
---
# baton-lean-review(只读精简审查)
审查当前 diff 或指定范围,按净收益排序输出报告。**本 skill 绝不修改代码**;不替代正确性/安全/Fidelity Reviewer。
## 优先级(不可违反)
用户明确要求/FROZEN > 安全与数据完整性 > Contract/DoD/Fidelity > 正确性 > 记忆闭环 > 精简目标 > 输出风格。
## 决策阶梯(按顺序停止在第一个可行层级)
1. 这项需求是否真实需要?推测性未来需求先不做。
2. 仓库是否已有 helper/类型/模式/组件?优先复用。
3. 标准库是否覆盖?
4. OS/浏览器/数据库/框架原生能力是否覆盖?
5. 已安装依赖是否覆盖?
6. 能否通过删除、配置或组合现有能力完成?
7. 前六项都不成立,才新增最小实现。
## 标签
| 标签 | 含义 |
|---|---|
| `delete` | 死代码、投机功能 |
| `reuse` | 仓库已有能力可复用 |
| `stdlib` | 手写标准库已有等价物 |
| `native` | 平台原生能力可替代 |
| `yagni` | 单实现接口、单产品工厂、无人使用配置 |
| `shrink` | 逻辑等价但可更小 |
| `keep` | 安全/正确性/兼容性强制保留 |
## 输出格式
```text
文件:行号 | 标签 | 建议 | 替代物 | 风险门禁 | 预计净变化
```
- `keep` 标签必须说明保留原因(安全/正确性/兼容性)。
- 涉及安全校验、防数据丢失、凭据处理、FROZEN/Fidelity 的代码**默认 keep**,除非有更强证据。
- 每条建议给出可验证的替代方案;没有替代方案的不建议。
## 边界
- 只读:不修改任何文件、不提交、不 push。
- 不替代正确性/安全/Fidelity Reviewer。
- 报告末尾标注:审查范围、审查身份(无法确认写 unknown)、未覆盖部分。
## 从主 SKILL 迁入的 Lean Gate 精华
主 SKILL 不再携带 Lean Gate。需要精简审查时显式使用本 skill(默认安装不含本文件)。
优先级永远:**用户明确要求/FROZEN > 安全与数据完整性 > Contract/DoD/Fidelity > 正确性 > 记忆闭环 > 精简目标 > 输出风格**。
不可精简项:信任边界输入校验;防数据丢失的错误处理;鉴权/授权/凭据/注入防护;无障碍基础;用户明确要求与 FROZEN/Fidelity;DoD 与非平凡逻辑的最小可运行检查。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.
**Complete production-ready guide for Google Gemini embeddings API** This skill provides comprehensive coverage of the `gemini-embedding-001` model for generating text embeddings, including SDK usage, REST API patterns, batch processing, RAG integration with Cloudflare Vectorize, and advanced use cases like semantic search and document clustering. ---
Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.