From embedded-target
Drive the on-device debug loop against a remote embedded target — reproducible (native/injected/replayed) or instrument-and-wait (irreducible environment dependence). Use when debugging behavior that only appears on-device, where the limiting resource is occurrences of the triggering condition.
How this skill is triggered — by the user, by Claude, or both
Slash command
/embedded-target:embedded-loopThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execution is the success signal: a fix is done when a checked-in repro passes on-device, never when the diff looks right. For environment-dependent bugs the scarce resource is not execution time but **occurrences** of the triggering condition — extract maximum information per occurrence (capture-first) and synthesize the condition where possible (fault injection).
Execution is the success signal: a fix is done when a checked-in repro passes on-device, never when the diff looks right. For environment-dependent bugs the scarce resource is not execution time but occurrences of the triggering condition — extract maximum information per occurrence (capture-first) and synthesize the condition where possible (fault injection).
Pick the loop shape:
hypothesis → edit → harness/loop.sh <repro> → analyze → iterate.
Gates:
repros/issue-N.sh fails reliably under harness/loop.sh. A plausible patch with no failing on-device repro is a guess.faults/) or trace replay to create the condition.hypothesis → add targeted instrumentation that will confirm or kill it → deploy → wait for a watcher-harvested occurrence (or physically trigger) → analyze the bundle → narrow.
Wall-clock per cycle is long (there may be one or two occurrences per day), so every deployed instrumentation round must be hypothesis-driven, never shotgun logging. The capture-first standing rule applies: the response to any occurrence — lab or field — is harvest, then investigate. No occurrence is ever spent un-mined.
harness/device-reset.sh restores known state. Agent-driven runs on a stateful device drift (leftover processes, half-deployed binaries); without reset-before-run you chase residue from your own previous attempts.
npx claudepluginhub destenson/agent-workflows --plugin embedded-targetGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.