Command Palette

Search for a command to run...

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

hub-safety

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

Safety checks and procedures when modifying hub files (files imported by 3+ others). Activated when editing files with high importer counts.

JordanCoinот JordanCoin★ 722 звезды на GitHub

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

Hub Safety Protocol

Hub files are imported by 3+ other files. Changes here ripple across the codebase.

Before editing a hub file

  1. Run codemap --importers <file> to see all dependents
  2. Understand the public API surface: which functions/types are used externally
  3. Check if tests exist for dependents, not just the hub itself

While editing

  • Prefer additive changes over breaking changes
  • If renaming or removing a public symbol, update all importers in the same commit
  • If changing a function signature, check all call sites

After editing

  • Run the full test suite, not just the hub's tests
  • Run codemap --deps . to verify the dependency graph is intact
  • If the hub has 8+ importers, consider a staged rollout (change hub, test, update callers separately)

Risk escalation

Importers Risk Action
3-5 Medium Run package tests + direct importer tests
6-10 High Run full test suite, review all importers
10+ Critical Consider splitting the hub or using an interface

Установить hub-safety в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл hub-safety?

Safety checks and procedures when modifying hub files (files imported by 3+ others). Activated when editing files with high importer counts.

Как установить скилл hub-safety?

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

Скилл hub-safety запускает скрипты?

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

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

Сравнить hub-safety с