К основному содержанию
скилл CX Codex

create-slop-grader-rules — скилл для Claude Code: установка

Генерирует файлы правил Markdown для slop-grader и сразу валидирует их синтаксис. Пригодится при настройке редакционных стандартов проекта.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add lukstei/slop-grader --skill create-slop-grader-rules -a claude-code
Открыть на GitHub

Что делает create-slop-grader-rules

Скилл помогает формулировать атомарные правила проверки текстов для CLI-утилиты slop-grader. Он формирует файл .md с инструкциями и чёткими критериями для двух уровней: построчного # Line Rules с булевыми ответами true или false, либо для документа целиком в блоке # Document Rules. Каждая проверка получает отдельный идентификатор в snake_case, чтобы отчёт точно указывал на проблему.

После написания правил скилл запускает встроенную валидацию через npx @lukstei/slop-grader@latest --check -r <rule-file>. Если синтаксис нарушен, агент сам исправляет структуру по спецификации SYNTAX.md.

Сам агент оценивать файлы не станет: по инструкции он только проверяет синтаксис набора правил, а запуск проверки документа через npx @lukstei/slop-grader@latest -r <path-to-rule-file> <path-to-target-document> остаётся за разработчиком. Для работы валидатора потребуется установленный Node.js с npx.

Какие задачи решает

  • составить файл правил для проверки тональности и стиля документации
  • разбить сложные требования к тексту на атомарные проверки с критериями
  • валидировать синтаксис правил через slop-grader --check
  • настроить критерии поиска слов-паразитов и снисходительных формулировок

Примеры запросов агенту

  • Сделай правило для slop-grader, чтобы находить слова вроде «просто» и «очевидно»
  • Напиши Document Rules для проверки структуры туториалов в Markdown
  • Создай набор правил для slop-grader и проверь его синтаксис

Как установить create-slop-grader-rules

1Через Skills CLI (Vercel)

npx skills add lukstei/slop-grader --skill create-slop-grader-rules -a claude-code

2Вручную: положить файлы

~/.claude/skills/create-slop-grader-rules/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/create-slop-grader-rules/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о create-slop-grader-rules

Как установить create-slop-grader-rules в Claude Code?

Выполните команду npx skills add lukstei/slop-grader --skill create-slop-grader-rules -a claude-code. Также файл скилла можно сохранить напрямую в ~/.claude/skills/create-slop-grader-rules/SKILL.md.

Что делает скилл create-slop-grader-rules?

Он помогает составить Markdown-файл правил для slop-grader по спецификации docs/SYNTAX.md. Скилл автоматически проверяет разметку правил через команду с флагом --check.

Может ли скилл сразу проверить мой документ по созданным правилам?

Нет, скилл только создаёт и валидирует сам файл с правилами. Итоговую оценку документа запускает пользователь командой npx @lukstei/slop-grader@latest -r <path-to-rule-file> <path-to-target-document>.

Исходный текст

SKILL.md · MIT
---
name: create-slop-grader-rules
description: >
  Create custom slop-grader rulesets in Markdown based on user guidelines and SYNTAX.md specification. Validates rules using slop-grader --check.
---

# Create slop-grader rules

Help the user create custom rule files (`.md`) for [`slop-grader`](https://github.com/lukstei/slop-grader/blob/main/README.md).

For complete syntax rules and validation constraints, refer to [docs/SYNTAX.md](https://github.com/lukstei/slop-grader/blob/main/docs/SYNTAX.md).

## Example Ruleset

```markdown
Custom documentation standards.

# Document Rules

## task_orientation
Is the guide organized around user tasks rather than internal system architecture?

### Criteria
- Architecture dump with no clear user workflow
- Mixed explanations requiring the reader to assemble the workflow
- Task-oriented with clear sequential steps
- Cookbook-grade with inputs, steps, and expected outputs

# Line Rules

## minimizing_language
Does the line use condescending shortcuts ("simply", "just", "obviously") to minimize a complex step?

### Criteria
- **true**: The line minimizes a step requiring configuration or technical decisions.
- **false**: The step is genuinely trivial (e.g. "click Save"), or no minimizing term appears.
```

## Core Principle: Keep Rules Granular

Design rules with single, atomic responsibilities. Avoid bundling multiple distinct checks into one composite rule (e.g. never combine typos, compound spacing, and grammar into a catch-all rule):

- **Debuggability:** When `slop-grader` flags a violation, the report displays the rule ID. Granular IDs (e.g. `compound_spacing`, `comma_placement`) pinpoint the exact issue instead of requiring manual deduction.
- **Evaluator accuracy:** Evaluators score focused, binary criteria far more reliably than composite prompts that test multiple disparate error types simultaneously.
- **Independent tuning:** Isolating rules lets you refine criteria and edge-case examples for one pattern without causing regressions in others.
- **Actionable fixes:** Downstream fix workflows (like the `slop-grading` skill) can propose exact replacements when the rule name is specific.

## Workflow

1. **Clarify requirements:** Ask what patterns, guidelines, or quality criteria the user wants to enforce. Determine the appropriate scopes:
   - `# Line Rules`: Evaluates line by line. Always boolean `noul` questions requiring `- **true**:` and `- **false**:` criteria.
   - `# Document Rules`: Evaluates the whole document. Multi-tier `score` questions (bullet list of at least 2 levels) or document-level boolean `noul` questions.
2. **Draft the ruleset:** Write the `.md` rule file adhering to [docs/SYNTAX.md](https://github.com/lukstei/slop-grader/blob/main/docs/SYNTAX.md).
   - Keep rules atomic (one pattern per rule ID). Split broad checks into separate rules.
   - Use descriptive snake_case for rule IDs (`empty_adverb`, `compound_spacing`).
   - Write unambiguous prompt instructions and explicit criteria bullets.
3. **Validate the rule:** Always run the validation command:
   ```sh
   npx @lukstei/slop-grader@latest --check -r <rule-file>
   ```
   If validation fails, fix the syntax errors until it passes.
4. **Instruct the user:** Present the final rule file and show the user how to run `slop-grader` against their documents:
   ```sh
   npx @lukstei/slop-grader@latest -r <path-to-rule-file> <path-to-target-document>
   ```
   **Important:** Never invoke the grading command yourself. The agent only validates rules via `--check`. The user runs the grading command directly.

© lukstei · MIT · lukstei/slop-grader

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

Все скиллы по теме «Тексты и документация» →
grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. 1 219 756установок skill-creator официальный anthropics Помогает создать новый скилл, доработать существующий и проверить результат через тестовые промпты и оценки. 414 180установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок handoff Matt Pocock Собирает текущий диалог в документ передачи, чтобы другой агент продолжил работу с нужным контекстом. Нужен при смене сессии или исполнителя. 1 038 491установок triage Matt Pocock Скилл проводит issue и внешние PR через роли триажа, проверку и подготовку брифа для агента. Подойдёт мейнтейнеру, который разбирает очередь задач. 990 453установок domain-modeling Matt Pocock Скилл помогает уточнять термины проекта, вести GLOSSARY.md и фиксировать архитектурные решения в ADR. Нужен, когда модель предметной области меняется. 876 391установок

Из того же набора2

Спонсоры проекта

Компании, которые помогают держать аналитику открытой