dynamic-memory-analyzer

Official

Catch ace_engine memory leaks fast.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you detect and explain dynamic memory management issues (especially new/delete and ownership mistakes) in the ace_engine codebase, reducing the risk of leaks, double deletes, and unsafe lifetime handling.

Core Features & Use Cases

  • Comprehensive dynamic analysis for 17 leak scenarios covering pairing mismatches, smart-pointer misuse, exception safety gaps, ownership transfer problems, container pointer cleanup, singleton/callback/multithread patterns, cross-layer lifecycle issues, and return-path leaks.
  • Pattern-driven detection guidance using stored reference rules to find probable issues quickly and consistently.
  • Actionable reporting structure with severity levels and fix recommendations to turn findings into a remediation plan.

Use Case Example: When reviewing a recent ace_engine change that introduced early returns or callback-based cleanup, run this Skill to identify whether the new/delete pairing and ownership semantics are correct across all paths.

Quick Start

Use this skill to analyze memory management in the ace_engine frameworks code by providing the target directory and asking it to generate a categorized memory management report.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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: dynamic-memory-analyzer
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#dynamic-memory-analyzer

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 471,000+ vetted skills library on demand.