什麼是 header-optimization?
當使用者要求「最佳化頭檔」、「減少頭檔依賴」、「最佳化頭檔」、「減少頭檔依賴」、「分析編譯效率」、「分析編譯效率」或提到test_header.cpp分析時,應該使用這個技能。此技能透過系統重構來優化C++頭檔編譯效率。 來源:openharmonyinsight/openharmony-skills。
當使用者要求「最佳化頭檔」、「減少頭檔依賴」、「最佳化頭檔」、「減少頭檔依賴」、「分析編譯效率」、「分析編譯效率」或提到test_header.cpp分析時,應該使用這個技能。此技能透過系統重構來優化C++頭檔編譯效率。
透過命令列快速安裝 header-optimization AI 技能到你的開發環境
來源:openharmonyinsight/openharmony-skills。
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-optimizationBrowse more skills from openharmonyinsight/openharmony-skills
當使用者要求「最佳化頭檔」、「減少頭檔依賴」、「最佳化頭檔」、「減少頭檔依賴」、「分析編譯效率」、「分析編譯效率」或提到test_header.cpp分析時,應該使用這個技能。此技能透過系統重構來優化C++頭檔編譯效率。 來源:openharmonyinsight/openharmony-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill header-optimization 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/openharmonyinsight/openharmony-skills