Command Palette

Search for a command to run...

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

Skill.Reorganize Rules

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

Reorganize the rules in a skill rules file

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

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

Goal

  • Given a rule file <RULE_FILE> in the format <TOPIC>.rules.md passed by the user, propose and apply a better organization of its sections

Plan Only (--only_plan)

  • With --only_plan, follow .claude/skills/skill.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to skill.reorganize_rules.<INPUT_REF>.md, then stop without executing the skill
    • Put the proposed organization in the plan

Workflow

Read the Rule File

  • Read <RULE_FILE> content

Read Skill Rules

  • Read .claude/skills/skill.rules.md

Propose the Reorganization

  • Propose changes to the user if you see:
    • A better organization of H1 sections that is more cohesive and simpler
    • An H2 section or text that is redundant
    • An H2 section that belongs under a different H1 section for better cohesion
  • Do not change the content or intention of <RULE_FILE>

Present the New Organization

  • Print the new organization in terms of H1 and H2 headers
  • Ask the user to confirm

Save the Result

  • Save the result in the same file <RULE_FILE>

Update References

  • Look for all the files referring to <RULE_FILE> and update them to refer to the updated structure of <RULE_FILE>
    • E.g., update chunks of code like
      - Add end-to-end tests for command-line tools using the rules in
        `.claude/skills/testing.rules.md`
          `# End-to-end Unit Tests for Executables`
      
      to match the new organization

Verification

  • --only_plan (check only this item): the plan is in skill.reorganize_rules.<INPUT_REF>.md in the current dir, has the Generated by line, and nothing was executed
  • The user confirmed the new organization before <RULE_FILE> was saved
  • The content and intention of <RULE_FILE> are unchanged
  • Every file referencing <RULE_FILE>'s old structure was updated

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

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

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

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

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

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

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

FAQ

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

Reorganize the rules in a skill rules file

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

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

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

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

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

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