preservation-verifier
できること
このスキルは、元の文章と書き換えた文章を比べ、変わってしまった、または失われた保護対象の内容を指摘します。公開前に書き換えを確認するライターや編集者のためのものです。
使う場面
- ✓元の文章と書き換えた版があり、重要な内容が変わっていないか確認したいとき。
- ✓書き換えで数字、リンク、コード、引用が変わったかもしれないとき。
- ✓ファイル編集のあとに、以前の版と照らし合わせて最終確認が必要なとき。
スキルのリンク
https://github.com/conorbronsdon/avoid-ai-writing/blob/main/skills/preservation-verifier/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“元の文章と書き換えた版があります。すべての引用、リンク、数字が残っているか確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは2つの版を、コード、フロントマター、リンク、表、数字などの保護された項目について比べます。合格、要確認、不合格のいずれかの結果を、具体的な問題とともに返します。
技術的な内容(元の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らしい言い回しを、小さく的を絞った編集で整え、そのあと内容が元の意味と合っているかを確認できるよう支援します。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。