humanize-beagle
БесплатноБез исполняемых скриптовНе проверенRewrite AI-generated developer text to sound human — fix inflated language, filler, tautological docs, and robotic tone. Use after review-ai-writing…
от existential-birds★ 92 звезды на GitHubОб этом скилле
Humanize
Apply fixes from a previous review-ai-writing run with automatic safe/risky classification. Follows the tone and register guidelines in references/developer-voice.md.
Usage
Invoke the humanize-beagle skill with optional flags: humanize-beagle [--dry-run] [--all] [--category <name>].
Flags:
--dry-run- Show what would be fixed without changing files--all- Fix entire codebase (runs review with --all first)--category <name>- Only fix specific category:content|vocabulary|formatting|communication|filler|code_docs
Instructions
Hard gates
Advance past destructive or evidence-bound steps only when each PASS is true (commands and artifacts—not "I checked mentally"):
- G1 — Safe to edit files — PASS:
git status --porcelainis empty, orgit stash push -u -m "humanize-beagle: pre-humanize backup"exits 0. - G2 — Review input is real JSON with expected shape — PASS:
.beagle/ai-writing-review.jsonexists and the file parses as JSON with agit_headkey and afindingsvalue that is an array (possibly empty). Use thejqorpython3check in step 3. If this fails, stop with a parse/validation error—do not apply fixes. - G3 — References before rewrites — PASS: For each finding you will edit, the
references/*.mdfiles required by step 4 for that category/type are read in this session before you change text. - G4 — Per-file validation — PASS: Every modified file passes the step 8 check for its type (or skips syntax check with a note when no local TS/JS checker is installed); otherwise run
git checkout -- "$file"for that file and do not list it as OK in the summary. - G5 — Delete review file only on full success — PASS: Run
rm .beagle/ai-writing-review.jsononly when G4 holds for all files you are keeping unchanged from validation failures (aligns with step 10).
1. Parse Arguments
Parse any flags provided in the user's request:
--dry-run- Preview mode only--all- Full codebase scan--category <name>- Filter to specific category
2. Pre-flight Safety Checks
# Check for uncommitted changes
git status --porcelain
If working directory is dirty, warn:
Warning: You have uncommitted changes. Creating a git stash before proceeding.
Run `git stash pop` to restore if needed.
Create stash if dirty:
git stash push -u -m "humanize-beagle: pre-humanize backup"
G1 PASS: Either the working tree was already clean, or the stash command exited 0.
3. Load Review Results
Check for existing review file:
cat .beagle/ai-writing-review.json 2>/dev/null
If file missing:
- If
--allflag: Invoke the review-ai-writing skill with--allfirst - Otherwise: Fail with: "No review results found. Invoke the review-ai-writing skill first."
If file exists, validate JSON and freshness (G2):
# Required shape: parseable JSON with git_head and findings array (may be empty)
if command -v jq >/dev/null 2>&1; then
jq -e 'has("git_head") and ((.findings // []) | type == "array")' .beagle/ai-writing-review.json >/dev/null 2>&1 \
|| { echo "Invalid or incompatible ai-writing-review.json"; exit 1; }
stored_head=$(jq -r '.git_head' .beagle/ai-writing-review.json)
else
stored_head=$(python3 -c "
import json
data = json.load(open('.beagle/ai-writing-review.json'))
assert 'git_head' in data and isinstance(data.get('findings', []), list)
print(data['git_head'])
") || { echo "Invalid or incompatible ai-writing-review.json"; exit 1; }
fi
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"
fi
If stale, prompt: "Review results are stale. Re-run review? (y/n)"
4. Load Reference Material
Read the appropriate reference files based on the findings being fixed:
- Read
references/vocabulary-swaps.mdwhen applyingai_vocabulary_highorai_vocabulary_lowfixes - Read
references/fix-strategies.mdfor strategy details and before/after examples for any category - Read
references/developer-voice.mdfor tone/register guidance when rewriting prose
Only load what you need — if fixing only vocabulary, skip the voice guide.
5. Filter Findings
If --category is set, filter findings to that category only.
Partition remaining findings by fix_safety:
Safe Fixes (auto-apply):
chat_leak- Delete conversational artifactscutoff_disclaimer- Delete knowledge cutoff referencesfiller_phrase- Delete filler phrasesheading_restatement- Delete restating first sentenceemoji_decoration- Remove emoji from technical textboldface_overuse- Remove excessive bold formattingai_vocabulary_high- Swap high-signal AI wordsnarrating_obvious- Delete obvious code comments- `synthetic
Установить humanize-beagle в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл humanize-beagle?
Rewrite AI-generated developer text to sound human — fix inflated language, filler, tautological docs, and robotic tone. Use after review-ai-writing identifies issues.
Как установить скилл humanize-beagle?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл humanize-beagle запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic