code-review-riscv
OfficialAudit RISC-V assembly for correctness and ABI.
AuthorFastLED
Version1.0.0
Installs0
System Documentation
What problem does it solve?
RISC-V code reviews to ensure correctness, ABI adherence, and best practices after changes to assembly or inline asm code.
Core Features & Use Cases
- Instruction correctness: verify syntax, operands, and immediate ranges.
- Register conventions: ABI compliance, saved vs temporary registers, stack alignment.
- Memory access: alignment, sign extension, and offset limits.
- Control flow: branches, calls, and returns.
- CSR operations: privilege levels, atomicity, and field types.
- Assembler directives: sections, alignment, symbol visibility, and data placement.
- Common issues: misalignment, stack corruption, clobbered registers, and illegal immediates.
- Platform-specific: RV32I vs RV64I, extensions (M/A/F/D/C), and ABI variants.
Quick Start
Review the provided RISC-V assembly patch to verify correctness and ABI conformance.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-review-riscv Download link: https://github.com/FastLED/FastLED/archive/main.zip#code-review-riscv Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.