Garyson26/Trident-SecOps-Skills / skills/assembly-programming
assembly-programming
UnverifiedAssembly programming and low-level debugging skill for reading, writing, explaining, optimizing, and reviewing assembly across x86, x86-64, ARM, AArch64, RISC-V, calling conventions, ABI boundaries, inline assembly, disassembly, stack frames, registers, and binary-level behavior. Use for .s/.asm files, compiler output, reverse-engineering snippets, low-level performance, and crash analysis.
Assembly Programming
Operating Rules
- Identify architecture, bitness, syntax, ABI, OS, compiler, and optimization level before interpreting code.
- Track register meaning, stack layout, flags, memory aliases, and call clobbers explicitly.
- Prefer correctness and ABI compliance before micro-optimization.
- For security-sensitive code, call out memory safety, control-flow integrity, and undefined behavior risks.
Workflow
- Establish target platform and syntax: Intel vs AT&T, GNU as vs NASM/MASM, ARM vs AArch64, etc.
- Map inputs, outputs, preserved registers, stack alignment, and external calls.
- Translate blocks into pseudocode before proposing edits.
- For edits, preserve calling convention, unwind expectations, and toolchain constraints.
- Recommend verification with assembler, unit tests, debugger traces, or compiler-generated comparison.
Review Checklist
- Stack alignment is correct at calls.
- Caller-saved and callee-saved registers are handled correctly.
- Memory widths, sign extension, and endian assumptions are explicit.
- Branch conditions match the intended signed or unsigned comparison.
- Inline assembly constraints describe all inputs, outputs, clobbers, and memory effects.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 464k | Updated | Claude CodeCodex | Verified | Install |
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 464k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |