·header-optimization
{}

header-optimization

當使用者要求「最佳化頭檔」、「減少頭檔依賴」、「最佳化頭檔」、「減少頭檔依賴」、「分析編譯效率」、「分析編譯效率」或提到test_header.cpp分析時,應該使用這個技能。此技能透過系統重構來優化C++頭檔編譯效率。

18安裝·2熱度·@openharmonyinsight

安裝

$npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill header-optimization

如何安裝 header-optimization

透過命令列快速安裝 header-optimization AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill header-optimization
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:openharmonyinsight/openharmony-skills。

SKILL.md

查看原文

Optimize C++ header file compilation efficiency in aceengine 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.

Objective: Move all method implementations longer than 3 lines from header to cpp file.

Exception: Simple getters/setters that are one-liners typically remain in headers for performance.

當使用者要求「最佳化頭檔」、「減少頭檔依賴」、「最佳化頭檔」、「減少頭檔依賴」、「分析編譯效率」、「分析編譯效率」或提到test_header.cpp分析時,應該使用這個技能。此技能透過系統重構來優化C++頭檔編譯效率。 來源:openharmonyinsight/openharmony-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill header-optimization
分類
{}資料分析
認證
收錄時間
2026-02-25
更新時間
2026-03-11

Browse more skills from openharmonyinsight/openharmony-skills

快速解答

什麼是 header-optimization?

當使用者要求「最佳化頭檔」、「減少頭檔依賴」、「最佳化頭檔」、「減少頭檔依賴」、「分析編譯效率」、「分析編譯效率」或提到test_header.cpp分析時,應該使用這個技能。此技能透過系統重構來優化C++頭檔編譯效率。 來源:openharmonyinsight/openharmony-skills。

如何安裝 header-optimization?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill header-optimization 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/openharmonyinsight/openharmony-skills