Registry / arabelatso

arabelatso/skills-4-se/c-cpp-to-lean4-translator

Translate C or C++ programs into equivalent Lean4 code, preserving program semantics and ensuring the generated code is well-typed, executable, and can run successfully. Use when the user asks to convert C/C++ code to Lean4, port C/C++ programs to Lean4, translate imperative code to functional Lean4, or create Lean4 versions of C/C++ algorithms.

Agent skill · version 0.0.0-main.1794322164.g4f38503 · from ArabelaTso/Skills-4-SE

Install

npx yarkr-cli add skill:arabelatso/skills-4-se/c-cpp-to-lean4-translator

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:arabelatso/skills-4-se/c-cpp-to-lean4-translator
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:arabelatso/skills-4-se/c-cpp-to-lean4-translator

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:arabelatso/skills-4-se/c-cpp-to-lean4-translator

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.