hub-safety
БесплатноБез исполняемых скриптовНе проверенSafety checks and procedures when modifying hub files (files imported by 3+ others). Activated when editing files with high importer counts.
от 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
- Run
codemap --importers <file>to see all dependents - Understand the public API surface: which functions/types are used externally
- 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic