Command Palette

Search for a command to run...

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

Coding.Reorg Functions

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

Reorganize the Python functions in a file

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

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

Reorganize Python Functions Within a File

  • Reorganize the Python functions in the user-provided file per the general rules in coding.rules.md

    • Follow ## Organize Functions Into Logical Layers in .claude/skills/coding.rules.md
    • Follow ## Order Layers by Abstraction Level in .claude/skills/coding.rules.md
    • Follow ## Order Functions Within Each Layer in .claude/skills/coding.rules.md
    • Follow ## Keep Related Functions Together in .claude/skills/coding.rules.md
    • Follow ## Mark Private Functions in .claude/skills/coding.rules.md

Additional Guidance

  • Avoid circular ordering where possible
  • Preserve existing comments and docstrings
  • Keep public entry points easy to locate near the end of the file
  • Prefer cohesion and readability over strict categorization

Constraints

Preserve Behavior Exactly

  • Do not modify functionality, logic, signatures, control flow, side effects, or semantics
  • The resulting code must behave identically to the original

Move Code Only

  • The refactor must be structural only
  • Allowed changes:
    • Reordering functions
    • Adding section headers
    • Renaming internal/private functions consistently
  • Disallowed changes:
    • Rewriting logic
    • Simplifying implementations
    • Changing APIs
    • Changing imports unnecessarily
    • Modifying formatting beyond what is required for reorganization

Verification

  • Confirm every function from the original file is still present
  • Run the file's unit tests to confirm behavior is unchanged

Установить Coding.Reorg Functions в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл Coding.Reorg Functions?

Reorganize the Python functions in a file

Как установить скилл Coding.Reorg Functions?

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

Скилл Coding.Reorg Functions запускает скрипты?

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

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

Сравнить Coding.Reorg Functions с