/app:debugfrom app
Runs an evidence-to-root-cause diagnostic loop for iOS simulator failures: build failures, crashes, wrong screenshots, or incorrect behavior. Handles state, storage, lifecycle, and crash analysis.
Ships in app. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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).
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.
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:
@Test / #expect: use swift-testing.XCUIApplication: use xcuitest.measure performance tests: preserve
XCTest and use the suite's established conventions with tdd for 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.
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 is explicit.
Prove the runtime identity — When the failure occurs in a launched app,
verify the selected scheme and configuration, built product, bundle
identifier, installed app, launched process, and named UI surface before
blaming source (principle-prove-it-works). Map the expected surface to the exact source view and
styling rule. Skip this step for a build failure.
Complete when: the observed runtime is tied to the source under review, or a stale/wrong runtime is proven.
Trace the owner — Follow the real entry point through state, lifecycle,
storage, and dependencies to the narrowest shared cause. Search every caller
of the shared function before changing it. Keep observations, hypotheses, and
inferences distinct; test competing hypotheses against the captured evidence
(principle-label-the-evidence).
For a type/name collision, resolve and check every affected use site before
editing, not only functions or the first ambiguous file.
Complete when: one cause explains the evidence and every affected caller and lifecycle state is accounted for.
Fix once — State the change with specifics: file, declaration, and the
values or calls that change. For diagnosis-only work, report the cause and
proposed change, then stop. For an authorised fix, make the smallest change
at the shared owner; do not rename, move, or restructure code when a local
change there resolves the proved cause (principle-fix-root-causes). For
non-trivial logic, leave one focused regression check that fails on the
reproduced defect and covers data preservation when persistence is involved
(principle-test-behavior-not-implementation). State whether the proved fix stays
inside the supplied authorisation; stop before any materially different or
destructive action.
Complete when: for diagnosis-only work, the cause and the proposed change are reported; for an authorised fix, the change and its regression check express the proved cause without widening scope.
Prove the terminal state — Rebuild and rerun the exact failing sequence.
Run the focused check, inspect fresh logs, compare the same visual surface when
relevant, and exercise the lifecycle boundary such as backgrounding or
relaunch. Report observed proof separately from any remaining gap. Do not
report a planned step as an observed result (principle-gaps-are-not-passes).
Complete when: the original failure no longer reproduces, relevant logs are clean, persisted state survives the tested lifecycle, and any unproved live state is labelled as a gap rather than a pass.
Keep verification within the named failing boundary and affected changed contracts. Inspect related callers to locate a cause, but do not add a new live check of an already-working unrelated Siri/system path automatically.
For a plan-only handoff, label reproduction/build/replay as proposed until their outputs exist. State the exact evidence that would close the named failing boundary; do not turn a user's reported symptom into an agent-observed reproduction.
app:xcode-dev-loop — the build, test, install, launch, and screenshot
mechanics that steps 1, 2, and 5 run.core:visual-feedback — rendering-only diagnosis and interactive appearance
comparison; return build/runtime identity, state, storage, lifecycle or crash faults here.app:swift-testing — Swift Testing regression checks; use app:xcuitest
for UI automation and preserve existing non-UI XCTest conventions as above.app:swiftui-architecture — SwiftUI state and data-flow patterns for the
code under repair.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mintuz/skills --plugin app19 skills in this plugin
/app-intent-driven-developmentWHEN designing or debugging App Intent-first iOS features for Siri, Shortcuts, widgets, Live Activities, or reuse of an existing intent in SwiftUI; NOT for actions with no system surface; provides AppEntity, metadata, prompting, and view-reuse patterns./app-intents-whats-new-27New App Intents APIs, behaviors, and deprecations in iOS 26 and iOS 27 (and aligned OS releases). Use when adopting, migrating to, or asked about: supportedModes / IntentModes and the deprecated openAppWhenRun; continueInForeground; UndoableIntent; requestChoice; CancellableIntent; LongRunningIntent / performBackgroundTask; IntentExecutionTargets; SnippetIntent interactive snippets; Visual Intelligence with IntentValueQuery / SemanticContentDescriptor / @UnionValue; onscreen appEntityIdentifier; Spotlight with @ComputedProperty / @DeferredProperty(indexingKey:), IndexedEntityQuery, relatedAppEntityIdentifier; RelevantEntities; SyncableEntity / EntityOwnership; SystemShortcut / RunSystemShortcutIntent; EntityCollection; AppUnionValue; @AppIntent(schema:) schemas (replacing deprecated @AssistantIntent); AppIntentsTesting; or what's new in App Intents. For evergreen best practices, use the app-intents-specialist skill instead.Other plugins' skills for the same job