Auto-fix AI character patterns in content
Replaces AI-telltale characters like em dashes and smart quotes in content files.
/plugin marketplace add zircote/human-voice/plugin install zircote-human-voice@zircote/human-voice[path] [--dry-run]Auto-fix AI-telltale characters (em dashes, smart quotes, emojis, etc.) in content files.
$IF($1,
Target: $1
Verify the path exists:
!test -e "$1" && echo "Path exists: $1" || echo "ERROR: Path '$1' does not exist"
,
No target specified. Auto-detecting content directories...
!ls -d _posts content _docs docs 2>/dev/null || echo "No standard content directories found"
)
When --dry-run is specified or when unsure, show what would change without modifying files:
$IF($1,
!node "${CLAUDE_PLUGIN_ROOT}/skills/human-voice/scripts/fix-character-restrictions.js" --dry-run "$1" 2>&1 || true
,
!for d in _posts content _docs docs; do test -d "$d" && echo "$d"; done | xargs -r node "${CLAUDE_PLUGIN_ROOT}/skills/human-voice/scripts/fix-character-restrictions.js" --dry-run 2>&1 || echo "No content directories found"
)
If user confirms or no --dry-run flag:
$IF($1,
!node "${CLAUDE_PLUGIN_ROOT}/skills/human-voice/scripts/fix-character-restrictions.js" "$1" 2>&1 || true
,
!for d in _posts content _docs docs; do test -d "$d" && echo "$d"; done | xargs -r node "${CLAUDE_PLUGIN_ROOT}/skills/human-voice/scripts/fix-character-restrictions.js" 2>&1 || echo "No content directories found"
)
After fixing character issues:
/human-voice:review for full analysis| Character | Replacement |
|---|---|
| Em dash (--) | Period, comma, or colon |
| En dash (-) | Hyphen |
| Smart quotes (" ") | Straight quotes |
| Ellipsis (...) | Three periods |
| Bullet (•) | Markdown dash |
| Emojis | Removed |
This command only fixes Tier 1 (character-level) patterns. For language, structural, and voice patterns, manual review is required. Run /human-voice:review for comprehensive analysis.