一键导入
install-port
Install a vcpkg port with overlay-ports and analyze build logs. Use when asked to install, test, or build a port.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install a vcpkg port with overlay-ports and analyze build logs. Use when asked to install, test, or build a port.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Detect OS/shell, validate vcpkg setup, and emit a combined environment report. Use when asked to check the environment, verify setup, or troubleshoot vcpkg configuration.
Check for upstream project updates and newer versions. Use when asked to check for updates, compare versions, or see if a port is outdated.
Create a new vcpkg port with portfile.cmake, vcpkg.json, and patches. Use when asked to create, add, or generate a new port for a project.
Review port files against vcpkg guidelines and best practices. Use when asked to review, validate, or check a port for correctness.
Search for existing vcpkg ports by name, GitHub URL, or keywords in the local registry and upstream microsoft/vcpkg repository. Use when asked to find, search, or check if a port exists.
Update an existing port to a newer upstream version with SHA512 calculation and testing. Use when asked to update, upgrade, or bump a port version.
| name | install-port |
| description | Install a vcpkg port with overlay-ports and analyze build logs. Use when asked to install, test, or build a port. |
Execute vcpkg port installation with overlay-ports, monitor build process, and analyze results (success or failure).
vcpkg install with correct overlay-ports configurationSupported Patterns:
openssl3, tensorflow-liteopencv4[opengl,ffmpeg]zlib-ng:x64-windows, cpuinfo:arm64-androidopenssl3 zlib-ng cpuinfoinstall openssl3 --editable (for development)ports/{port-name}/triplets/{triplet}.cmake exists (fallback: default host triplet)VCPKG_ROOT environment variablevcpkg versionvcpkg install --overlay-ports ./ports `
--x-buildtrees-root buildtrees `
--x-packages-root packages `
--x-install-root installed `
{port-name}
Or for Bash/Zsh:
vcpkg install --overlay-ports ./ports \
--x-buildtrees-root buildtrees \
--x-packages-root packages \
--x-install-root installed \
{port-name}
--overlay-triplets ./triplets --triplet {triplet} if custom triplet--editable if development modebuildtrees/{port-name}/config-{triplet}-out.logbuildtrees/{port-name}/install-{triplet}-out.logbuildtrees/{port-name}/build-{triplet}-out.logCMake Error, Could NOT finderror C2XXX, error: ...unresolved external symbol, undefined referencePackage ... is not installedpackages/{port-name}_*/ or installed/{triplet}/Output a markdown report with these headings (in order). Emit all headings even if empty (use None).
# Port Installation Report## Summary — Port specification, timestamp, mode, outcome (SUCCESS/FAILURE), duration## Command — Exact invocation in fenced block## Result — Status icon, dependencies built, features enabled## Artifacts — Headers, libraries, binaries (success only)## Usage — Usage file content or generic find_package snippet## Errors — Primary error type, first error line, count (failure only)## Diagnostics — Log files checked, highlighted patterns, missing dependencies## Recommendations — Actionable fixes (failure) or follow-up (success)## Next Steps — Ordered priority listCMake Error or Could NOT finderror C (MSVC) or error: (gcc/clang)unresolved external symbol / undefined reference... (+N more)