compile-analysis

Official

Speed up ACE Engine compilation with analysis.

Authoropenharmony
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps software teams identify and quantify why ACE Engine files take longer to compile, consume excessive memory, or pull in deep header chains, enabling targeted optimizations.

Core Features & Use Cases

  • Analyze compile time, memory usage, and dependency depth for individual source files.
  • Generate reusable, standalone compile scripts for repeatable performance testing.
  • Visualize header dependencies by parsing .ii files produced during analysis.
  • Validate changes by comparing before/after compilation metrics and dependency trees.

Quick Start

  • Run full analysis: ./ .claude/skills/compile-analysis/scripts/analyze_compile.sh <source-file> <product-name>
  • Save enhanced (standalone) script: ./ .claude/skills/compile-analysis/scripts/analyze_compile.sh <source-file> <product-name> --save-script
  • Inspect the generated script in out/<product-name>/compile_single_file_<name>.sh and execute it from within out/<product-name>: cd out/<product-name> && bash compile_single_file_<name>.sh

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: compile-analysis
Download link: https://github.com/openharmony/arkui_ace_engine/archive/main.zip#compile-analysis

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.