Loading...
Loading...
Rewrite AI-generated developer text to sound human — fix inflated language, filler, tautological docs, and robotic tone. Use after review-ai-writing identifies issues.
npx skill4agent add existential-birds/beagle humanize-beaglereview-ai-writing/beagle-docs:humanize-beagle [--dry-run] [--all] [--category <name>]--dry-run--all--category <name>content|vocabulary|formatting|communication|filler|code_docs$ARGUMENTS--dry-run--all--category <name># Check for uncommitted changes
git status --porcelainWarning: You have uncommitted changes. Creating a git stash before proceeding.
Run `git stash pop` to restore if needed.git stash push -u -m "beagle-docs: pre-humanize backup"cat .beagle/ai-writing-review.json 2>/dev/null--all/beagle-docs:review-ai-writing --all/beagle-docs:review-ai-writing# Get stored git HEAD from JSON
stored_head=$(jq -r '.git_head' .beagle/ai-writing-review.json)
current_head=$(git rev-parse HEAD)
if [ "$stored_head" != "$current_head" ]; then
echo "Warning: Review was run at commit $stored_head, but HEAD is now $current_head"
fireferences/vocabulary-swaps.mdai_vocabulary_highai_vocabulary_lowreferences/fix-strategies.mdreferences/developer-voice.md--categoryfix_safetychat_leakcutoff_disclaimerfiller_phraseheading_restatementemoji_decorationboldface_overuseai_vocabulary_highnarrating_obvioussynthetic_openersycophantic_tonevague_authorityexcessive_hedginggeneric_conclusioncopula_avoidancerhetorical_deviceem_dash_overusethematic_breaktitle_case_headingcurly_quotesnegative_parallelismchallenges_and_prospectspromotional_languageformulaic_structuresynonym_cyclingcommit_inflationtautological_docstringexhaustive_enumerationthis_noun_verbsai_vocabulary_lowapologetic_errorrule_of_threeinline_header_listunnecessary_tableregression_to_mean--dry-run## Safe Fixes (would apply automatically)
| # | File | Line | Type | Action |
|---|------|------|------|--------|
| 1 | README.md | 3 | synthetic_opener | Delete "In today's rapidly evolving..." |
| 2 | src/auth.py | 15 | narrating_obvious | Delete "# Check if user exists" |
| 3 | README.md | 42 | ai_vocabulary_high | Replace "utilize" with "use" |
...git:commit:*git:pr:*--dry-run## Needs Review Fixes (would prompt interactively)
| # | File | Line | Type | Original | Suggested |
|---|------|------|------|----------|-----------|
| 4 | README.md | 8 | promotional_language | "powerful, enterprise-grade solution" | "authentication library" |
...[README.md:8] Promotional language: "powerful, enterprise-grade solution"
Suggested: "authentication library"
(y)es / (n)o / (e)dit / (s)kip all:ynes# Check for broken markdown (unclosed code blocks, broken links)
# Simple check: matching ``` pairs
grep -c '```' "$file" | awk '{print ($1 % 2 == 0) ? "OK" : "WARNING: odd number of code fences"}'python3 -c "import ast; ast.parse(open('$file').read())"npx -y acorn --ecma2020 "$file" > /dev/null 2>&1git checkout -- "$file"
echo "Reverted $file due to validation failure"## Humanize Summary
### Applied Fixes
- [x] README.md:3 - Deleted synthetic opener
- [x] README.md:42 - Replaced "utilize" with "use"
- [x] src/auth.py:15 - Deleted obvious comment
### Interactive Fixes
- [x] README.md:8 - Rewrote promotional language (user approved)
- [ ] docs/guide.md:22 - Skipped by user
### Skipped (Git Artifacts)
- [ ] git:commit:abc1234 - Chat leak in commit message (amend manually)
### Validation
- README.md: OK
- src/auth.py: OK
### Diff Summarygit diff --statrm .beagle/ai-writing-review.jsonReview file preserved at .beagle/ai-writing-review.json
Fix issues and re-run, or restore with: git stash popreferences/developer-voice.md# Preview all fixes without applying
/beagle-docs:humanize-beagle --dry-run
# Fix only vocabulary issues
/beagle-docs:humanize-beagle --category vocabulary
# Full codebase scan and fix
/beagle-docs:humanize-beagle --all
# Preview filler fixes only
/beagle-docs:humanize-beagle --category filler --dry-run