Llvm
LLVM IR and pass pipeline skill. Use when working directly with LLVM Intermediate Representation (IR), running opt passes, generating IR with llc, inspecting or writing LLVM IR for custom passes, or understanding how the LLVM backend lowers IR to assembly. Activates on queries about LLVM IR, opt, llc, llvm-dis, LLVM passes, IR transformations, or building LLVM-based tools.
Install
npx skills add mohitmishra786/low-level-dev-skills --skill llvmgit 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/compilers/llvm ~/.claude/skills/llvmPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# LLVM IR and Tooling ## Purpose Guide agents through LLVM as a **user**: generating and inspecting IR, running existing optimisation passes with `opt`, lowering to assembly with `llc`, and diagnosing missed optimisations. For **writing new LLVM passes** (PassPlugin, llvm-lit testing), use `skills/compiler-internals/llvm-passes` instead. ## Triggers - "Show me the LLVM IR for this function" - "How do I run an LLVM optimisation pass?" - "What does this LLVM IR instruction mean?" - "How do I write a custom LLVM pass?" - "Why isn't auto-vectorisation happening in LLVM?" ## Workflow ### 1. Generate LLVM IR ```bash # Emit textual IR (.ll) clang -O0 -emit-llvm -S src.c -o src.ll # Emit bitcode (.bc) clang -O2 -emit-llvm -c src.c -o src.bc # Disassemble bitcode to text llvm-dis src.bc -o src.ll ``` ### 2. Run optimisation passes with `opt` ```bash # Apply a specific pass opt -passes='mem2reg,instcombine,simplifycfg' src.ll -S -o out.ll # Standard optimisation pipelines opt -passes='default<O2>' src.ll -S -o out.ll opt -passes='default<O3>' src.ll -S -o out.ll # List available passes opt --print-passes 2>&1 | less # Print IR before and after a pass opt -passes='instcombine' --print-before=instcombine --print-after=instcombine src.ll -S -o out.ll 2>&1 | less ``` ### 3. Lower IR to assembly with `llc`
Details
- Skill name
llvm- Repository
- mohitmishra786/low-level-dev-skills
- Path
skills/compilers/llvm/SKILL.md- License
- MIT
- Repo updated
- 14 November 2026
FAQ
What does the Llvm skill do?
LLVM IR and pass pipeline skill. Use when working directly with LLVM Intermediate Representation (IR), running opt passes, generating IR with llc, inspecting or writing LLVM IR for custom passes, or understanding how the LLVM backend lowers IR to assembly. Activates on queries about LLVM IR, opt, llc, llvm-dis, LLVM passes, IR transformations, or building LLVM-based tools.
How do I install the Llvm skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add mohitmishra786/low-level-dev-skills --skill llvm. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Llvm popular?
It lives in mohitmishra786/low-level-dev-skills, which has 293 GitHub stars and 36 forks.
Related skills
Abi and Calling Conventions
293mohitmishra786/low-level-dev-skills
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.
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.
Llvm Passes
293mohitmishra786/low-level-dev-skills
LLVM passes skill for writing compiler optimizations. Use when writing FunctionPass or ModulePass, registering PassPlugins, running with opt, using analysis utilities, or testing with llvm-lit. Activates on queries about LLVM pass, PassPlugin, opt -passes, DominatorTree, llvm-lit, or New Pass Manager.
Linkedin Hook Generator
171aiskilloftheweek/claude-ai-skill-of-the-week
Generates 20 hook variants for LinkedIn posts with the goal of maximizing reader attention and engagement. Use this skill whenever the user provides a LinkedIn post and wants to improve its opening, rewrite its intro, or generate alternatives for the initial hook. Also trigger when the user asks for "LinkedIn hooks", "post opener", "first line of the post", "how to grab attention on LinkedIn", or provides a text and asks for opening variants. This skill is essential whenever working on LinkedIn content and aiming to increase its impact, reach, or impressions.
Mlir
293mohitmishra786/low-level-dev-skills
MLIR skill for multi-level intermediate representation. Use when writing custom dialects, defining ops with ODS, writing lowering passes, running mlir-opt, or building ML compilers with Torch-MLIR/IREE. Activates on queries about MLIR, dialect, ODS, mlir-opt, linalg, lowering pass, or Torch-MLIR.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.