review
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseReview
审查
Use as the canonical first-party review entrypoint. It covers code review, session diffs, scoped files, PRs, full audits, behavior-preserving simplification review, source/provenance review for external skills, specialist audit lenses, browser-grounded frontend/a11y/web-quality review, review history, delta reports, false-positive learnings, SARIF output, Conventional Comments output, and approval-gated fix passes.
/reviewhonest-reviewsimplifyexternal-skill-auditor/review/review simplify/review sourceDefault posture: read-only, evidence-first, and scoped. Do not perform feature work, broad rewrites, installs, or fixes until the user explicitly approves selected findings or invokes a mode that permits edits and passes its gates.
使用作为标准的第一方审查入口。它涵盖代码审查、会话差异、范围限定文件、PR、全面审计、行为保留型简化审查、外部技能的来源/溯源审查、专业审计视角、基于浏览器的前端/a11y/网页质量审查、审查历史、差异报告、误判学习记录、SARIF输出、Conventional Comments输出,以及需审批的修复流程。
/reviewhonest-reviewsimplifyexternal-skill-auditor/review/review simplify/review source默认规则:只读、证据优先、范围限定。在用户明确批准选定的审查结果或调用允许编辑的模式并通过审批前,不得执行功能开发、大范围重写、安装或修复操作。
Canonical Vocabulary
标准术语
Use these canonical terms exactly.
| Term | Meaning |
|---|---|
| review | Evidence-first inspection of code, diffs, PRs, repositories, sources, or proposed simplifications |
| scope | The exact files, directories, PR, git range, source, or snippet under review |
| triage | First pass that classifies scope, risk, changed files, specialist lenses, and validation requirements |
| finding | A discrete issue with citation, reasoning, severity, confidence, evidence, and recommended action |
| strength | A positive review observation that explains what should be preserved |
| confidence | Score from 0.0 to 1.0; report >= 0.7, mark 0.3-0.7 unconfirmed, discard < 0.3 unless P0/S0 |
| severity | Priority/scope classification such as P0-P3 and S0-S3 |
| citation anchor | A verified |
| reasoning chain | Why the finding matters, written before the finding statement |
| evidence | Tool, source, test, docs, grep, dependency, or research proof that supports or rejects a finding |
| lens | Specialist perspective such as security, supply chain, CI, SQL, data, frontend, a11y, web quality, MCP, agentic, or docs |
| skill asset | A |
| simplification lens | Behavior-preserving review of complexity, invariants, semantic-change risk, and clarity opportunities |
| source/provenance lens | Review of external skill/source trust, executable surfaces, owner, license, credentials, network behavior, and dedupe |
| approval gate | Mandatory pause before editing files or applying fixes |
| learning | Stored false-positive dismissal used to reduce repeated noise in future reviews |
| mode | Explicit or inferred review workflow such as session, scoped, PR, range, audit, simplify, source, history, delta, learnings, or fix |
| shard map | Wave 0 ownership plan for large parallel reviews, with lane IDs, shard IDs, file/source ownership, coverage expectations, and merge status |
请严格使用以下标准术语。
| 术语 | 含义 |
|---|---|
| review | 以证据优先为原则,对代码、差异、PR、仓库、来源或拟议简化方案进行检查 |
| scope | 审查覆盖的具体文件、目录、PR、git版本范围、来源或代码片段 |
| triage | 初步分类,确定审查范围、风险、变更文件、专业视角及验证要求 |
| finding | 独立的问题记录,包含引用、推理、严重程度、置信度、证据及建议操作 |
| strength | 审查中发现的积极亮点,说明应保留的内容 |
| confidence | 0.0至1.0的评分;仅报告≥0.7的结果,标记0.3-0.7为未确认,除非是P0/S0级问题,否则丢弃<0.3的结果 |
| severity | 优先级/范围分类,如P0-P3和S0-S3 |
| citation anchor | 已验证的 |
| reasoning chain | 说明该审查结果的重要性,需写在结果陈述之前 |
| evidence | 支持或反驳审查结果的工具、源码、测试、文档、grep输出、依赖或研究依据 |
| lens | 专业视角,如安全、供应链、CI、SQL、数据、前端、a11y、网页质量、MCP、Agent化或文档 |
| skill asset | 通过skill-creator结构模式审查的 |
| simplification lens | 针对复杂度、不变性、语义变更风险及清晰度优化机会的行为保留型审查 |
| source/provenance lens | 针对外部技能/来源的可信度、可执行表面、所有者、许可证、凭证、网络行为及重复项的审查 |
| approval gate | 编辑文件或应用修复前的强制暂停环节 |
| learning | 存储的误判排除记录,用于减少未来审查中的重复噪音 |
| mode | 明确或推断的审查工作流,如session、scoped、PR、range、audit、simplify、source、history、delta、learnings或fix |
| shard map | 大规模并行审查的Wave 0所有权规划,包含通道ID、分片ID、文件/来源所有权、覆盖预期及合并状态 |
Dispatch
调度规则
Classify before reading widely.
$ARGUMENTS | Mode | Action |
|---|---|---|
| `--mode session | scoped | pr |
repeated | multi-mode | Run read-only modes as separate lanes and merge through Judge |
empty + changed files in | session | Review changed files only |
| empty + no changed files | menu | Show review modes; never start a full audit implicitly |
| file or directory path | scoped | Review that path |
| full audit | Review the repository through triage, specialist lanes, and judge reconciliation |
| PR number or PR URL | PR | Review PR diff and stated intent |
git range such as | range | Review changes in that range |
| simplify analyze | Read-only simplification opportunity review |
| simplify apply | Behavior-preserving edit only after the simplification gate passes |
| simplify explain | Explain complexity and safer simpler shapes without editing |
| source triage | Classify external source reputation, install syntax, and dedupe risk |
| source inspect | Review local source files, hooks, scripts, frontmatter, and commands |
| source commands | Extract and classify executable surfaces |
| source provenance | Check owner, URL, license, commit/hash, registry/source-list consistency, and access date |
| source decision | Recommend install-now, inspect, keep-global, build-local, or avoid |
| source scan | Run static source audit helper and interpret JSON output |
| `--lens security | supply-chain | ci |
path under | scoped + skill-assets | Review as a skill asset using skill-creator structural patterns, portability, eval, package, and generated-surface gates |
| output modifier | Emit SARIF v2.1 findings in addition to or instead of text |
| output modifier | Emit Conventional Comments-compatible PR review output |
| history | Read stored review history |
| delta | Compare current and previous stored reviews |
| `learnings add | list | check |
| fix pass | Apply only explicitly approved findings through |
| unrecognized or ambiguous | clarify | Ask one concise scope/mode question |
先对进行分类,再广泛读取内容。
$ARGUMENTS | 模式 | 操作 |
|---|---|---|
| `--mode session | scoped | pr |
重复 | 多模式 | 以独立通道运行只读模式,通过Judge合并结果 |
空参数 + | session | 仅审查变更文件 |
| 空参数 + 无变更文件 | menu | 显示审查模式;绝不隐式启动全面审计 |
| 文件或目录路径 | scoped | 审查该路径 |
| full audit | 通过分类、专业通道及Judge协调审查仓库 |
| PR编号或PR URL | PR | 审查PR差异及声明意图 |
git版本范围(如 | range | 审查该范围内的变更 |
| simplify analyze | 只读模式审查简化优化机会 |
| simplify apply | 仅在通过简化审批后执行行为保留型编辑 |
| simplify explain | 解释复杂度及更安全的简化方案,不执行编辑 |
| source triage | 分类外部来源的可信度、安装语法及重复风险 |
| source inspect | 审查本地源文件、钩子、脚本、前置内容及命令 |
| source commands | 提取并分类可执行表面 |
| source provenance | 检查所有者、URL、许可证、提交哈希、注册表/源列表一致性及访问日期 |
| source decision | 建议立即安装、进一步检查、全局保留、本地构建或避免使用 |
| source scan | 运行静态源审计助手并解析JSON输出 |
| `--lens security | supply-chain | ci |
| scoped + skill-assets | 使用skill-creator结构模式、可移植性、评估、包及生成表面规则作为技能资产进行审查 |
| 输出修改器 | 额外或仅输出SARIF v2.1格式的审查结果 |
| 输出修改器 | 输出兼容Conventional Comments的PR审查结果 |
| history | 读取存储的审查历史 |
| delta | 对比当前与之前存储的审查结果 |
| `learnings add | list | check |
| fix pass | 仅通过 |
| 无法识别或模糊的参数 | clarify | 提出一个简洁的范围/模式问题 |
Auto-Detection
自动检测
- Parse explicit flags first. Split comma-separated values and preserve repeated flags.
--mode - If explicit modes are present, run only those modes. Infer the target when safe, but never infer edit approval.
- If no explicit mode is present, infer from args: empty changed diff -> session, empty clean tree -> menu, path -> scoped, PR number/URL -> PR, git range -> range, -> full audit,
audit-> simplification,simplifyor external skill/source language -> source/provenance.source - When the selected scope is a skill asset, automatically attach the lens unless the user explicitly asks for a different lens only.
skill-assets - Multiple read-only modes run as separate lanes and reconcile through Judge.
- and
fixare edit-capable. Never run them from inference alone and never mix them into a read-only bundle without explicit approved finding IDs.simplify apply - modifies the selected mode; it does not invent scope.
--lens - modifies output only; it does not choose scope.
--format - Feature work, benchmarking, broad refactors, installs, or implementation requests without approved findings are out of scope.
- 优先解析明确的标志。拆分逗号分隔的值并保留重复标志。
--mode - 如果存在明确模式,仅运行这些模式。在安全情况下推断目标,但绝不推断编辑审批权限。
- 如果没有明确模式,从参数推断:空变更差异→session,空干净代码树→menu,路径→scoped,PR编号/URL→PR,git版本范围→range,→full audit,
audit→simplification,simplify或外部技能/来源语言→source/provenance。source - 当选定范围为技能资产时,自动附加视角,除非用户明确要求仅使用其他视角。
skill-assets - 多个只读模式以独立通道运行,并通过Judge协调结果。
- 和
fix支持编辑。绝不仅通过推断运行它们,也绝不将它们混入只读任务包,除非有明确批准的审查结果ID。simplify apply - 仅修改选定模式;不定义审查范围。
--lens - 仅修改输出;不选择审查范围。
--format - 无批准审查结果的功能开发、基准测试、大范围重构、安装或实现请求均超出范围。
Scope Boundaries
范围边界
In scope: review findings, source/provenance decisions, simplification analysis, simplification explanations, narrowly gated simplification apply passes, stored review history, review deltas, false-positive learnings, and approved post-review fixes.
Out of scope: new features, product implementation, benchmark design, broad refactors, live external installs, destructive cleanup, exploit execution, unaudited source promotion, and unapproved fixes.
范围内:审查结果、来源/溯源决策、简化分析、简化说明、严格受限的简化应用流程、存储的审查历史、审查差异、误判学习记录及获批的审查后修复。
范围外:新功能、产品实现、基准设计、大范围重构、实时外部安装、破坏性清理、漏洞利用、未审计来源升级及未获批修复。
Classification Logic
分类逻辑
- Decide whether the request is review, simplification, source/provenance, state/history, output formatting, or implementation.
- Reject implementation unless it is an approved finding fix or a target that passes the eligibility gate.
simplify apply - Reject source installs unless the user separately requests a live install after the source/provenance decision.
- For skill assets, require skill-creator structural evidence before accepting or rejecting a skill change: dispatch table, empty-args handler, reference index, critical rules, canonical vocabulary when needed, scope boundaries, progressive disclosure, script/eval/package proof, portability, and generated docs/catalog consistency.
- When two modes could apply, prefer the read-only mode first and ask one concise question only if the target or approval state is unclear.
- 判断请求属于审查、简化、来源/溯源、状态/历史、输出格式还是实现类。
- 拒绝实现类请求,除非是获批审查结果的修复或通过资格审批的目标。
simplify apply - 拒绝来源安装请求,除非用户在来源/溯源决策后单独请求实时安装。
- 对于技能资产,在接受或拒绝技能变更前,需提供skill-creator结构证据:调度表、空参数处理器、参考索引、关键规则、必要时使用标准术语、范围边界、渐进式披露、脚本/评估/包依据、可移植性及生成文档/目录一致性。
- 当两种模式均可应用时,优先选择只读模式,仅在目标或审批状态不明确时提出一个简洁问题。
Scaling Strategy
扩展策略
| Size | Strategy |
|---|---|
| Small | One file, snippet, or narrow source: run a single reviewer pass with the full finding contract |
| Medium | 2-5 related files: split by file ownership when safe and reconcile through judge protocol |
| Large | PR, git range, or mixed module diff: triage first, then assign non-overlapping review lanes by risk |
| Full audit | Create a Wave 0 shard map, assign risk-tiered non-overlapping lanes, run specialist lenses, and reconcile through Judge |
| Source/provenance bundle | Split metadata, executable surfaces, credentials/network, license/provenance, and dedupe checks |
| 规模 | 策略 |
|---|---|
| 小型 | 单个文件、片段或窄范围来源:以完整审查结果规范运行单次审查 |
| 中型 | 2-5个相关文件:在安全情况下按文件所有权拆分,通过Judge协议协调结果 |
| 大型 | PR、git版本范围或混合模块差异:先分类,再按风险分配无重叠的审查通道 |
| 全面审计 | 创建Wave 0分片映射,按风险层级分配无重叠通道,运行专业视角审查,通过Judge协调结果 |
| 来源/溯源包 | 拆分元数据、可执行表面、凭证/网络、许可证/溯源及重复项检查 |
Progressive Disclosure
渐进式披露
Start with this file only. Load reference files after dispatch and only for the chosen mode or lens. Do not preload all references for small reviews.
仅从本文件开始。调度后仅为选定模式或视角加载参考文件。小型审查无需预加载所有参考资料。
Review Pipeline
审查流程
- Triage: identify scope, changed files, public contracts, project instructions, dependency graph, risk tier, and specialist lenses.
- Shard: for large or multi-mode work, produce a Wave 0 shard map before spawning reviewers.
- Analyze: inspect code/source using content-adaptive reviewers. Keep ownership non-overlapping when parallelizing.
- Verify: check every non-trivial finding against source lines, tests, grep evidence, docs, or external research.
- Judge: normalize, assign canonical IDs, dedupe, resolve conflicts, apply confidence thresholds, rank by severity/confidence/blast radius, and preserve strengths.
RV-* - Report: present findings first, ordered by severity, with concise evidence and an approval gate.
- Fix pass: only after explicit approval of selected finding IDs, load , preview diffs, apply narrowly, and verify.
references/auto-fix-protocol.md
- 分类:确定范围、变更文件、公共契约、项目说明、依赖图、风险层级及专业视角。
- 分片:对于大型或多模式任务,在启动审查前生成Wave 0分片映射。
- 分析:使用内容自适应审查工具检查代码/来源。并行处理时保持所有权无重叠。
- 验证:针对每个非 trivial 审查结果,对照源代码行、测试、grep证据、文档或外部研究进行验证。
- 协调:标准化结果、分配规范的ID、去重、解决冲突、应用置信度阈值、按严重程度/置信度/影响范围排序,并保留亮点。
RV-* - 报告:优先展示结果,按严重程度排序,附带简洁证据及审批环节。
- 修复流程:仅在明确批准选定审查结果ID后,加载,预览差异,窄范围应用并验证。
references/auto-fix-protocol.md
Large Review Shards
大型审查分片
For large or multi-mode reviews, every subagent must receive a lane ID, shard ID, exact scope, coverage expectations, non-goals, and artifact contract before dispatch.
对于大型或多模式审查,每个子代理在调度前必须收到通道ID、分片ID、精确范围、覆盖预期、非目标及产物规范。
Judge Handoff
协调移交
Worker findings use local IDs only. The Judge assigns canonical IDs after all lane artifacts are normalized, deduped, confidence-filtered, and ranked.
RV-*审查结果仅使用本地ID。Judge在所有通道产物标准化、去重、置信度过滤及排序后分配规范的ID。
RV-*Finding Contract
审查结果规范
Every finding uses this order:
- Citation: verified , PR hunk, source URL, command output anchor, or provenance anchor.
[file:start-end] - Reasoning: why this matters and what breaks if it is left alone.
- Finding: one concise statement of the issue.
- Severity and confidence: P0-P3/S0-S3 plus 0.0-1.0 confidence.
- Evidence: source/tool/research/test proof; include degraded-mode limits when tools are unavailable.
- Recommendation: smallest safe next step.
Use for full schema and scoring.
references/finding-contract.md每个审查结果需按以下顺序呈现:
- 引用:已验证的、PR代码块、来源URL、命令输出锚点或溯源锚点。
[file:start-end] - 推理:说明该问题的重要性及不修复的后果。
- 结果:简洁的问题陈述。
- 严重程度与置信度:P0-P3/S0-S3分级加上0.0-1.0的置信度评分。
- 证据:来源/工具/研究/测试依据;当工具不可用时,说明降级模式限制。
- 建议:最小化风险的下一步操作。
完整 schema 及评分规则请参考。
references/finding-contract.mdLens Contracts
视角规范
Load references only when the selected mode needs them.
| Need | Read |
|---|---|
| finding schema and scoring | |
| triage/scaling | |
| review checklists | |
| reviewer team prompts | |
| creative review lenses | |
| research validation | |
| judge reconciliation | |
| self-verification | |
| output variants | |
| SARIF output | |
| Conventional Comments output | |
| CI annotations and automation | |
| dependency graph and blast radius | |
| supply-chain security | |
| specialist lens map | |
| skill asset and skill-creator paradigms | |
| simplification lens | |
| simplification taxonomy | |
| source/provenance lens | |
| approval-gated fixes | |
| review state, history, delta, learnings | |
仅在选定模式需要时加载参考文件。
| 需求 | 参考文件 |
|---|---|
| 审查结果schema及评分 | |
| 分类/扩展 | |
| 审查检查清单 | |
| 审查团队提示 | |
| 创意审查视角 | |
| 研究验证 | |
| 协调规则 | |
| 自我验证 | |
| 输出变体 | |
| SARIF输出 | |
| Conventional Comments输出 | |
| CI注释与自动化 | |
| 依赖图与影响范围 | |
| 供应链安全 | |
| 专业视角映射 | |
| 技能资产与skill-creator范式 | |
| 简化视角 | |
| 简化分类法 | |
| 来源/溯源视角 | |
| 需审批的修复 | |
| 审查状态、历史、差异、学习记录 | |
Simplification Lens
简化视角
/review simplify- : read-only report.
analyze - : teaching/explanation only.
explain - : edit only a concrete file/symbol/snippet or tightly bounded diff after the eligibility gate passes.
apply
Reject semantic changes, bug fixes, API changes, validation changes, security-policy changes, performance-only work, or broad refactors under simplification mode.
/review simplify- :只读报告。
analyze - :仅用于教学/解释。
explain - :仅在通过资格审批后,对具体文件/符号/片段或严格受限的差异执行编辑。
apply
拒绝在简化模式下进行语义变更、bug修复、API变更、验证规则变更、安全策略变更、仅优化性能的工作或大范围重构。
Source/Provenance Lens
来源/溯源视角
/review sourceNever run candidate scripts during audit except static/syntax checks in a staged local path. Do not install or sync external skills unless the user explicitly requests that live action.
/review source审计期间绝不运行候选脚本,除非在暂存本地路径中进行静态/语法检查。除非用户明确请求实时操作,否则不得安装或同步外部技能。
Browser-Grounded Review
基于浏览器的审查
For frontend, a11y, web-quality, docs UI, and other browser-dependent review, prefer Chrome DevTools MCP through the repo-managed MCPHub attached-browser configuration. Use browser snapshots, console/network evidence, and screenshots from Chrome DevTools MCP when available. If Chrome DevTools MCP is unavailable, state degraded mode before falling back to existing smoke tests or Playwright-oriented project checks.
chrome-devtools对于前端、a11y、网页质量、文档UI及其他依赖浏览器的审查,优先通过仓库管理的 MCPHub附加浏览器配置使用Chrome DevTools MCP。当可用时,使用Chrome DevTools MCP的浏览器快照、控制台/网络证据及截图。如果Chrome DevTools MCP不可用,在降级到现有冒烟测试或Playwright导向的项目检查前,需说明降级模式。
chrome-devtoolsSkill-Asset Review
技能资产审查
When the scope is a skill asset, load and apply skill-creator paradigms as review evidence. Use deterministic scripts when available, but do not treat a high audit score as the whole review. Check whether the skill's structure, dispatch behavior, evals, references, scripts, package portability, public docs, and generated catalog surfaces match the intended behavior.
references/skill-asset-review.mdskill-creatorSkill-asset review is read-only unless the user invokes a valid fix pass or a separately approved implementation request. Do not run live installs, live behavioral evals, or sync apply while reviewing skill assets.
当审查范围为技能资产时,加载并应用skill-creator范式作为审查证据。当可用时使用确定性的脚本,但不得将高审计分数视为完整审查结果。检查技能的结构、调度行为、评估、参考资料、脚本、包可移植性、公开文档及生成的目录表面是否与预期行为一致。
references/skill-asset-review.mdskill-creator技能资产审查为只读模式,除非用户调用有效的修复流程或单独获批的实现请求。审查技能资产时,不得运行实时安装、实时行为评估或同步应用操作。
Harness Portability
工具兼容性
This is portable and prompt-first. It deliberately omits a root model override and skill-scoped hooks.
SKILL.md| Harness | Behavior |
|---|---|
| Claude Code | Uses portable skill metadata and argument hints. Skill hooks require separate |
| Codex | Skill discovery and any hook behavior are projected through repo/plugin config such as |
| OpenCode | Skill discovery comes from repo |
| Grok Build CLI | Uses Claude-compatible skill mirroring and |
| Generic Skills CLI targets | Core prompt must install cleanly through |
本具备可移植性且以提示优先。它故意省略了根模型覆盖和技能范围钩子。
SKILL.md| 工具 | 行为 |
|---|---|
| Claude Code | 使用可移植技能元数据及参数提示。技能钩子需单独的 |
| Codex | 技能发现及任何钩子行为通过仓库/插件配置(如 |
| OpenCode | 技能发现来自仓库 |
| Grok Build CLI | 在可用情况下使用兼容Claude的技能镜像及 |
| 通用Skills CLI目标 | 核心提示需通过 |
State Management
状态管理
Review history, deltas, and false-positive learnings persist in the active harness home directory, not in the repository.
- Base path: (harness-dependent; Claude Code defaults to
~/.{gemini|copilot|codex|claude}/reviews/)..claude - State file naming: under the reviews directory.
{YYYY-MM-DD}-{project-slug}-{mode}[-{run_id}].json - Learnings: for false-positive dismissals.
{reviews}/learnings/{project-slug}.json - Slug rule: lowercase project names with non-alphanumeric runs replaced by hyphens; empty slugs become .
unnamed - Collision: same-day reruns use distinct suffixes; saves do not silently overwrite prior review state files.
run_id - Operations: use for save/load/list/diff and
scripts/review-store.pyfor add/check/list/clear.scripts/learnings-store.py - Read-only modes: ,
history, anddeltanever edit reviewed source files.learnings list - Cleanup: user-owned; no automatic pruning. Do not commit review JSON into the repo.
- Details: load for envelope fields, diff semantics, and harness path table.
references/review-state.md
审查历史、差异及误判学习记录持久化存储在当前工具的主目录中,而非仓库内。
- 基础路径:(取决于工具;Claude Code默认使用
~/.{gemini|copilot|codex|claude}/reviews/)。.claude - 状态文件命名:审查目录下的。
{YYYY-MM-DD}-{project-slug}-{mode}[-{run_id}].json - 学习记录:用于存储误判排除记录。
{reviews}/learnings/{project-slug}.json - Slug规则:项目名称小写,非字母数字字符替换为连字符;空slug命名为。
unnamed - 冲突处理:同日重复运行使用不同的后缀;保存操作不会静默覆盖之前的审查状态文件。
run_id - 操作工具:使用进行保存/加载/列出/对比,使用
scripts/review-store.py进行添加/检查/列出/清除。scripts/learnings-store.py - 只读模式:、
history及delta绝不编辑被审查的源文件。learnings list - 清理:由用户自行处理;无自动清理机制。不得将审查JSON提交到仓库。
- 详细规则:加载查看信封字段、差异语义及工具路径表。
references/review-state.md
Script Index
脚本索引
| Script | Purpose |
|---|---|
| Run review skill validation, eval validation, package dry-run, and audit |
| Triage project/file risk and review triggers |
| Normalize findings and output variants |
| Store/load/list/diff review state |
| Manage false-positive learnings |
| Help emit/upload SARIF where supported |
| Static audit of local external skill/source directories |
| 脚本 | 用途 |
|---|---|
| 运行审查技能验证、评估验证、包试运行及审计 |
| 分类项目/文件风险及审查触发条件 |
| 标准化审查结果及输出变体 |
| 存储/加载/列出/对比审查状态 |
| 管理误判学习记录 |
| 辅助生成/上传SARIF格式结果(如支持) |
| 对本地外部技能/来源目录进行静态审计 |
Critical Rules
关键规则
- Never start a full audit from empty args unless the user says .
audit - Never edit files during read-only review, source/provenance review, history, delta, or simplify analyze/explain.
- Never apply fixes without explicit approval of selected findings.
- Never vendor third-party skill files into during source/provenance review.
skills/ - Always verify citation anchors before reporting findings.
- Always state degraded-mode limits when validation tools are unavailable.
- Always separate evidence from inference.
- Always preserve unrelated dirty work.
- Do not present ,
honest-review, orsimplifyas installable or invocable skills. Rewrite active references toexternal-skill-auditor,/review, or/review simplify; leave only clearly historical or research evidence mentions./review source - For skill assets, apply skill-creator paradigms before reporting a no-finding result: run or cite audit/package/eval evidence when available, inspect references and eval coverage, and classify generated docs/catalog drift separately from source defects.
- 除非用户明确输入,否则绝不因空参数启动全面审计。
audit - 在只读审查、来源/溯源审查、历史、差异或simplify analyze/explain模式下,绝不编辑文件。
- 无明确批准的选定审查结果时,绝不应用修复。
- 在来源/溯源审查期间,绝不将第三方技能文件纳入目录。
skills/ - 报告审查结果前,始终验证引用锚点。
- 当验证工具不可用时,始终说明降级模式限制。
- 始终区分证据与推断内容。
- 始终保留无关的未完成工作。
- 不得将、
honest-review或simplify展示为可安装或可调用的技能。将现有引用重写为external-skill-auditor、/review或/review simplify;仅保留明确的历史或研究证据提及。/review source - 对于技能资产,在报告无问题结果前需应用skill-creator范式:运行或引用审计/包/评估证据(如可用),检查参考资料及评估覆盖范围,并将生成文档/目录漂移与源缺陷分开分类。
Validation Contract
验证规范
Before considering changes complete, run the focused checks relevant to this skill:
bash
uv run python scripts/check.pyCompletion criteria:
- exits 0.
scripts/check.py - Bundled and
validate_skillpass when evals are present.validate_evals - Bundled reports portable.
package.py --dry-run - Repo-only grade remains at or above the prior baseline when run from the monorepo (optional for portable installs; degraded mode is acceptable elsewhere).
audit.py - Regenerate docs/catalog surfaces when , references, or evals change.
SKILL.md - Any remaining legacy-name references are classified as wrappers, migration notes, generated evidence, or historical research.
在确认变更完成前,运行与本技能相关的重点检查:
bash
uv run python scripts/check.py完成标准:
- 执行返回0。
scripts/check.py - 当存在评估时,附带的及
validate_skill检查通过。validate_evals - 附带的报告具备可移植性。
package.py --dry-run - 从单体仓库运行时,仓库专属的评分保持在或高于之前的基准线(可移植安装可选;其他环境下降级模式可接受)。
audit.py - 当、参考资料或评估变更时,重新生成文档/目录表面。
SKILL.md - 所有剩余的旧名称引用需分类为包装器、迁移说明、生成证据或历史研究。