type: skill
module: core
capabilities:
  - name: xiaoma-heap-dump-analysis
    menu-code: HDA
    description: "Find the true root cause of a JVM memory leak from a .hprof heap dump — class histogram, reverse-reference GC-root tracing, optional Eclipse MAT cross-validation, and precise collection/field measurement. Use when you have an OOM / heap dump and need to know which collection retains the leaked objects and why."
    supports-headless: true
    input: a JVM heap dump (.hprof)
    args: optional suspected class name
    output: root-cause memory-leak report located next to the dump
    config-vars-used: null
    phase: anytime
    before: []
    after: []
    is-required: false
