This agentic workflow coordinates nine specialist skills to diagnose bugs, crashes, and panics in the ATLAS ESP32-S3 project. It prescribes evidence-based reproduction, hardware-aware investigation, surgical fixes, regression checks, build validation, and a final change audit. Context7 documentation lookup is auxiliary and is used only after reproducing the defect and isolating an external API failure.
70%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Failed to scan
The risk profile of this skill
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/debug/SKILL.md/debug — ATLAS Defect Diagnosis & Resolution WorkflowUse this orchestrator for defect investigation, bug fixing, crash diagnosis, and panic resolution in the ATLAS firmware project (D:\Atlas).
This workflow coordinates nine specialist skills to isolate root causes with tight feedback loops and apply minimal, technically justified fixes.
You MUST explicitly load and apply the following nine specialist skills:
diagnosing-bugs: Rigorous diagnostic loops, red-capable reproduction signals, hypothesis testing, and isolation of root causes before editing.codebase-design: Identification of seam boundaries, interface contracts, error modes, and state invariants.domain-modeling: Truthful terminology, verification of documented behavior vs reality, and constraint alignment.improve-codebase-architecture: Identifying structural friction, leaking state, or shallow abstractions causing faults.karpathy-guidelines: Surgical fixes touching only what is required, simplicity first, avoiding speculative refactors during a bugfix.ponytail: Root cause over symptom; smallest change that resolves the defect; no new abstractions for a bug fix.ponytail-audit: Verification that fixes do not introduce dead code, bloat, or complexity creep.slopmonster: Clean documentation of the defect and fix without AI boilerplate.context7: Authoritative documentation and error lookup via ctx7 library and ctx7 docs:
setup-matt-pocock-skills: DO NOT ACTIVATE.Embedded debugging on the ESP32-S3 requires hardware-truthful analysis:
xTaskCreateWithCaps or xTaskCreate).MALLOC_CAP_DMA).TWDT or Interrupt Watchdog IWDT) caused by non-yielding CPU-bound loops.atlas_pins.h).NEVER:
#pragma or cast hacks./debug Execution Workflowdocs/ARCHITECTURE.md, docs/OTA_AND_LAUNCH_AUDIT.md, AGENTS.md, and applicable ECC rules in .agents/rules/ (notably code-review checklist and C++ security/testing hooks).MEPC, EXCVADDR), ESP-IDF panic logs, or symptom descriptions. Redact credentials/tokens if present.diagnosing-bugs): an automated build command (pio run), a targeted test, or a deterministic reproduction script that reliably goes red.npx ctx7@latest library <name> "<query>" to locate the authoritative docs.npx ctx7@latest docs <libraryId> "<function/error>" to review documented return codes (esp_err_t), precondition asserts, and parameter validation.pio run to verify clean compilation with zero warnings.Reyansh-Niranjan/Atlas
9e504b0
piopio runnpxnpx ctx7@latestnpx ctx7@latest librarynpx ctx7@latest docsPlatformIOContext7If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.