Abi and Calling Conventions
ABI and calling conventions skill for cross-language boundaries. Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Activates on queries about calling convention, ABI, System V AMD64, AAPCS, stack frame, variadic function, or FFI registers.
Install
npx skills add mohitmishra786/low-level-dev-skills --skill abi-and-calling-conventionsgit clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git /tmp/low-level-dev-skills
mkdir -p ~/.claude/skills
cp -r /tmp/low-level-dev-skills/skills/computer-architecture/abi-and-calling-conventions ~/.claude/skills/abi-and-calling-conventionsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# ABI and Calling Conventions ## Purpose Document application binary interface (ABI) rules: register roles, stack alignment, argument passing, return values, and variadic conventions across System V AMD64, ARM AAPCS, and RISC-V — essential for assembly, FFI, and debugging. ## When to Use - Writing assembly thunks or inline asm clobbers - Debugging corrupted stack in mixed C/asm - FFI between Rust/C/Zig (`skills/rust/rust-ffi`, `skills/zig/zig-cinterop`) - Reading disassembly from `skills/debuggers/gdb` ## Workflow ### 1. System V AMD64 (Linux/macOS) | Item | Rule | |------|------| | Integer args | `rdi, rsi, rdx, rcx, r8, r9` | | XMM args | `xmm0`–`xmm7` (float) | | Return int/ptr | `rax` (+ `rdx` for 128-bit) | | Stack alignment | 16-byte before `call` | | Red zone | 128 bytes below `rsp` (Linux) | | Callee-saved | `rbx, rbp, r12–r15` | ```c /* void foo(int a, int b, int c, int d, int e, int f, int g); */ /* a–f in regs, g on stack */ ``` Windows x64 differs — see `skills/compilers/msvc-cl`. ### 2. ARM AAPCS (AArch32/AArch64) **AArch64:** | Item | Rule | |------|------| | Integer args | `x0`–`x7` | | Float args | `v0`–`v7` | | Return | `x0`/`x1` or `v0` | | Stack align | 16-byte | | Callee-saved | `x19`–`x28`, `fp` (`x29`), `lr` (`x30`) | Thumb interworking: LSB of function pointer set for Thumb code. See `skills/low-level-programming/assembly-arm`. ### 3. RISC-V psABI (RV64) | Item | Rule | |------|------| | Integer args | `a0`–`a7` |
Details
- Skill name
abi-and-calling-conventions- Repository
- mohitmishra786/low-level-dev-skills
- Path
skills/computer-architecture/abi-and-calling-conventions/SKILL.md- License
- MIT
- Repo updated
- 14 November 2026
FAQ
What does the Abi and Calling Conventions skill do?
ABI and calling conventions skill for cross-language boundaries. Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Activates on queries about calling convention, ABI, System V AMD64, AAPCS, stack frame, variadic function, or FFI registers.
How do I install the Abi and Calling Conventions skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add mohitmishra786/low-level-dev-skills --skill abi-and-calling-conventions. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Abi and Calling Conventions popular?
It lives in mohitmishra786/low-level-dev-skills, which has 293 GitHub stars and 36 forks.
Related skills
Adc Dac Baremetal
293mohitmishra786/low-level-dev-skills
Bare-metal ADC and DAC skill. Use when configuring analog sampling, DMA-driven ADC, calibration, or DAC output on MCUs. Activates on queries about ADC bare-metal, sampling time, DMA ADC, or DAC channel setup.
Af Xdp
293mohitmishra786/low-level-dev-skills
AF_XDP skill for high-performance XDP sockets. Use when creating AF_XDP sockets, configuring UMEM and XSK rings, XDP_REDIRECT programs, copy vs zero-copy mode, or comparing with DPDK. Activates on queries about AF_XDP, xsk_umem, XDP_REDIRECT, libbpf xsk, or zero-copy XDP.
Apple Silicon
293mohitmishra786/low-level-dev-skills
Apple Silicon skill for M-series development and profiling. Use when leveraging unified memory, Metal Performance Shaders, Instruments profiling, sysctl hardware queries, Rosetta 2 behavior, or 16KB page size considerations. Activates on queries about Apple Silicon, unified memory, AMX, MPS, Instruments, Rosetta, or M-series page size.
Specx Settings
198maksimzayats/specx
Add runtime configuration to specx Python services with `pydantic-settings`. Use when creating settings classes, environment variables, `.env.example`, injecting settings at delivery, infrastructure, or composition edges, documenting config, mapping configuration into typed core policy collaborators, or removing direct environment reads from core code.
Arm Sve
293mohitmishra786/low-level-dev-skills
ARM SVE skill for scalable vector extension programming. Use when writing SVE intrinsics, predicate registers, VLA loops with svcnt, auto-vectorization with -march=armv9-a+sve2, or debugging SVE in GDB. Activates on queries about SVE, SVE2, predicate registers, svld1, svcnt, arm_sve.h, or Graviton SVE.
Specx Project Structure
198maksimzayats/specx
Create or reshape a Python FastAPI service repo into the specx clean core/delivery architecture using packaged scoped foundation bases. Use when starting an API backend, adding the first src package, or establishing `AGENTS.md`, `core/`, optional local `foundation/`, `delivery/`, infrastructure, `ioc/`, migrations, and tests.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.