Command Palette

Search for a command to run...

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

Skill.Check Against Rules

БесплатноБез исполняемых скриптовНе проверен

Check a file against applicable convention rules and list violations

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

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

Goal

  • Find the violations of the rules that apply to the given file <FILE> and create a plan to fix them

Workflow

Select Rules

  • If the user specifies a set of rules, apply those
  • Otherwise, read @.claude/rules.md, which maps file types to rule sets
    • Find which <RULE_FILE> applies to <FILE>
    • Print it as
      Rules: <RULE_FILE>
      

Read Rules

  • Read <RULE_FILE>
  • Check its rules one by one on <FILE>
  • List the unmet rules, ordered by importance and effort

Save the Plan to File

  • Do not implement any change. Create skill.check_against_rules.<INPUT_REF>.md in the current dir, describing all the transformations needed to follow the rules, without changing the content or intention of <FILE>
    • <INPUT_REF> comes from <FILE>, as in .claude/skills/skill.rules.md ### Name the Output File
  • Say in the plan file how it was generated, with this line right after the title:
    - Generated by `.claude/skills/skill.check_against_rules/SKILL.md`
    

Verification

  • The output file is skill.check_against_rules.<INPUT_REF>.md in the current dir
  • <FILE> itself was not modified
  • The plan file lists every violation found, ordered by importance and effort
  • The plan does not change the content or intention of <FILE>
  • The plan file says that it was generated by .claude/skills/skill.check_against_rules/SKILL.md

Установить Skill.Check Against Rules в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Skill.Check Against Rules?

Check a file against applicable convention rules and list violations

Как установить скилл Skill.Check Against Rules?

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

Скилл Skill.Check Against Rules запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить Skill.Check Against Rules с