一键导入
uni20-build-matrix
Run a machine-agnostic Uni20 configure/build/test matrix by detecting available compilers and applying a minimal coverage strategy.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run a machine-agnostic Uni20 configure/build/test matrix by detecting available compilers and applying a minimal coverage strategy.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review Uni20 changes for correctness, regressions, missing evidence, and architectural consistency.
Configure, build, and run tests for the Uni20 repository with project-specific conventions. Keep this skill machine-agnostic and defer local toolchain/path details to .codex/instructions.local.md when available.
Diagnose and fix Uni20 dependency detection/configuration failures with minimal, reproducible CMake changes.
Audit and normalize Uni20 Doxygen comments to AGENTS.md policy with minimal, scoped edits.
Keep Uni20 documentation aligned with current code behavior and API surface, with emphasis on async and developer-facing docs.
| name | uni20-build-matrix |
| description | Run a machine-agnostic Uni20 configure/build/test matrix by detecting available compilers and applying a minimal coverage strategy. |
Run a compact but meaningful build matrix without assuming specific compiler install paths.
This skill is for compatibility checks, regressions, and release confidence. Keep matrix size proportional to the request.
AGENTS.md, then .codex/instructions.local.md (if present).<build-root>/<cell-name>.Prefer local toolchain overrides if documented. Otherwise auto-detect:
for cxx in g++ g++-16 g++-14 g++-13 clang++ clang++-21 clang++-20 clang++-19; do
command -v "$cxx" >/dev/null && echo "$cxx"
done | awk '!seen[$0]++'
Reject Clang versions below the supported Clang 19 floor. Prefer GCC 13 as the compatibility baseline when it is available.
Debug).Release when performance/packaging concerns are in scope.UNI20_ENABLE_STACKTRACE=0 cell when async-debug/stacktrace behavior is relevant.CMAKE_INTERPROCEDURAL_OPTIMIZATION=ON cell for LTO validation.Baseline:
cmake -S . -B <build-root>/<cell-name> -DCMAKE_BUILD_TYPE=Debug
Compiler override:
cmake -S . -B <build-root>/<cell-name> \
-DCMAKE_C_COMPILER=<cc> \
-DCMAKE_CXX_COMPILER=<cxx> \
-DCMAKE_BUILD_TYPE=<Debug|Release>
Optional toggles:
-DUNI20_ENABLE_STACKTRACE=0-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ONcmake --build <build-root>/<cell-name>
ctest --test-dir <build-root>/<cell-name> --output-on-failure
For quick smoke checks, run targeted tests first, then full ctest if requested.
matrix: list of executed cells and optionsconfigure/build: pass/fail per celltests: pass/fail counts and failed test names per cellnotes: actionable follow-ups (cache cleanup, option conflict, compiler-specific failures)