/utils/fix-grammar
Fix grammar and spelling errors in one or multiple files while preserving formatting
Fix grammar and spelling errors in files without changing meaning or structure.
Usage
BASH
/utils/fix-grammar <file-path> [additional-files...]Features
- Fixes spelling and grammar errors only
- Preserves formatting, structure, and technical terms
- Supports single or multiple files
- Parallel processing for multiple files
- No meaning or translation changes
Examples
Single file
BASH
/utils/fix-grammar content/blog/post.mdxMultiple files
BASH
/utils/fix-grammar src/file1.tsx src/file2.tsx src/file3.tsxBehavior
Single file: Processes directly with corrections
Multiple files: Launches parallel @fix-grammar agents for concurrent processing
Rules
- Only corrects spelling and grammar
- Preserves all formatting and special syntax
- Maintains original meaning and word order
- Removes
"""markers if present - Keeps language consistency per sentence