Agent skill
code-review-asm-xtensa
Review Xtensa assembly code for ESP32 platforms. Checks for critical errors in inline assembly, ABI compliance, and optimization opportunities. Use after modifying ESP32 assembly or inline asm code.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/code-review-asm-xtensa
SKILL.md
Perform comprehensive manual review of Xtensa assembly code in FastLED ESP32 platforms for correctness, ABI compliance, safety, and performance.
What Gets Checked
Critical Errors (Must Fix)
- E001: Invalid
movifor 32-bit addresses - E002: Wrong return instruction in interrupts
- E003: Missing
memwmemory barriers for MMIO writes - E004: Windowed ABI used in interrupt handlers
- E005: Unaligned memory access
- E006: Missing
IRAM_ATTRon interrupt handlers - E007: Mixed ABI usage in same function
Performance Warnings
- W001-W005: Load-use hazards, loop overhead, nesting depth, register pressure, dependency chains
Optimization Opportunities
- O001-O004: Array indexing, conditional moves, loop unrolling, code density
Search for Xtensa assembly code in git changes (inline asm and .S files) and perform deep analysis.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?