preservation-verifier
它能做什么
这项技能把原文与改写稿进行比较,并标出任何改变或丢失的受保护内容。它适用于在发布前检查改写稿的作者和编辑。
适用场景
- ✓当你有原文和改写版,想确认没有丢失重要内容时。
- ✓当改写可能改变了数字、链接、代码或引文时。
- ✓当文件编辑需要与之前的版本进行最终核对时。
技能链接
https://github.com/conorbronsdon/avoid-ai-writing/blob/main/skills/preservation-verifier/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这是我的原文和改写版。请帮我检查所有引文、链接和数字是否都保留了。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会比较两个版本中的受保护项目,例如代码、前置元数据、链接、表格和数字。它会返回通过、需审查或失败的状态,并列出具体问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Preservation Verifier
Verify that a rewrite or file edit kept the content the original ../avoid-ai-writing/SKILL.md says to protect.
For cross-Skill work, follow ../avoid-ai-writing-router/references/handoff-contract.md and ../avoid-ai-writing-router/references/skill-graph.json.
Connection contract
Incoming
Accept before/after verification from:
avoid-ai-writing-routerviaROUTEwhen the user directly supplies before and after material.voice-preserving-rewriterviaVERIFYafter returned-text rewriting.file-edit-in-placeviaVERIFYafter an authorized named-file mutation.
Require both original and current versions. If either is unavailable, return control to the router rather than inventing a comparison.
Produce
Update the handoff envelope with:
execution_evidence.verifier:executedonly if the bundled validator ran, otherwisemodel_only.verification_summary.status:PASS,REVIEW, orFAIL.- blocking errors and warnings.
- exact repair target when repair is possible.
A FAIL is a blocking workflow result. The rewrite/edit stage is not complete merely because text was produced or a file write succeeded.
Outgoing
REPAIRtovoice-preserving-rewriterwhen returned text failed preservation and the shared editing budget has room.REPAIRtofile-edit-in-placewhen a named file failed preservation and the shared editing budget has room.RECHECKtoai-writing-detectoronly when convergence or a residual audit was part of the user's request.- Stop on
PASSunless another user-requested stage remains. - Stop and report on a second verification failure. Do not start another repair loop.
Architecture and implementation lenses
Apply both encoded lenses from ../avoid-ai-writing-router/references/agency-role-lenses.md:
agency-software-architect: verification is a boundary gate with explicit ownership and bounded repair cycles.agency-senior-developer: execution claims require actual command evidence, errors propagate, and before/after state remains attributable to the correct target.
The verifier does not rewrite content itself.
Preferred deterministic path
The bundled scripts/validate.js is an exact copy of the source repository's preservation validator. When Node execution is available, run:
node scripts/validate.js --residual-policy warn before.md after.md
For programmatic use:
const { validate } = require("./scripts/validate.js");
const result = validate(original, rewritten, { residualPolicy: "warn" });
Use the explicit warn residual policy for editorial verification. The validator exposes mechanical preservation results separately from quality diagnostics while retaining top-level errors, warnings, and stats. Residual growth stays visible as a warning; it is not proof of content damage and does not by itself authorize a repair. A skipped, unavailable, or unscored quality check is not a clean residual audit. It does not decide whether a semantic change was grounded in an explicit user correction or whether the user specifically authorized editing a normally protected span. Never claim it ran unless the current host executed it.
If execution is unavailable, compare the original and rewrite manually using the same preservation contract and label the result as model_only.
Additional protected constraints
In addition to the canonical validator's structural checks, apply the canonical editing contract in a separate semantic review. Check remaining meaning, attribution, quantities and units, negation, conditions, causality, uncertainty, and speaker experience. Treat an explicit user correction as the intended change rather than an invention. If the user specifically placed a normally protected span in scope, verify that requested change and continue protecting its data and attribution; do not infer permission from a general cleanup, style, or voice request. Report this review as model-only rather than claiming the deterministic validator performed it.
When human_representation_sensitive: true, review identity and representation details protected by the agency-inclusive-visuals-specialist lens. A structurally valid rewrite may still require REVIEW or FAIL if it erased or genericized material cultural, geographic, disability, attire, skin-tone/lighting, physical-reality, or anti-stereotype constraints.
Do not claim the deterministic validator checked semantic representati
常见问题
它检查哪些内容?
根据技能说明,它检查代码、前置元数据、引文、表格、链接、路径、数字和标题。
如果缺少其中一个版本怎么办?
技能说明,它需要原文和当前版本两者,不会猜测比较结果。
失败会停止工作吗?
会。技能将失败视为阻断性结果,直到文本修复为止。
详情
作者的原始描述
Use when the user provides an original and rewritten version, asks whether a rewrite preserved protected content, or wants a deterministic check for code, frontmatter, quotes, tables, links, paths, numbers, headings, and residual AI-pattern regressions.
热度
- GitHub 星标
- 5.4k
- 排名
- #14956
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ai-writing-detector
5.4k帮你的智能体扫描文本中常见的 AI 写作模式并列出标记,但不改写文本。
avoid-ai-writing-router
5.4k帮你的智能体为请求选择合适的写作检查或编辑方式,例如审核、改写、核实或解释 AI 写作标记。
false-positive-reviewer
5.4k帮你的智能体解释 AI 写作标记的含义,以及为什么检测器的结果不能证明文章是谁写的。
file-edit-in-place
5.4k帮你的智能体清理指定文件中类似 AI 的措辞,使用小而有针对性的编辑,并随后检查内容是否仍然一致。