binary-search-debugging
Using bisect/git bisect to isolate failure to exact commit or code path.
от sethdford★ 51 звезда на GitHub
Установить binary-search-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Binary Search Debugging
Efficiently narrowing problem scope through bisection.
Context
You are using binary search to isolate a failure. Works for bugs and regressions.
Domain Context
- Git Bisect: Half the commits; does bug exist here? Repeat until you find the culprit commit
- Code Path: Disable half the code; does bug reproduce? Narrow to affected code
- Data Range: Bugs with specific input; binary search the input space
- Time Range: Regression over time; binary search commits
Instructions
- Identify Good and Bad Commits: When did it work? When did it break?
- Run Git Bisect: Automates binary search through commits
- Test at Bisect Point: Does bug exist at this commit?
- Bisect Reports: It, narrows range automatically
- Find Exact Commit: Run to completion; identifies culprit
- Review Commit: What changed? Why does it cause the bug?
- Code Path Bisect: Disable features/code paths; find what triggers bug
Anti-Patterns
- Assuming recent commit caused it; test assumptions with bisect
- Not using bisect on large commit ranges; manual search is slow
- Bisecting without reproducible test; need consistent yes/no answer
- Not reviewing found commit; understanding the bug matters
Further Reading
- Git bisect documentation
- Linux kernel debugging; git bisect is standard there
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл binary-search-debugging?
Using bisect/git bisect to isolate failure to exact commit or code path.
Как установить скилл binary-search-debugging?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл binary-search-debugging запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…