Agent skill
code-review-riscv
Review RISC-V assembly code for correctness, ABI compliance, and best practices. Use after modifying RISC-V 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-riscv
SKILL.md
Review RISC-V assembly code for correctness, adherence to conventions, and best practices.
The review covers 8 analysis categories:
- Instruction correctness: Valid syntax, proper operands, immediate ranges
- Register conventions: ABI compliance, saved vs temporary registers, stack alignment
- Memory access: Alignment requirements, sign extension, offset limits
- Control flow: Branches, jumps, function calls, returns
- CSR operations: Privilege level access, atomic semantics, field types
- Assembler directives: Sections, alignment, symbol visibility, data placement
- Common issues: Misalignment, stack corruption, clobbered registers, illegal immediates
- Platform-specific: RV32I vs RV64I, extensions (M/A/F/D/C), ABI variants
Search for RISC-V 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?