fix-ocaml-gc

Installation
SKILL.md

Fixing OCaml Garbage Collector Bugs

This skill provides guidance for diagnosing and fixing bugs in the OCaml garbage collector runtime, with emphasis on memory management issues in sweeping, allocation, and free-list handling code.

When to Use This Skill

  • Debugging segfaults or memory corruption in OCaml's C runtime
  • Fixing bugs in the GC's sweeping or allocation logic
  • Working with size-classed memory pools and free block management
  • Investigating pointer arithmetic issues in memory managers
  • Analyzing run-length encoded free lists

Environment Setup

Establish Context First

Before making any changes:

  1. Check repository type: Verify if the project is a git repository before running git commands
Related skills

More from letta-ai/skills

Installs
34
Repository
letta-ai/skills
GitHub Stars
97
First Seen
Jan 24, 2026