read-verify

Enforce Read(filepath) before Edit(filepath, ...) to prevent hallucinated changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rudi193-cmd/Aionic-Claude-Skills --skill read-verify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: read-verify
Source: https://github.com/rudi193-cmd/Aionic-Claude-Skills/tree/main/skills/read-verify
Command: npx skills add https://github.com/rudi193-cmd/Aionic-Claude-Skills --skill read-verify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces a Read-before-Edit workflow to ensure the current file state is loaded before modifications, preventing hallucinated changes, context drift, and accidental edits.

Core Features & Use Cases

  • Enforces Read(filepath) before Edit(filepath, ...) to lock edits to the latest state.
  • Reduces merge conflicts, stale context, and unintended modifications in collaborative environments.
  • Use Case: a developer attempts to modify a file; the system prompts to perform a Read to verify the current content before applying changes.

Quick Start

Call Read('path/to/file') to load the current state, then perform Edit('path/to/file', old, new) to apply changes.

Frequently Asked Questions about read-verify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent hallucinated changes when editing code files?

To prevent hallucinated changes, enforce a read-before-edit workflow that loads the current file state before applying modifications. This ensures current state awareness by requiring a Read(filepath) call to lock edits to the latest content before executing Edit(filepath, ...).

Why does my code editor make unintended modifications in collaborative environments?

Unintended modifications in collaborative environments occur due to stale context and context drift. Enforcing a read-before-edit workflow verifies current content and locks edits to the latest state, which reduces merge conflicts and prevents accidental edits across development sessions.

How do I enforce reading a file before editing it during development sessions?

You can enforce reading a file before editing by applying session recency checks and requiring Read(filepath) before Edit(filepath, ...). This workflow guarantees current state awareness by locking modifications to the latest loaded file content.

Can I use a read-before-edit workflow for both code and document edits?

Yes, the read-before-edit workflow applies during both code and document edits across development sessions. It ensures current state awareness by prompting a Read to verify current content before applying any modifications to the file.

What are the limitations of relying on manual file reading before editing?

Relying on manual file reading without enforcement risks stale context and hallucinated changes if skipped. Automated enforcement eliminates this limitation by applying session recency checks and requiring Read(filepath) before allowing Edit(filepath, ...) to proceed.