一键导入
uni20-cmake-dependency-triage
Diagnose and fix Uni20 dependency detection/configuration failures with minimal, reproducible CMake changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose and fix Uni20 dependency detection/configuration failures with minimal, reproducible CMake changes.
用 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.
Run a machine-agnostic Uni20 configure/build/test matrix by detecting available compilers and applying a minimal coverage strategy.
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-cmake-dependency-triage |
| description | Diagnose and fix Uni20 dependency detection/configuration failures with minimal, reproducible CMake changes. |
Use this skill when configure fails, a dependency is unexpectedly fetched, a system dependency is rejected, or dependency diagnostics look wrong.
Keep recommendations minimal and explicit. Prefer fixing root-cause configuration over adding one-off workarounds.
AGENTS.md, then .codex/instructions.local.md (if present).Use build-tree-local inspection first.
Replace <build-dir> with the affected local build tree.
cmake -N -LAH <build-dir> | rg "UNI20_(USE_SYSTEM|DETECTED|FETCHCONTENT|BLAS)|BLA_VENDOR|_DIR|_FOUND|_VERSION"
rg -n "UNI20_DETECTED_|System .* found|requires >=|Fetching from|BLA_VENDOR|BLAS" <build-dir>/CMakeCache.txt <build-dir>/CMakeFiles/CMakeOutput.log <build-dir>/CMakeFiles/CMakeError.log
If package lookup behavior is unclear, re-run configure with find diagnostics:
cmake -S . -B <build-dir> --debug-find
UNI20_USE_SYSTEM_<DEP> set to ON/OFF/AUTO opposite to intent.<dep>_DIR points to old build/fetch location.-DUNI20_USE_SYSTEM_<DEP>=AUTO-DUNI20_USE_SYSTEM_<DEP>=ON-DUNI20_USE_SYSTEM_<DEP>=OFFUNI20_BLAS_VENDOR and expected provider, then reconfigure.problem: concise symptom and failing dependencyevidence: relevant cache/log linesclassification: failure classfix: exact CMake flag or cache cleanup actionvalidation: configure result and any tests run