deslop
Review and clean outward-facing Nx prose against the repository punctuation and banned-phrase rules. Use for PR descriptions, review comments, issue replies…
от nrwl★ 29 499 звёзд на GitHub
Установить deslop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Read Codex execution conventions before following this workflow.
deslop
Nx already bans the loudest tells. astro-docs/STYLE_GUIDE.md forbids em dashes, en dashes and
semicolons, and astro-docs/.vale/styles/Nx/ lists 60-odd banned phrases. But vale only runs on
astro-docs/**, so none of it covers the text agents actually send outward: PR comments, issue
replies, review notes, PR descriptions. This closes that gap using the same committed rules.
Quick start
# a draft you have not written to a file yet
printf '%s' "$DRAFT" | node .agents/skills/deslop/scripts/deslop-scan.mjs -
# files or directories
node .agents/skills/deslop/scripts/deslop-scan.mjs path/to/notes.md
Exit code is the finding count, so CI can gate on it. A line containing deslop-ignore is skipped.
Workflow
- Scan first. The mechanical tells are not judgement calls and they are cheap to clear.
- Fix by rewriting the clause, never by swapping the character.
—to,produces comma splices and sentences that visibly bend around the gap, and the bending reads as machine-written just as loudly as the dash did. A full stop and a new sentence is usually right. A colon is not a fix, and readers flag that swap too. - Then read it against REFERENCE.md. The tells that matter most are structural and no regex sees them: uniform sentence rhythm, the rule of three, sycophancy, a paragraph that is fluent and says nothing. A clean scan means the lexical layer is clean, not that the writing reads as human.
- Re-scan and confirm zero.
The trap
The failure mode is trading one default register for another. Stripping the dashes and landing in the "trying not to sound like AI" voice fools nobody: staccato fragments, forced lowercase, a "here's the thing" cold open, manufactured casualness, deliberate typos. That register is its own tell. Aim for the sentence a person would actually type.
Uniformity is the giveaway either way. All-short sentences are as mechanical as all-medium ones, and a batch of forty comments that all open the same way is uniform in a way no single reader sees but every maintainer scrolling the queue does.
What this does not do
It has no house style and it will not write for you. It removes tells and enforces committed rules. The argument and the voice are yours.
A formal register is not a tell when the piece calls for one. A banned phrase is a banned phrase because it is committed in the vale style, not because formality is wrong.
Adding a rule
Edit the vale style under astro-docs/.vale/styles/Nx/. The scanner reads those files at runtime, so
nx vale astro-docs and this cannot disagree, and a phrase added for docs is enforced on PR comments
the same day. Do not add a phrase list to the script.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- REFERENCE.md
- agents/openai.yaml
- scripts/deslop-scan.mjs
FAQ
Что делает скилл deslop?
Review and clean outward-facing Nx prose against the repository punctuation and banned-phrase rules. Use for PR descriptions, review comments, issue replies, and release notes; use check-docs-style for Astro documentation.
Как установить скилл deslop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deslop запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…