Command Content

/dr-edit

Editorial review with fact-checking and AI pattern removal

Overview

/dr-edit runs a full editorial review in three phases: fact verification, AI pattern removal, and editorial polish. The Editor agent creates a backup of the original, performs all three passes, presents a structured change report, and applies corrections only after your approval.

Usage

/dr-edit path/to/article.md
/dr-edit datarim/prd/PRD-notifications.md

What It Does

  1. Setup — reads the file, detects the primary language (English, Russian, or mixed), identifies content type and register, creates a backup next to the original.
  2. Phase 1: Fact Verification — extracts all verifiable factual claims, checks each against authoritative sources via web search, assigns verdicts: ACCURATE, INACCURATE, OUTDATED, MISLEADING, UNVERIFIABLE, or NEEDS_CONTEXT. Critical claims require 2+ independent sources.
  3. Phase 2: AI Pattern Removal — scans for banned AI vocabulary, structural tells, formatting artifacts, chatbot phrases, sycophantic tone, synonym cycling, and significance inflation. For Russian text, also checks for textbook tone, restated ideas, and generic phrases. Fixes in 3 passes: vocabulary and formatting, then structure and rhythm, then a final anti-AI audit.
  4. Phase 3: Editorial Polish — style consistency across the document, structural review (argument flow, section balance, transitions), citation and reference audit, and a final naturalness check.
  5. Report — summarizes all changes by category: factual corrections (with sources), AI pattern fixes (with counts), structural improvements, and items needing the author's decision.
  6. Apply — after approval, writes changes to the original file. Backup location is confirmed.

Arguments

The file path to the content to review. Required.

Output

Editorial report with change summary. Corrected document (after approval). Backup of the original.

Example Session

> /dr-edit blog/migration-post.md

Language detected: English
Backup created: blog/migration-post.backup-20260412.md

Phase 1: Fact Verification
  12 claims extracted
  10 ACCURATE, 1 OUTDATED (PostgreSQL version), 1 NEEDS_CONTEXT

Phase 2: AI Pattern Removal
  3 banned words replaced ("utilize" → "use", etc.)
  2 structural tells fixed (list-heavy sections rewritten)
  1 sycophantic opener removed

Phase 3: Editorial Polish
  Terminology unified (PostgreSQL vs Postgres — standardized)
  2 weak transitions strengthened

Summary: 9 changes total (1 factual, 4 AI patterns, 4 editorial)
1 item needs your decision: performance claim in section 5

Apply changes? (y/n)

Related Commands

  • /dr-write — create the content first
  • /factcheck — fact-checking only (no AI removal or polish)
  • /humanize — AI pattern removal only (no fact-checking)