一键导入
build-optimization
Optimizes build times using Ninja, ccache, and Precompiled Headers (PCH). Use when adding new targets or heavy dependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimizes build times using Ninja, ccache, and Precompiled Headers (PCH). Use when adding new targets or heavy dependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Defines C++20, CMake, and MySQL standards for cross-platform support. Use to ensure compatibility across Windows, Linux, and macOS.
Global project mandates for Firelands Next. Use as the default baseline for all work.
Global project mandates for Firelands Next. Use as the default baseline for all work.
Enforces Hexagonal Architecture (Ports and Adapters) to isolate domain logic from infrastructure. Use when adding new features, services, or repository implementations.
Manages task delegation to specialized virtual agents (Auth, World, DB, Core). Use for complex tasks spanning multiple domains.
Ensures all code, comments, and git history use consistent English and technical nomenclature. Use whenever writing code, adding comments, or preparing commit messages.
| name | build-optimization |
| description | Optimizes build times using Ninja, ccache, and Precompiled Headers (PCH). Use when adding new targets or heavy dependencies. |
To maintain a fast development cycle, the build system is optimized for speed and efficiency. All modifications should respect these optimization patterns.
ccache is installed on your system. CMake is configured to automatically detect and use it to cache object files.cmake -G Ninja) instead of Make for faster orchestration and better parallelism.${PROJECT_PCH_HEADERS} or ${TEST_PCH_HEADERS} using target_precompile_headers.-DENABLE_UNITY_BUILD=ON/OFF.src/, always update its CMakeLists.txt to include:
target_precompile_headers(<target_name> PRIVATE ${PROJECT_PCH_HEADERS})