Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

embedded-review

bởi ylongw

Coding Agents & IDEs
199Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Embedded/firmware code review with memory safety, interrupt, and hardware checklists.

Mô tả

Kỹ năng này làm gì

Code review agent for embedded and firmware projects. Runs Claude Code and Codex independently against the same diff via ACP, then cross-compares findings to surface issues either model alone would miss. Covers memory safety, interrupt hazards, RTOS pitfalls, hardware interface bugs, and C/C++ anti-patterns across bare-metal MCU, FreeRTOS, Zephyr, ThreadX, and Linux embedded targets.

Running two independent models against the same diff and cross-comparing their findings catches blind spots that any single model or human reviewer would miss.

Khi nào nên dùng

  • Reviewing a FreeRTOS patch before merging to a release branch
  • Catching ISR race conditions in NFC firmware changes
  • Auditing DMA buffer handling in a new MCU driver
  • Checking a GitHub PR for a bare-metal bootloader update
  • Finding undefined behavior in C firmware before a production build

Quy trình ví dụ

ĐẦU VÀO

User asks: /embedded-review ~/Documents/dec/firmware-pro2 HEAD~5..HEAD

AGENT
  1. 1

    Runs prepare-diff.sh to extract the git diff, MCU/RTOS target info, and changed file stats

  2. 2

    Assesses diff size and detects critical paths (ISR, DMA, NFC) to select dual-model mode

  3. 3

    Spawns parallel ACP sessions for Claude Code and Codex with independent review prompts

  4. 4

    Cross-compares findings, classifying each as consensus, Claude-only, Codex-only, or contradicting

  5. 5

    Outputs structured P0-P3 severity report and prompts user to choose a next-steps action

ĐẦU RA

Structured review report with severity-ranked findings, a cross-review analysis table showing consensus vs. model-specific catches, and a menu to fix all, fix P0/P1 only, or target specific issues

Cài đặt

clawhub install ylongw/embedded-review

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết