·header-optimization
{}

header-optimization

当用户要求“优化头文件”、“减少头文件依赖”、“优化头文件”、“减少头文件依赖”、“分析编译效率”、“分析编译效率”或提到test_header.cpp分析时,应该使用这个技能。该技能通过系统重构来优化C++头文件编译效率。

17安装·1热度·@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-10

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