Skip to content
Skillpedia
Writing5.4k · #14956

preservation-verifier

What it does

This skill compares an original text with its rewrite and flags any protected content that changed or went missing. It is for writers and editors checking rewrites before they publish.

When to use it

  • ✓When you have an original and a rewritten version and want to confirm nothing important changed.
  • ✓When a rewrite may have changed numbers, links, code or quotes.
  • ✓When a file edit needs a final check against its earlier version.

Skill link

https://github.com/conorbronsdon/avoid-ai-writing/blob/main/skills/preservation-verifier/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/conorbronsdon/avoid-ai-writing/blob/main/skills/preservation-verifier/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Here is my original and the rewritten version. Can you check that all quotes, links and numbers were kept?”

5 new skills a week. 1 minute to read.

How it works

The agent compares the two versions for protected items such as code, frontmatter, links, tables and numbers. It returns a pass, review or fail status with the specific problems listed.

Technical content (original SKILL.md)

Original text by the author, straight from 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-router via ROUTE when the user directly supplies before and after material.
  • voice-preserving-rewriter via VERIFY after returned-text rewriting.
  • file-edit-in-place via VERIFY after 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: executed only if the bundled validator ran, otherwise model_only.
  • verification_summary.status: PASS, REVIEW, or FAIL.
  • 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

  • REPAIR to voice-preserving-rewriter when returned text failed preservation and the shared editing budget has room.
  • REPAIR to file-edit-in-place when a named file failed preservation and the shared editing budget has room.
  • RECHECK to ai-writing-detector only when convergence or a residual audit was part of the user's request.
  • Stop on PASS unless 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

FAQ

What does it check?

It checks code, frontmatter, quotes, tables, links, paths, numbers and headings, according to the skill.

What if one version is missing?

The skill says it needs both the original and the current version, and will not guess the comparison.

Does a fail stop the work?

Yes. The skill treats a fail as a blocking result until the text is repaired.

Details

Original description by the author

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.

repo: conorbronsdon/avoid-ai-writing

Popularity

GitHub stars
5.4k
Ranking position
#14956
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills