header-optimization

Installation
SKILL.md

Header File Optimization for ACE Engine

Optimize C++ header file compilation efficiency in ace_engine through systematic dependency reduction and implementation restructuring. This skill focuses on reducing compilation time and memory footprint by minimizing header dependencies and moving implementations out of headers.

When to Use This Skill

Invoke this skill when:

  • Optimizing specific header files for compilation efficiency
  • Working with test_header.cpp to analyze header dependencies
  • Reducing header file dependencies in ace_engine
  • Analyzing compilation performance of specific headers
  • User specifies "只分析不进行修改" (analysis only, no modifications)

Key Rules

Follow these critical constraints during optimization:

  1. Preserve business logic - Only modify structure, not functionality
  2. Minimize file creation - Edit current header/cpp directly, only create new files for header splitting scenarios
Related skills

More from openharmonyinsight/openharmony-skills

Installs
38
GitHub Stars
21
First Seen
Feb 13, 2026