Command Palette

Search for a command to run...

Назад к скиллам
скилл № 14109

large-file-control

Prevent large-file growth and mixed-responsibility edits. Use when adding significant logic to a large file, mixed-purpose module, or file with repeated…

БесплатноБез исполняемых скриптов
SeemSeamот SeemSeam★ 18 звёзд на GitHub

Установить large-file-control в Claude Code и Claude Desktop

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

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

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

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

Large File Control

Use this skill before adding meaningful logic to a file that is already hard to scan or carries multiple responsibilities.

Read templates/large-file-control.md before deciding whether to inline or extract.

Workflow

  1. Check file size, responsibilities, repeated conditionals, and test surface.
  2. Identify whether the new behavior has a focused domain concept.
  3. Prefer extraction only when it improves current locality, readability, or testability.
  4. Keep code inline when extraction would only add indirection.
  5. Avoid dumping logic into vague utils, helpers, manager, or service files.
  6. Report the decision and rationale.

Guardrails

  • Do not split mechanically by line count.
  • Do not add a new abstraction for one caller unless it hides real complexity.
  • Do not continue growing a file if the new code requires edits in many distant sections.
  • If the right split is architectural, escalate to archi.

Output

Large File Decision
- file:
- signal:
- decision: inline/extract/defer/escalate
- rationale:
- verification:

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

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

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

FAQ

Что делает скилл large-file-control?

Prevent large-file growth and mixed-responsibility edits. Use when adding significant logic to a large file, mixed-purpose module, or file with repeated conditionals.

Как установить скилл large-file-control?

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

Скилл large-file-control запускает скрипты?

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

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

Сравнить large-file-control с