一键导入
review-port
Review port files against vcpkg guidelines and best practices. Use when asked to review, validate, or check a port for correctness.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review port files against vcpkg guidelines and best practices. Use when asked to review, validate, or check a port for correctness.
用 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.
Install a vcpkg port with overlay-ports and analyze build logs. Use when asked to install, test, or build a port.
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 | review-port |
| description | Review port files against vcpkg guidelines and best practices. Use when asked to review, validate, or check a port for correctness. |
Validate port files (vcpkg.json, portfile.cmake, patches, usage) against vcpkg contribution guidelines and registry best practices.
Supported Patterns:
openssl3, tensorflow-litereview ports/openssl3review openssl3 zlib-ng cpuinfoports/{port-name}/vcpkg.jsonports/{port-name}/**/*vcpkg.json, portfile.cmake, *.patch, usage, copyright, CMakeLists.txt, othersdocs/review-checklist.mdname, version, descriptionhomepage, license, supports"host" platformvcpkg_from_github/vcpkg_from_gitlab/vcpkg_download_distfileREF uses ${VERSION} variable, SHA512 is 128 hex chars (lowercase), HEAD_REF specifiedvcpkg_cmake_configure, vcpkg_cmake_install, vcpkg_cmake_config_fixupdebug/include and debug/sharevcpkg_install_copyright(FILE_LIST ...)vcpkg_fixup_cmake_targets(), vcpkg_copy_pdbs()PATCHES argument present, patch files existusage file (recommended if port provides CMake config)CMakeLists.txt (experimental, document rationale)versions/baseline.json for port entryversions/{first-letter}-/{port-name}.json for version historyOutput a markdown report with these headings (in order). Emit all headings even if empty (use None).
# Port Review Report## Summary — Port name, date, overall result (PASS/PASS (experimental)/FAIL)## File Inventory — Each file with ✅/⚠️/❌ status## vcpkg.json Validation — Required fields, optional fields, version format, dependencies, features## portfile.cmake Validation — Source acquisition, build helpers, installation cleanup, patches, copyright, deprecated usage## Additional Files — usage file, embedded CMakeLists.txt, patch files, unnecessary files## Baseline Check — Baseline entry, version history file, latest version match## Issues Summary — Critical issues (must fix) and Warnings (recommended)## Recommendations — High-level improvement suggestions## Next Steps — Based on PASS/FAIL statusIf multiple ports requested, produce one consolidated document with ## Port: <name> blocks.