code-review-asm-xtensa

Review Xtensa assembly in ESP32 FastLED code for correctness and ABI compliance.

7.5k|1.8k|Updated Nov 10, 2013
One-click install
npx skills add https://github.com/FastLED/FastLED --skill code-review-asm-xtensa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-asm-xtensa
Source: https://github.com/FastLED/FastLED/tree/main/.claude/skills/code-review-asm-xtensa
Command: npx skills add https://github.com/FastLED/FastLED --skill code-review-asm-xtensa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers identify and fix errors in Xtensa assembly code used on ESP32 platforms within FastLED projects, ensuring correctness, ABI compatibility, safety, and performance.

Core Features & Use Cases

  • Manual review of Xtensa assembly code in ESP32 targets for correctness and ABI compliance.
  • Identify critical errors, alignment, and performance issues in inline assembly and .S files.
  • Provide actionable recommendations to improve reliability and efficiency in ESP32 paths.

Quick Start

Review the most recently modified Xtensa assembly sections in the ESP32 portion of the FastLED project and report any critical issues, ABI problems, and potential optimizations.

Frequently Asked Questions about code-review-asm-xtensa

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Xtensa assembly code for ESP32 correctness and ABI compliance?

Reviewing Xtensa assembly for ESP32 requires checking inline asm and .S files against ABI rules and safety constraints. The review identifies critical errors and provides actionable code changes and recommendations to fix issues and optimize critical paths.

What is the best way to optimize Xtensa inline assembly in ESP32 projects?

Optimizing Xtensa inline assembly in ESP32 projects requires a thorough manual review of critical paths to identify performance bottlenecks and alignment issues. The review yields actionable recommendations and code changes to improve efficiency and reliability.

Can I use automated assembly review for ESP32 .S files in FastLED integrations?

Reviewing ESP32 .S files in FastLED integrations involves a detailed manual review process focusing on correctness, ABI compliance, and safety. It identifies critical errors and alignment issues, providing actionable recommendations to improve reliability.

Why does my Xtensa inline asm fail ABI compliance checks on ESP32?

Xtensa inline asm ABI compliance failures on ESP32 often stem from incorrect register usage or calling convention violations. A thorough assembly review identifies these critical errors and provides code changes to fix ABI problems and ensure safety.

When do I need a manual Xtensa assembly review for ESP32 embedded code?

A manual Xtensa assembly review for ESP32 embedded code is needed when optimizing critical paths or ensuring ABI compliance in inline asm and .S files. It identifies errors and alignment issues, providing actionable recommendations to improve reliability.

What are common safety and alignment issues in Xtensa assembly for ESP32?

Common safety and alignment issues in Xtensa assembly for ESP32 include critical errors in inline asm and .S files that violate ABI compliance. A thorough review identifies these problems and provides actionable code changes to fix them and optimize performance.