什么是 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