Bfd debug orchestrator

From Sonder4/STM32-BFD-Kit · View interactive version

Bfd debug orchestrator is an AI agent skill from the GitHub repository Sonder4/STM32-BFD-Kit. Use when running end-to-end STM32 debug campaigns that coordinate flash, RTT, register capture, HardFault snapshots, and error archival across multiple tools.

How to use this skill

Skill file

BFD Debug Orchestrator

Self-Improvement Loop (Required)

Use this skill to coordinate multi-step debug campaigns with profile-driven device settings.

Execution Order

  1. bfd-project-init
  2. bfd-flash-programmer
  3. bfd-rtt-logger
  4. bfd-debug-interface
  5. bfd-debug-executor
  6. bfd-register-capture
  7. bfd-fault-logger

Core Commands

# 0) Bootstrap profile (required)
python3 ./.claude/skills/bfd-project-init/scripts/bootstrap.py --project-root . --mode check
# Full fault campaign
./.claude/skills/bfd-debug-orchestrator/scripts/run_fault_campaign.sh
# Inject one scenario
./.claude/skills/bfd-debug-orchestrator/scripts/inject_fault_scenario.sh --scenario 3
# Capture one HardFault snapshot
./.claude/skills/bfd-debug-orchestrator/scripts/capture_hardfault_snapshot.sh
# Manual quick RTT capture without reset (attach-only, for soft fault 1/2)
./build_tools/jlink/rtt.sh logs/rtt/manual_quick.log 4 --mode quick
# Manual dual RTT capture after recovery reset/go
./build_tools/jlink/rtt.sh logs/rtt/manual_dual.log 6 --mode dual --reset-policy gdb-reset-go

Scenario Set

RTT Mode Semantics

Hard Rules

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.