audit-correct

Correct and format DOCX documents with citation and text fixes.

19|5|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/edwinhu/workflows --skill audit-correct
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-correct
Source: https://github.com/edwinhu/workflows/tree/main/skills/bluebook-audit/lib/skills/audit-correct
Command: npx skills add https://github.com/edwinhu/workflows --skill audit-correct

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the tedious and error-prone task of correcting citation formatting and other specific text attributes within DOCX documents, ensuring legal and academic documents adhere to strict style guides.

Core Features & Use Cases

  • Automated Correction: Applies a series of predefined corrections to DOCX files, including cross-reference resolution, small caps formatting for titles and periodicals, and italic fixes.
  • Robust Handling: Implements strategies to manage complex scenarios like non-breaking spaces, footnote formatting, and text spanning across XML runs.
  • Use Case: After an initial audit of a legal brief, use this Skill to automatically fix all identified citation errors, such as incorrect italics for case names or missing terminal periods in footnotes, before the final review.

Quick Start

Apply corrections to the document using the audit-correct skill.

Frequently Asked Questions about audit-correct

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

FAQPage Schema
How do I automatically fix Bluebook citation formatting in a DOCX file?

To fix Bluebook citation formatting in a DOCX file, apply automated text and citation corrections to resolve cross-references, format titles in small caps, and correct signal italics.

Can I add missing terminal periods to legal footnotes in Word documents programmatically?

Yes, you can add terminal periods to legal footnotes in Word documents programmatically by applying a sequence of predefined DOCX citation fixes that target footnote formatting specifically.

Does lxml work for modifying text spanning across XML runs in DOCX files?

Yes, lxml works for modifying text spanning across XML runs in DOCX files by utilizing XML manipulation strategies to robustly handle complex formatting scenarios like non-breaking spaces.

What is the best way to resolve cross-references in legal briefs?

The best way to resolve cross-references in legal briefs is to apply an automated correction sequence that directly manipulates the DOCX XML structure to fix citation formatting errors.

How do I correct small caps formatting for case names and periodicals in a legal document?

Correct small caps formatting for case names and periodicals in a legal document by applying targeted DOCX text fixes that enforce strict style guide attributes across the file.