Notebook.Delete Dead Code
БесплатноБез исполняемых скриптовНе проверенRemove all the dead code in a Jupyter notebook and in the paired utility file
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Given a Jupyter notebook, remove its dead code and the dead code in the paired utility file
Workflow
Follow Notebook Conventions
- Read and follow
.claude/skills/notebook.rules.md
Find Unused Functions
- Find the functions in the notebook and in the paired
*_utils.pyfile that the notebook does not use - Print a summary of the unused functions
Remove Unused Code
- Remove the unused functions from the notebook and from the paired utility file
- Remove their unit tests, if any
Sync with Jupytext
- At the end, sync the paired
.pyfile with Jupytext, following# Code Architecture and Responsibility->## Utilities vs. Notebook Responsibilitiesin.claude/skills/notebook.rules.md
Verification
- Confirm no remaining code references the removed functions
- Run the notebook top to bottom following
## Testing Notebookin.claude/skills/notebook.rules.mdand confirm it completes without errors
Установить Notebook.Delete Dead Code в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Notebook.Delete Dead Code?
Remove all the dead code in a Jupyter notebook and in the paired utility file
Как установить скилл Notebook.Delete Dead Code?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Notebook.Delete Dead Code запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic