Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

writing:scan

БесплатноЗапускает вложенные скриптыНе проверен

Detect AI writing tropes in repository prose. Use `audit` to scan a directory or glob (READMEs, docs, skill files, proposals) for slop already committed and…

bendruckerот bendrucker★ 18 звёзд на GitHub

Об этом скилле

Scan

Detect AI writing tropes already present in prose. Every mode lints through Vale with the plugin's .vale.ini, the same checks the hook enforces on new edits. Scan reports only. Fix alerts with writing:no-diary or direct edits at the reported positions.

Audit

Pass files or directories. Vale walks directories and skips node_modules and .git.

vale --config="${CLAUDE_SKILL_DIR}/../../.vale.ini" --output=line docs README.md
vale --config="${CLAUDE_SKILL_DIR}/../../.vale.ini" --output=line --glob='*.md' .

Each alert prints as path:line:col:check:message, where check is the Vale rule name (Writing.PathBullet, ai-tells.EmDashUsage). Vale exits 1 when any alert is at error level, so the command gates in CI or a pre-commit check.

Single Input

Lint one input the same way:

vale --config="${CLAUDE_SKILL_DIR}/../../.vale.ini" --output=line path/to/draft.md
vale --config="${CLAUDE_SKILL_DIR}/../../.vale.ini" --output=line --ext=.prbody < body.md
  • --ext=.prbody with the text on stdin applies the rules for a message sent once (PR, issue, comment, Notion page), including salutations and closers. Use --ext=.commitmsg for a commit message. The surface is never inferred, so pass it for a message body even when the text sits in a file.
  • --output=JSON prints Vale's alerts keyed by path, each with Check, Message, Severity, Line, Span, and Match.

Score

score.ts takes one file path, inline text, or stdin and reports Vale alerts per 1000 words for each check. It always exits 0.

bun ${CLAUDE_SKILL_DIR}/scripts/score.ts path/to/draft.md
bun ${CLAUDE_SKILL_DIR}/scripts/score.ts --json path/to/draft.md

Word count is Vale's own (vale ls-metrics), which leaves out code. Inline text and stdin score as a markdown file. The table sorts by density.

Установить writing:scan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read

Вложенные файлы

scripts/__snapshots__/score.test.ts.snapscripts/score.test.tsscripts/score.ts

FAQ

Что делает скилл writing:scan?

Detect AI writing tropes in repository prose. Use `audit` to scan a directory or glob (READMEs, docs, skill files, proposals) for slop already committed and gate on it, reporting every match with file, line, and column. Use `score` to measure trope density of one input on a per-1000-word basis or compare two drafts. Not for rewriting a single input.

Как установить скилл writing:scan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл writing:scan запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить writing:scan с