microsoft/vscode-cmake-tools/validation-project
Claude Code and agent skill by microsoft/vscode-cmake-tools
- vendor
Checking that the SKILL.md file is still in the repository.
Creates a validation project for testing a specific vscode-cmake-tools pull request. Use this skill when asked to create a validation project, test a PR, validate a pull request, or set up a PR validation environment. The skill creates a structured project directory with documentation, metadata, and checklists for systematically validating PR changes.
Install
npx vskill@latest install microsoft/vscode-cmake-tools/validation-projectSKILL.md
The same SKILL.md was published earlier as microsoft/vscode-cmake-tools/validation-project.
Create Validation Project
You are a validation engineer. Your job is to create a well-structured validation project that helps systematically test a specific GitHub pull request against the microsoft/vscode-cmake-tools repository.
Workflow
Step 1: Gather PR Information
When the user provides a PR reference (e.g., #123, a PR URL, or microsoft/vscode-cmake-tools#123), use the GitHub MCP server tools to fetch:
- PR title, body/description, and state
- Changed files list (via
get_files) - Head branch, base branch, and head commit SHA
- Whether the PR is from a fork (compare
head.repo.full_namevsbase.repo.full_name) - PR labels and linked issues (if any)
If no repository is specified and the context is ambiguous, default to microsoft/vscode-cmake-tools.
Step 1b: Fetch Linked Issues
If the PR description or body references issues (e.g., Fixes #698, Closes #100, or bare #NNN mentions), fetch each linked issue using the GitHub MCP server tools (issue_read → get). Linked issues are a critical source of:
- Repro steps: The issue often contains more detailed, user-reported repro steps than the PR description. These should be the primary source for structuring the validation project's test flow and manual checklist — the validation project should mirror the issue's repro scenario as closely as possible.
- Environment details: The issue may specify platform (Windows-only, Linux-only), required tools, or specific project structures needed to trigger the bug.
- Expected vs. actual behavior: Use the issue's expected/actual description to define pass/fail criteria in the checklist.
- Screenshots or logs: These help understand what the user saw and what the fix should change.
When an issue provides repro steps, prefer its scenario over inventing a new one. For example, if an issue says "open a multi-root workspace with presets," the validation project should replicate that structure — not use a simplified single-folder project that may not trigger the same code path.
Step 2: Create Project Directory
Create the validation project inside the validation-projects directory (default: C:\Users\<user directory>\validation-projects).
The validation project directory is the test project — all test project files (CMakeLists.txt, CMakePresets.json, source files, .vscode/settings.json, etc.) live directly in the project root alongside the validation metadata files (validation.json, manual-checklist.md).
Directory naming convention:
- Format:
vscode-cmake-tools-pr-{number}-{short-slug} - Example:
vscode-cmake-tools-pr-456-fix-preset-reload-loop - Rules:
- Lowercase everything
- Sanitize special characters (replace non-alphanumeric with hyphens)
- Cap the slug portion at 40 characters
- Remove trailing hyphens
- If the directory already exists, ask the user whether to overwrite or create a suffixed version
Step 3: Generate validation.json
Create a validation.json metadata file in the project root with this structure:
Valid status values: planned, in_progress, passed, failed, obsolete. This can be used for personal tracking.
Step 4: Generate README.md
Create a comprehensive README.md with these sections:
Important rules for README generation:
- If repro steps are not clear from the PR, say so explicitly and mark sections with
<!-- TODO: fill in -->comments - Link back to the PR and any linked issues
- Be specific — don't write generic testing advice; tailor everything to this PR's actual changes
- When the PR touches shared logic, note whether testing should cover both presets mode and kits/variants mode, and both single-config and multi-config generators
Step 5: Generate manual-checklist.md
Create a manual-checklist.md with actionable test steps. Each test step must include two expected-result lines — one for when the PR build is loaded (the fix/feature is active) and one for when it is NOT loaded (baseline/release build). This lets the validator confirm the bug exists on baseline AND confirm the fix resolves it on the PR build, which is the gold standard for validating a PR.
Formatting rules for expected results:
- Use 🟢 for the PR build line and 🔴 for the baseline line in Core Validation and Edge Cases (where behavior should differ).
- Use 🟢 for the PR build line and ⚪ for the baseline line in Regression Checks (where behavior should be identical).
- If a test step only makes sense with the PR build (e.g., testing a brand-new feature that has no baseline equivalent), use only the 🟢 line and note that the feature doesn't exist on baseline.
- Be specific about the observable difference — don't just say "works" vs "doesn't work". Describe what the user will actually see (error messages, UI state, output values, etc.).
Step 6: Generate test project files
Place all test project files directly in the validation project root — do not create a nested test-project\ subdirectory. The validation project directory itself is the project the user opens in VS Code to test. Validation metadata files (validation.json, manual-checklist.md) coexist alongside the test project files in the same directory.
The test project is not about building the CMake Tools extension itself — assume the user already has a working PR build (VSIX or dev host). The test project is a target CMake project that exercises the behavior the PR changes.
What to generate
Create the simplest CMake project that triggers the behavior under test. Every test project must include:
- `CMakeLists.txt` — A minimal CMake project. Set
cmake_minimum_requiredandproject()appropriately. Add targets (executables, libraries) only as needed to trigger the behavior under test.
- `CMakePresets.json` — Preferred for configuring the project (generator, build directory, cache variables, environment). Use presets unless the PR specifically tests kits/variants mode behavior.
- Source files (if the project needs to build) — Keep them trivial (e.g., hello-world
main.cpp). The source code is scaffolding; the CMake configuration is what matters.
- `.vscode/settings.json` — Include when:
- The PR changes behavior related to
cmake.*VS Code settings - You need to set
"cmake.useCMakePresets": "always"(when usingCMakePresets.json) - You need to set
"cmake.useCMakePresets": "never"(when testing kits/variants mode) - You need to configure specific
cmake.*settings that trigger the behavior under test
Include comments explaining what each setting does and what to expect before vs. after the fix.
- Additional config files as needed — e.g.,
CMakeUserPresets.json(for user-preset testing),.vscode/tasks.json(for task provider testing), toolchain files, orCTestTestfile.cmake— only if the PR specifically involves that type of configuration.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 8 Jun 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/validation-project/SKILL.md
Popularity
- Repository stars
- 1,680
- Repository forks
- 526
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 13 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/vscode-cmake-tools/validation-project)