fix-ocaml-gc

Community

Debug OCaml garbage collector bugs.

AuthorZurybr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to diagnosing and resolving complex bugs within the OCaml garbage collector, particularly those affecting memory management and runtime stability.

Core Features & Use Cases

  • Systematic Debugging: Guides users through build system analysis, crash diagnostics, and code investigation for GC-related issues.
  • Root Cause Identification: Helps pinpoint memory corruption, pointer arithmetic errors, and issues in sweeping, marking, or pool management.
  • Use Case: When OCaml compilation crashes with segmentation faults during bootstrap, this Skill offers a step-by-step process to analyze the OCaml runtime's C code and identify the faulty GC logic.

Quick Start

Use the fix-ocaml-gc skill to debug a segmentation fault during OCaml bootstrap by analyzing the runtime/shared_heap.c file.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fix-ocaml-gc
Download link: https://github.com/Zurybr/lefarma-skills/archive/main.zip#fix-ocaml-gc

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.