evaluate-new-port
Skill28k starsChanged 2 months agoMITView on GitHub
Audit a vcpkg port locally. Reads the port metadata and build recipe, installs the port, inspects extracted sources and installed files, and produces a report covering license risks, vendored code, optional dependencies, and other port review suggestions.
Trending
Quiet this year.about the whole repository
Who's talking about microsoft/vcpkg
- openssl/openssl“CMake build system”GitHub · Jan 20, 2020 · 55 reactions
- ocornut/imgui“OpenGL backend now embeds its own GL loader (imgui_impl_opengl3_loader.h)”GitHub · Aug 19, 2021 · 22 reactions
- mixxxdj/mixxx“Epic: HTDemucs ONNX Offline Integration”GitHub · Oct 15, 2025 · 18 reactions
- gtk-rs/gtk3-rs“gtk-rs on Windows with MSVC should be possible with zero attrition ”GitHub · Sep 12, 2018 · 17 reactions
- microsoft/vcpkg-tool“manifest install: Cache compiler information for change detection”GitHub · Feb 17, 2022 · 15 reactions
The biggest 5 of 32 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 32
Talked about on GitHub, Hacker News and Bluesky (32 times).
On GitHub · 25
- Jan 20, 2020CMake build system — openssl/openssl55 reactions · 61 comments
- Aug 19, 2021OpenGL backend now embeds its own GL loader (imgui_impl_opengl3_loader.h) — ocornut/imgui22 reactions · 24 comments
- Oct 15, 2025Epic: HTDemucs ONNX Offline Integration — mixxxdj/mixxx18 reactions · 2 comments
- Sep 12, 2018gtk-rs on Windows with MSVC should be possible with zero attrition — gtk-rs/gtk3-rs17 reactions · 33 comments
- Feb 17, 2022manifest install: Cache compiler information for change detection — microsoft/vcpkg-tool15 reactions · 32 comments
20 more on GitHub
- Feb 5, 2022[Package Request]: vcpkg — microsoft/winget-pkgs14 reactions · 12 comments
- Mar 7, 2024feat(sql) Adding support for Sqlite database encryption + Other pragma (journal, read only...) + In memory database — tauri-apps/plugins-workspace13 reactions · 5 comments
- Jul 3, 20202026.0a release — mosra/magnum13 reactions · 9 comments
- Jan 1, 20202020.06 release — mosra/magnum13 reactions · 7 comments
- May 13, 2024Binary Cache: Add write-back support — microsoft/vcpkg-tool12 reactions · 3 comments
- Oct 19, 2017Visual Studio build configuration for Bitcoin Core — bitcoin/bitcoin12 reactions · 74 comments
- Sep 28, 2016vcpkg (Microsoft VC++ Packaging Tool) — appveyor/ci12 reactions · 29 comments
- Nov 3, 2024Build failures in Fedora 41 x86_64 — LadybirdBrowser/ladybird11 reactions · 15 comments
- Oct 17, 2024Add license reporting and "vcpkg license-report" command. — microsoft/vcpkg-tool10 reactions · 2 comments
- Oct 8, 2019vcpkg 2019.10 (new formula) — Homebrew/homebrew-core10 reactions · 8 comments
- Apr 28, 2023Upload the package zip in chunks for GHA — microsoft/vcpkg-tool9 reactions · 19 comments
- Jan 22, 2023Improve command line diagnostics, and make the parser testable. — microsoft/vcpkg-tool9 reactions · 13 comments
- Mar 8, 2023Feature: file cache: max size — microsoft/vcpkg-tool8 reactions · 4 comments
- May 8, 2017Header ordering conflicts with Boost libraries — microsoft/cpprestsdk8 reactions · 9 comments
- Nov 9, 2022Add `x-test-features` and `format-feature-baseline` — microsoft/vcpkg-tool7 reactions · 20 comments
- Aug 21, 2021`vcpkg install` Auto update sha512 — microsoft/vcpkg-tool7 reactions · 15 comments
- Aug 13, 2025windows: add build option to use the native CA store — curl/curl6 reactions · 32 comments
- Apr 22, 2022Don't fail on non-existant already installed ports. — microsoft/vcpkg-tool6 reactions · 13 comments
- Oct 30, 2021Always unset CLICOLOR_FORCE — microsoft/vcpkg-tool6 reactions · 1 comment
- Jun 10, 2021[cmake] Export cmake configure files — wxWidgets/wxWidgets6 reactions · 25 comments
On Hacker News · 6
- Apr 27, 2019Vcpkg – C++ Library Manager for Windows, Linux, and macOS2 points
- Nov 7, 2018Vcpkg – C++ Library Manager for Windows, Linux, and MacOS2 points
- Sep 17, 2020Vcpkg: C++ Library Manager for Windows, Linux, and macOS1 point
- Nov 8, 2018Microsoft/vcpkg – C++ Library Manager for Windows, Linux, and MacOS1 point
- Mar 28, 2017VC++ Packaging Tool1 point
1 more on Hacker News
- Sep 30, 2016VC++ Packaging Tool1 point
On Bluesky · 1
- Jan 11, 2025📦 microsoft / vcpkg ⭐ 23,706 (+22) 🗒 CMake C++ Library Manager for Windows, Linux, and MacOS — @github-trending.bsky.social2 likes and reposts
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-ci-failuresSkill
- code-reviewSkill
- fetch-vcpkg-ci-logsSkill
- fix-reviewed-vcpkg-prSkill
- review-vcpkg-prSkill
- review-vcpkg-prs-todaySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 13 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Real build output: after vcpkg x-ci-clean and vcpkg install {port-name}
- Distinctive: line 27
If the install reports that the port is unsupported on the current platform or triplet, stop there and recommend a more appropriate …
- Very specific: line 61
Run the repository-local vcpkg executable from the repository root:
- Distinctive: line 73
Do not skip this step. The audit should be based on a fresh source extraction and package install.
- Distinctive: line 77
Run a normal install of the requested port:
- Distinctive: line 101
If the install succeeds, continue.
- Very specific: line 113
Use the package directory that was created by the install you just ran.
- Distinctive: line 115
If multiple matching directories exist, prefer the one whose timestamp matches the current install output.
- Distinctive: line 123
Look for signs of bundled third-party code, such as directories or files named:
- Very specific: line 139
check whether the same dependency is already modeled in vcpkg.json
- Distinctive: line 144
Look for optional integrations that are present upstream but not clearly controlled in packaging.
- Very specific: line 170
Treat explicit "license": null as intentional metadata meaning "no SPDX expression is provided here.
- Distinctive: line 178
Do not assume every extra notice is a bug.
- Distinctive: line 192
Only report suggestions supported by evidence from the files or the install result.
- Very specific: line 210
If there are no findings for a section, write None found instead of omitting the section.
- Distinctive: line 218
Run from the repository root
- Distinctive: line 219
Prefer repository-local paths in all findings
- Distinctive: line 220
Do not continue source/package inspection after an unsupported install result
- Distinctive: line 222
Keep the final report focused on actionable review feedback rather than restating raw command output
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Evaluate New Port
When to Use
- Reviewing a newly added or substantially updated port
- Auditing whether a port's declared license metadata matches what it installs
- Checking for vendored third-party code or optional dependencies that are not modeled in
vcpkg.json - Looking for packaging or review issues after a real local install
Overview
This skill takes a single port name, reads the port's metadata and build recipe, performs a clean local install, and writes a structured audit report. The audit focuses on:
- Declared license metadata from
ports/{port-name}/vcpkg.json, including feature-scoped declarations - Build invocation and feature toggles from
ports/{port-name}/portfile.cmake - Real build output after
vcpkg x-ci-cleanandvcpkg install {port-name} - Extracted source tree under
buildtrees/{port-name}/src - Installed package contents under
packages/{port-name}_{target-triplet} - Code review suggestions for the port's packaging logic and metadata
If the install reports that the port is unsupported on the current platform or triplet, stop there and recommend a more appropriate platform instead of continuing the audit.
Required Inputs
- A valid port name present under
ports/{port-name}
Detailed Workflow
Step 1: Read the Port Metadata
Open these files first:
ports/{port-name}/vcpkg.jsonports/{port-name}/portfile.cmake
Extract at least the following:
From vcpkg.json:
- top-level
license, if present - any feature-scoped
licensedeclarations, including explicitnull homepagefeaturesdependenciessupports, if present
From portfile.cmake:
- The primary build helper used (
vcpkg_cmake_configure,vcpkg_configure_make,vcpkg_cmake_build, Meson helpers, rawcmake, etc.) - Feature-to-build-option mappings
- Explicit enable/disable flags for optional upstream components
- Any platform guards, fatal errors, or unsupported conditions
- Any bundling, patching, or file-pruning logic relevant to installed content
Step 2: Clean the Local Working State
Run the repository-local vcpkg executable from the repository root:
Windows:
.\vcpkg.exe x-ci-cleanLinux/macOS:
./vcpkg x-ci-cleanDo not skip this step. The audit should be based on a fresh source extraction and package install.
Step 3: Install the Port
Run a normal install of the requested port:
Windows:
.\vcpkg.exe install {port-name}Linux/macOS:
./vcpkg install {port-name}Capture the output. If it contains an unsupported-platform message, stop the workflow and report:
- That the current platform cannot evaluate this port meaningfully
- The reason quoted from the install output or
portfile.cmake - A suggested alternate platform, chosen from evidence in
supports, platform guards, or fatal-error text
Common examples:
only supports Windows→ suggest Windowsonly supports Linux→ suggest Linuxonly supports x64 and x86 Windows→ suggest an x64 Windows hostBuilding for {TARGET_TRIPLET} on {HOST_TRIPLET} is unsupported→ suggest the native target platform instead of cross-building
If the install succeeds, continue.
If the install hit a binary cache and you need to rerun the port to force a local rebuild for inspection, remove and reinstall the affected port directly rather than running x-ci-clean followed by install --no-binarycaching. That preserves cache hits for unedited dependencies while still rebuilding the port under review.
Step 4: Determine the Installed Triplet Directory
Find the installed package directory under:
packages/{port-name}_{target-triplet}Use the package directory that was created by the install you just ran. The triplet is normally the system default target triplet (for example x64-windows, arm64-windows, or x64-linux).
If multiple matching directories exist, prefer the one whose timestamp matches the current install output. Record the chosen triplet in the report.
Step 5: Audit the Extracted Source Tree
Inspect buildtrees/{port-name}/src and identify the extracted source directory or directories for the current build. Review them for vendoring and undeclared optional dependencies.
5a. Vendored Dependencies
Look for signs of bundled third-party code, such as directories or files named:
third_partythird-partyvendorvendorsexternexternaldepsdependenciessubprojects- nested copies of well-known libraries
For each candidate:
- identify the bundled project if possible
- determine whether it is built or installed
- check whether the same dependency is already modeled in
vcpkg.json - note whether the portfile patches it out, replaces it with a vcpkg dependency, or leaves it vendored
5b. Optional Dependencies Not Explicitly Controlled
Look for optional integrations that are present upstream but not clearly controlled in packaging. Sources of evidence include:
find_package(...)pkg_check_modules(...)option(...)WITH_*,ENABLE_*,USE_*,BUILD_*- Meson
featureordependency(...) - Autotools
--with-*/--enable-*
Flag an issue when an optional dependency:
- appears in upstream build logic,
- is not declared in
vcpkg.json, and - is not explicitly enabled or disabled by
portfile.cmake
The point is to find dependencies that may be auto-detected from the host environment, leading to non-reproducible builds.
Step 6: Audit Installed Content Against the Declared License Metadata
Inspect the package contents under packages/{port-name}_{target-triplet}. Focus on:
share/{port-name}/copyright- installed license files
- headers, sources, examples, tools, or assets originating from bundled third-party code
- any embedded notices for code under additional licenses
Treat explicit "license": null as intentional metadata meaning "no SPDX expression is provided here; inspect the installed copyright file." Do not report that case as missing metadata by itself.
Flag content when:
- the installed files include third-party components under licenses not covered by the declared license metadata,
- multiple upstream licenses appear to require a more precise SPDX expression,
- or the package installs bundled code whose license is absent from the declared metadata and copyright file
Do not assume every extra notice is a bug. Record the evidence and explain whether it appears compatible, incomplete, or suspicious.
Step 7: Review the Portfile for Packaging Suggestions
While auditing ports/{port-name}/portfile.cmake, look for common review items such as:
- missing explicit disable flags for tests, docs, examples, benchmarks, or tools
- optional dependencies that should be feature-gated
- vendored libraries that could be replaced with vcpkg dependencies
- install steps that might ship unnecessary files
- missing cleanup of debug-only or duplicate artifacts
- support restrictions that should move into
supportsinvcpkg.json - license metadata that is too broad or incomplete after considering top-level and feature-scoped declarations
Only report suggestions supported by evidence from the files or the install result.
Output Requirements
Generate a markdown report with these sections:
- Port Summary
- Declared Metadata
- Build Invocation Summary
- Install Result
- Vendored Dependencies
- Optional Dependency Risks
- License / Installed Content Findings
- Other Port Review Suggestions
- Recommended Follow-ups
Be specific. Cite file paths and brief snippets when they support a finding.
If there are no findings for a section, write None found instead of omitting the section.
Suggested Report Template
See references/report-template.md.
Execution Notes
- Run from the repository root
- Prefer repository-local paths in all findings
- Do not continue source/package inspection after an unsupported install result
- Base conclusions on the actual installed package directory created by this run
- Keep the final report focused on actionable review feedback rather than restating raw command output
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

