preservation-verifier
Skill này làm gì
Skill này so sánh văn bản gốc với bản viết lại và đánh dấu mọi nội dung được bảo vệ đã thay đổi hoặc bị mất. Nó dành cho người viết và biên tập viên kiểm tra bản viết lại trước khi xuất bản.
Khi nào nên dùng
- ✓Khi bạn có bản gốc và bản viết lại và muốn xác nhận không có gì quan trọng bị thay đổi.
- ✓Khi một bản viết lại có thể đã thay đổi số liệu, liên kết, code hoặc trích dẫn.
- ✓Khi một chỉnh sửa file cần kiểm tra cuối cùng so với phiên bản trước của nó.
Liên kết skill
https://github.com/conorbronsdon/avoid-ai-writing/blob/main/skills/preservation-verifier/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Đây là bản gốc và bản viết lại của tôi. Bạn có thể kiểm tra rằng mọi trích dẫn, liên kết và số liệu vẫn được giữ lại không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent so sánh hai phiên bản về các mục được bảo vệ như code, frontmatter, liên kết, bảng và số liệu. Nó trả về trạng thái đạt, cần xem xét hoặc không đạt, kèm liệt kê các vấn đề cụ thể.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó kiểm tra những gì?
Theo skill, nó kiểm tra code, frontmatter, trích dẫn, bảng, liên kết, đường dẫn, số liệu và tiêu đề.
Nếu thiếu một phiên bản thì sao?
Skill ghi rằng nó cần cả bản gốc và phiên bản hiện tại, và sẽ không đoán để so sánh.
Kết quả không đạt có dừng công việc không?
Có. Skill coi kết quả không đạt là chặn cho đến khi văn bản được sửa.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14956
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-writing-detector
5.4kGiúp agent của bạn quét một văn bản tìm các mẫu văn viết do AI thường tạo ra và liệt kê các cờ, mà không viết lại văn bản.
avoid-ai-writing-router
5.4kGiúp agent của bạn chọn đúng cách kiểm tra hoặc chỉnh sửa văn viết cho một yêu cầu, như kiểm toán, viết lại, xác minh hoặc giải thích các cờ viết AI.
false-positive-reviewer
5.4kGiúp agent của bạn giải thích các cờ viết AI có nghĩa là gì, và vì sao kết quả của bộ nhận diện không thể chứng minh ai đã viết một văn bản.
file-edit-in-place
5.4kGiúp agent của bạn làm sạch cách diễn đạt kiểu AI trong một file được nêu tên, bằng các chỉnh sửa nhỏ có mục tiêu rồi kiểm tra nội dung vẫn khớp.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.