π¦ ClawHub
Document Spell Check
by @linux2010
Detect and automatically fix spelling errors in Markdown, plain text, and documentation files with support for custom dictionaries and batch processing.
TERMINAL
clawhub install doc-spellcheckπ About This Skill
Document Spell Check Skill
Purpose
Automatically detect and fix spelling errors in documentation files across any project. This skill provides comprehensive spell checking for Markdown, plain text, and other documentation formats.Features
1. Multi-Format Support
.md, .mdx).txt)2. Comprehensive Error Detection
recieve β receive, teh β the)formating β formatting, occured β occurred)3. Automated Fixing
4. Integration Capabilities
.gitignore and excluded pathsUsage
Basic Commands
# Check single file
doc-spellcheck check docs/guide.mdCheck entire directory
doc-spellcheck check docs/Auto-fix common errors
doc-spellcheck fix docs/guide.mdDry-run to preview fixes
doc-spellcheck fix --dry-run docs/
Advanced Options
# Custom dictionary
doc-spellcheck check --dict custom-words.txt docs/Exclude patterns
doc-spellcheck check --exclude "/node_modules/" docs/Specific error types
doc-spellcheck check --errors "misspelling,word-form" docs/Output format for CI
doc-spellcheck check --format json docs/
Implementation Details
Core Dependencies
Error Categories
1. Basic Misspellings: Common typos and transpositions 2. Word Form Errors: Incorrect verb/noun forms 3. Technical Terms: Domain-specific vocabulary validation 4. Contextual Errors: Words that are spelled correctly but used incorrectlySafety Measures
Workflow Integration
Local Development
1. Run spell check before committing changes 2. Use interactive mode for manual review 3. Add custom dictionaries for project terminologyCI/CD Pipeline
1. Integrate as pre-commit hook 2. Fail builds on critical spelling errors 3. Generate reports for documentation quality metricsTeam Collaboration
1. Shared custom dictionaries across team members 2. Consistent terminology enforcement 3. Automated documentation quality gatesConfiguration
Default Settings
.md, .mdx, .txt, .rstnode_modules/, .git/, dist/warning (non-blocking)disabled by defaultCustomization Options
Best Practices
For Maintainers
For Contributors
Examples
Fixing Common Errors
# Before: "The recieve function handles incoming data"
After: "The receive function handles incoming data"
Before: "This occured during the formating process"
After: "This occurred during the formatting process"
Batch Processing
# Process entire documentation directory
doc-spellcheck fix --batch docs/Review changes interactively
doc-spellcheck fix --interactive docs/guide.md
Limitations
Known Constraints
Workarounds
Maintenance
Updates
Monitoring
π‘ Examples
Fixing Common Errors
# Before: "The recieve function handles incoming data"
After: "The receive function handles incoming data"
Before: "This occured during the formating process"
After: "This occurred during the formatting process"
Batch Processing
# Process entire documentation directory
doc-spellcheck fix --batch docs/Review changes interactively
doc-spellcheck fix --interactive docs/guide.md
βοΈ Configuration
Default Settings
.md, .mdx, .txt, .rstnode_modules/, .git/, dist/warning (non-blocking)disabled by default