debug
БесплатноБез исполняемых скриптовНе проверенWHEN an iOS app fails in the simulator — a build failure, a crash, a wrong screenshot, or wrong behaviour — and either the user reports it or you observe it…
от mintuz★ 38 звёзд на GitHubОб этом скилле
Debug — iOS App Debugging Loop
Authorisation rule
Edit code only when an instruction asks for a fix. An explicit fix request, or a
standing instruction that the fix serves (for example "get the app building"),
authorises ordinary code and test edits; do not ask for that approval again. A
symptom report, or a failure you observed yourself with no such instruction,
authorises diagnosis only: report the cause, state the exact change you would
make, and ask before you edit (principle-investigate-read-only). When a fix is
authorised, stop and ask again only when the proved fix needs a materially
different, destructive, or externally visible action, such as deleting stored
data or resetting a shared store (principle-stay-in-scope).
Visual work and execution ownership
Choose one diagnostic owner before starting the root-cause loop. A rendering-only
defect, including keyboard overlap or a wrong screenshot with no evidenced
build/runtime identity, state, storage, lifecycle or crash fault, belongs to
visual-feedback. So does an
agreed appearance change. Hand over the screen, requested values, capture
conditions and exact authorised scope for actual image inspection, visual
diagnosis, equivalent before/after comparison and human review. Do not add a
second root-cause loop or a UI suite merely for that handoff.
Require the returned source/build identity, including dirty changes, and state
evidence for the focused field and keyboard/permission conditions. A screenshot
path or app name alone does not establish that capture identity.
Keep build/runtime identity, state, storage, lifecycle or crash diagnosis here.
If visual evidence reveals one of those faults, take that diagnostic handoff
back without treating a layout repair as its fix. If visual-feedback is unavailable, use the
project's visual-review procedure, or perform the same scoped actual-image
comparison and human review here.
Use the project's documented recipes through one xcode-dev-loop executor, or
the established project commands, for current-source build, installation, launch
and capture. Keep one lifecycle owner at a time; request controlled experiments
through that owner rather than starting a parallel device driver.
After an authorised source change, ask that owner to rebuild and restore the
recorded failing sequence's starting state. If the sequence depends on existing
app data, install the intended product over that app while keeping its data.
If it starts from a fresh install or empty store, use a new run-owned device or
equivalently fresh isolated fixture. Never uninstall or clear a user-owned app
or its data. Replay the failing action and collect fresh logs; checking the
previous build's identity alone is not verification.
Test-only failures and regression authorship
Take back a UI-test failure that indicates a possible build/runtime identity,
state, storage, lifecycle or crash fault. xcuitest still owns the test code;
request diagnostic experiments through the same execution owner.
For a test-authoring failure with no indicated app fault, identify the suite instead of manufacturing an app crash/build investigation or runtime proof:
- Swift Testing
@Test/#expect: useswift-testing. - XCTest UI automation with
XCUIApplication: usexcuitest. - Existing non-UI XCTest unit/integration or
measureperformance tests: preserve XCTest and use the suite's established conventions withtddfor an authorised behaviour repair. Dedicated reusable non-UI XCTest authoring guidance remains a gap; neither the Swift Testing nor UI-automation skill silently owns it.
Do not force a framework migration to repair a test. Use xcode-dev-loop to
execute and read the suite's real results. Use benchmark-checklist to judge a
measurement claim, not as a substitute for its XCTest assertions or runtime.
In the handoff, explicitly name the non-UI XCTest specialist-guidance gap when using that fallback; do not imply that selecting a runner supplies an authoring guide. Retain exact expected case identities and the required before/after proof.
Root-cause loop
Bound and reproduce — Name the failing surface, expected state, exact sequence, and requested terminal outcome. Reproduce before choosing a cause (
principle-capture-the-baseline). Capture the evidence that matches the failing surface: the build log for a build failure, runtime logs for a crash or wrong behaviour, and a screenshot only when the failure is visual. Do not launch the app or capture runtime evidence for a failure that occurs before the app builds. Preserve user data and treat clean builds, reinstalls, or resets as controlled experiments, never as proof or a shortcut. When checking a suspected stale/wrong runtime, inspect build and runtime logs; a rebuild or reinstall is a named diagnostic experiment, not an assumed fix.Complete when: the failure is repeatable with evidence, or the missing runtime proof i
Установить debug в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл debug?
WHEN an iOS app fails in the simulator — a build failure, a crash, a wrong screenshot, or wrong behaviour — and either the user reports it or you observe it yourself; NOT for Xcode project setup, or for a test that fails while the app itself builds and runs (route by the actual test framework); runs an evidence-to-root-cause loop and proves the terminal state.
Как установить скилл debug?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл debug запускает скрипты?
Нет, скилл состоит только из инструкций (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